Re: Windows: How to support 2 chip in a single driver?



> Thanks for reply. If I have to support 2 different PCI chip in a
> driver, I have to add the ID information in INF file, am I right?

Correct. For all of your supported hardware models. Even by different vendors.

> If so, how many times does DriverEntry get called? Twice?

Once at binary load.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com


.



Relevant Pages

  • Re: CD/DVD drive errors and lost ticks
    ... Try and pass ide=noprobe option to the kernel boot command line and see if that makes a difference first - may be that will allow the SATA/PATA drivers to claim the CDROM before IDE sees it. ... # ACPI Support ... # PCI Hotplug Support ... # Generic Driver Options ...
    (Linux-Kernel)
  • OPL3SA2: spin_is_locked on uninitialized spinlock
    ... I've found a lot of errors like this when loading the OPL3SA2 sound ... driver on my old Intel AL440LX computer, ... compile the kernel. ... # ACPI Support ...
    (Linux-Kernel)
  • Re: Fw: crash on x86_64 - mm related?
    ... # General setup ... # ACPI Support ... # Generic Driver Options ...
    (Linux-Kernel)
  • PCMCIA WLAN card initialization error
    ... attach the card to one of the empty PCI slots. ... the driver needs updating to supported shared IRQ lines. ... Enabling unmasked SIMD FPU exception support... ...
    (Linux-Kernel)
  • Re: isa0060/serio0 problems -WAS- Re: Asus MB and 2.6.12 Problems
    ... Use a HIGHMEM enabled kernel. ... Linux Plug and Play Support v0.97 Adam Belay ... Non-volatile memory driver v1.2 ... ehci_hcd 0000:00:13.2: new USB bus registered, ...
    (Linux-Kernel)