Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: Non Plug & Play ISA Driver support in Windows XP and Windows 7 ?

Reply
Thread Tools Display Modes

Re: Non Plug & Play ISA Driver support in Windows XP and Windows 7 ?

 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      08-09-2010
> I need to write a driver for Non Plug & Play ISA supported CAN

I think PnP ISA drivers are the same as non-PnP ones, the difference is in INF file and installation only.

The INF for non-PnP must list the possible port IO ranges in LogConfig, the device is installed manually in Add New Hardware+select from list, and there the admin must choose the port IO ranges from the ones in LogConfig.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      08-09-2010
> 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

http://www.storagecraft.com

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      08-10-2010
> special API conversion like, "MmMapIoSpace"?

MmMapIoSpace is for memory-mapped IO, not for IO ports.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      08-10-2010
> 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

 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      08-11-2010
> It will affect the interrupt handler routine in my driver or i need to
> change any settings in interrupt handler routines.


Register your interrupt as Latched.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
 
James M. Evans
Guest
Posts: n/a

 
      08-31-2010
Good Morning, I am receiving Microsoft internal emails on my home computer,
Why?


On 8/9/10 11:55 AM, in article #, "Maxim
S. Shatskih" <> wrote:

>> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Windows Media Player 12 Daniel Windows Vista General Discussion 32 04-01-2010 11:25 AM
Windows Vista-Ready Products LPH Windows Vista General Discussion 2 01-13-2010 01:48 PM
Re: Disable Windows Firewall Lanwench [MVP - Exchange] Windows Small Business Server 7 01-06-2010 11:45 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Trouble with driver on Windows Vista Beta 2 sujatha Windows Vista Installation 0 06-08-2006 06:44 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59