From: Maxim S. Shatskih on 9 Aug 2010 11:55 > Basically shall i continue my driver development with some KMDF based > PCI driver samples for both xp and win 7? Yes, just do not touch the config space and remember that ISA interrupts are Latched and not LevelSensitive. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: dsrking on 10 Aug 2010 10:01 Hi to all thanks for your valuable inputs. i have loaded the driver for my ISA device with IO mapped and able to get base address. I have one doubt regarding this, Shall I directly access the base address from .inf file ( IoConfig=40(a)300-33f%ff00(3ff::) ) and proceed read/write without any special API conversion like, "MmMapIoSpace"? Is it right or we should use this type conversion!!! Thanks in advance. Regards, D.
From: Maxim S. Shatskih on 10 Aug 2010 10:20 > special API conversion like, "MmMapIoSpace"? MmMapIoSpace is for memory-mapped IO, not for IO ports. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: dsrking on 10 Aug 2010 11:49 So i can directly access bass address from .inf file IoConfig region? thanks, D.
From: Maxim S. Shatskih on 10 Aug 2010 14:53 > So i can directly access bass address from .inf file IoConfig region? No. To be proper, you should leave the PnP installer (which interprets your INF) to put these config values to some PnP registry. Then your driver will get MJ_START_DEVICE with ..AllocatedResourcesTranslated, where you will see your port numbers. Save them to the devext and then use READ/WRITE_PORT_UCHAR/USHORT to access the hardware. This is the proper way. But yes, it will be the same address :-) -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: DevCon - Status Finds, Disable Doesn't.? Next: DTM Client Specifications for WLK |