> 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
http://www.storagecraft.com