Multi: ..\PCI\Instance\<device name>

windows ce

    Next

  • 1. Strada FMD driver takes a long time to load on first time boot.
  • 2. Debugging the Boot-loader Eboot using JTAG
    Hello All, I wanted to know a couple of things about debugging the Boot-loader Eboot for Windows CE. I have a JTAG probe from Green Hills for downloading the image to the target. For debugging the boot-loader what else do I need besides the JTAG probe ? If anyone could explain the process of debugging the boot-loader on the target platform using JTAG it would be a great help !!! Thanks and regards, WindowsCE_Developer.
  • 3. internet access through emulator
    hi, can i access internet from my emulator.what settings need to be changed.i am getting some telshel.exe error. kindly help Thanxs,
  • 4. how to set power stats of generic power-managed devices?
    Dear all: I created a generic power-managed device in my CE4.2 platform.It works fine with CE's default Pm. I want this device enter D4 when system enter useridle(D1),how to set it? I had tried this [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{A32942B7-920C-486b-B0E6-92A702A99B35}\DEVICENAME] "Default"=dword:4 ; D4 but it seems not work,any idea? regards xiang

Multi: ..\PCI\Instance\<device name>

Postby SW5jaHVs » Wed, 22 Sep 2004 16:49:01 GMT

Hi all,

I am developing OX16PCI954(4 channel PCI Serial Device).
Now, Only ONE channel is attached. Because, Only ONE 
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Instance\OX16PCI9541] is created.
So, I tried to create FOUR INSTANCE as the following.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\OX16PCI954_1]
   "DeviceArrayIndex"=dword:0
   "Dll"="OX16PCI954.dll"
   "Class"=dword:07
   "SubClass"=dword:00
   "ProgIF"=dword:06
   "VendorID"=multi_sz:"1415"
   "DeviceID"=multi_sz:"9501"
   "Prefix"="COM"
   "IsrDll"="giisr.dll"
   "IsrHandler"="ISRHandler"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\OX16PCI954_2]
   "DeviceArrayIndex"=dword:1
   "Dll"="OX16PCI954.dll"
   "Class"=dword:07
   "SubClass"=dword:00
   "ProgIF"=dword:06
   "VendorID"=multi_sz:"1415"
   "DeviceID"=multi_sz:"9501"
   "Prefix"="COM"
   "IsrDll"="giisr.dll"
   "IsrHandler"="ISRHandler"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\OX16PCI954_3]
   "DeviceArrayIndex"=dword:2
   "Dll"="OX16PCI954.dll"
   "Class"=dword:07
   "SubClass"=dword:00
   "ProgIF"=dword:06
   "VendorID"=multi_sz:"1415"
   "DeviceID"=multi_sz:"9501"
   "Prefix"="COM"
   "IsrDll"="giisr.dll"
   "IsrHandler"="ISRHandler"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\OX16PCI954_4]
   "DeviceArrayIndex"=dword:3
   "Dll"="OX16PCI954.dll"
   "Class"=dword:07
   "SubClass"=dword:00
   "ProgIF"=dword:06
   "VendorID"=multi_sz:"1415"
   "DeviceID"=multi_sz:"9501"
   "Prefix"="COM"
   "IsrDll"="giisr.dll"
   "IsrHandler"="ISRHandler"

But, the result is that only one instance is created.

Q) How can I create four instance as one device driver?


Re: Multi: ..\PCI\Instance\<device name>

Postby K. S. Huang » Wed, 22 Sep 2004 18:27:08 GMT

Because the OX16PCI954 only have ONE device function on the PCI bus.
So the PCI Bus driver (pcibus.dll) always think that there is only one
device function, so it alway initail one instance!!

My suggestion is instead of activating the OX16PCI954.dll directly, you
could write a pre-loader  dirver.
The pre-laoder driver is setting in template registry and activated by the
pcibus.dll
then the pre-loader will do the real job to activate the OX16PCI954.dll.

you may refer to the ATAPI driver that using such kind of skill.

"Inchul" < XXXX@XXXXX.COM > 
: XXXX@XXXXX.COM ...




Return to windows ce

 

Who is online

Users browsing this forum: No registered users and 26 guest