PCI driver

I have to write driver for a PCI output device Which ,I think,doesn’t come under any of the known classes provided by the wdm.So to write a monolithic driver for windows 98 which type of functions should I use to access the configuration registers and assign
resources for the device.When I used Hal functions directly I could able to compile the driver but when I am loading it,the SoftIce shows page fault.Or can I use the functions like PCIReadConfig ? But I am not sure whether it’s exported PCI bus driver or or a known class’s device class driver.But I am sure if I am using these routines I can able to compile it.But the same thing will happen.Any idea why ?

waiting for the help


Chat with your friends as soon as they come online. Get Rediff Bol at

Participate in crazy auctions at http://auctions.rediff.com/auctions/