Re: PCI driver gets loaded too many times
From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 12/17/04
- Next message: David Liao \(MS\): "Re: PCI driver gets loaded too many times"
- Previous message: WinCE_Newbie_at_no_email.com: "How do I redirect debug messages to the serial port? (debugging 91c96 lan ISR routines on pxa255, PB 4.2)"
- In reply to: sajid: "Re: PCI driver gets loaded too many times"
- Next in thread: Raymond Rogers: "Re: PCI driver gets loaded too many times"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Dec 2004 14:25:00 -0800
The GUIDO is random generated by software. However Windows CE use GUID to
identify a class of driver or one specific purpose driver. If you put ICLASS
in registry and this registry is used by ActivateDeviceEx, I will
automatically advertise this driver's interface for you.
Please refer Windows 5.0 documentation for detail info.
David Liao
"sajid" <sajid@discussions.microsoft.com> wrote in message
news:%23cZQFq%234EHA.1400@TK2MSFTNGP11.phx.gbl...
> Hi David,
>
> What does the GUIDs in the "IClass" registry say ?
> What is the significance of "IClass" registry ?
> I have observed this in few drivers' registry.
>
> For example, in pcibus registry the following is found:
> "IClass"=multi_sz:"{CD149194-286F-4095-9694-D70E6AB867C3}=%b","{6F40791D-300
> E-44E4-BC38-E0E63CA8375C}=%b"
>
> What does the GUIDs starting with CD149... & 6F407... say ?
> What if we exclude these from the registry.
>
> regards
> sajid
>
>
> "David Liao (MS)" <davli@online.microsoft.com> wrote in message
> news:%23ilJMV94EHA.208@TK2MSFTNGP12.phx.gbl...
>> Yes. Add "VenderID" and DeviceID".
>> Here is example for TI PC Card bridge.
>> [$(PCI_BUS_ROOT)\Template\PCC_TIPCCARD]
>> "Dll"="pcc_tipccard.dll"
>> "Order"=dword:3
>> "Class"=dword:06
>> "SubClass"=dword:07
>> "ProgIF"=dword:0
>> "VendorID"=multi_sz:"104c","104c","104c","104c","1180"
>> "DeviceID"=multi_sz:"ac19","ac1c","ac55","ac56","0476"
>> "IsrDll"="giisr.dll"
>> "IsrHandler"="ISRHandler"
>> "ConfigEntry"="PCIBus_Config"
>> "ConfigDll"="pcc_tipccard.dll"
>> "MemWindowSize"=dword:400000
>> "IoWindowSize"= dword:400
>> "PCCARDDLL"="pcc_serv.dll"
>> "RegPowerOption"=dword:1
>>
> "IClass"=multi_sz:"{57430CF2-A260-4c9b-8F5C-FEF89217FE7C}=%b","{35CE81FB-678
> 8-46ec-87D0-B54D96410C09}=%b"
>>
>>
>> "Raymond Rogers" <Raymond.Rogers@gmail.com> wrote in message
>> news:41C22500.9060308@gmail.com...
>> > I'm writing a device driver for a specific PCI-PCI bridge. The problem
>> > that I'm running into is that there are more than one PCI-PCI bridge
>> > devices in my system and none of the other bridges have their own
>> > device
>> > drivers. So, when the PCI Class and SubClass match on my driver it
>> > gets
>> > loaded again. Is there anyway that I can specify that the VendorID and
>> > DeviceID *MUST* match before my driver gets loaded? Or is there a
> better
>> > way to configure this one bridge when the system boots?
>> >
>> > --Raymond
>>
>>
>
>
- Next message: David Liao \(MS\): "Re: PCI driver gets loaded too many times"
- Previous message: WinCE_Newbie_at_no_email.com: "How do I redirect debug messages to the serial port? (debugging 91c96 lan ISR routines on pxa255, PB 4.2)"
- In reply to: sajid: "Re: PCI driver gets loaded too many times"
- Next in thread: Raymond Rogers: "Re: PCI driver gets loaded too many times"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|