Walter
Thu Feb 05 05:20:57 CST 2004
JRoss wrote:
> I have to write a driver for a PCI device, but I have some problem I
> can't understand: when loading the driver I got an IRP_MN_START_DEVICE
> with Parameters.StartDevice.AllocatedResources and
> Parameters.StartDevice.AllocatedResourcesTranslated set to NULL, whilst
> I expect to have some IO range and a Memory Range.
> How can I obtain those resource ?
Did you possibly install this driver by hand? I.e., did you launch the
Add Hardware wizard and then force the system to install this driver? If
you did, you would have created a root-enumerated device that doesn't
have any resources.
The correct way to install any driver for a PnP device like a PCI card
is to boot the system with the card installed. The system will then
prompt you for the location of the driver.
--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at
http://www.oneysoft.com