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

  • [GIT]: Networking
    ... maintainer making a lot of changes to driver FOO. ... support for networking. ... iwl3945: Fix iwl3945 rate scaling. ... Fix build warning due to typo in %pI4 format changes. ...
    (Linux-Kernel)
  • [GIT]: Networking
    ... RFKILL rewrite from Johannes Berg. ... IPV6 stateless autoconfig support for ISATAP, ... fix led bug when SW rfkill ... Add watchdog functionality to hfcmulti driver ...
    (Linux-Kernel)
  • 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)