From: dsrking on
Hi,

I need to write a driver for Non Plug & Play ISA supported CAN
Controller in Windows XP and 7. From net and wdk, i got some
information and i have some doubts on it.

1. Windows 7 supports Non Plug & Play ISA driver? I got this doubt
from the below link,
"http://www.microsoft.com/whdc/connect/pci/isa-bus.mspx".

2. portio sample in WDK (WDF based driver) is enough for my
requirement. (especially for windows 7)? But there is no support for
interrupt handler. Is it possible to add interrupt handler from some
other pci driver? and also it does not mention any vendor/device id in
genport.inf file. For my device, it is possible to add this Id portion
to .inf file.

3. "WinDDK\7600.16385.1\src\general\amcc5933" sample is well suited
for my requirement? This is for only IO based. I want to access Memory
based driver. Is it also possible to add this support from some other
pci driver.
This driver is loaded as virtual one (i.e., using ADD hardware
wizard). How this .inf file gets loaded for my device (i.e., for
specific vendor/device ID) even though it is loaded as virtual driver?

Awaiting for your response.

Best Regards,
Dsrking.

From: Don Burn on
Your driver will need to be plug and play even if the device is not.
Starting with XP old NT style drivers became problematical on real
hardware.

Personally, I would not use either sample you list below, but instead
develop a KMDF driver for your device. Since your device does not
really support plug and play, KMDF will handle all the work in that
area. Since KMDF also simplifies the rest of the driver you will speed
your development.


Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr



> -----Original Message-----
> From: dsrking [mailto:dsrking2006(a)gmail.com]
> Posted At: Monday, August 09, 2010 9:00 AM
> Posted To: microsoft.public.development.device.drivers
> Conversation: Non Plug & Play ISA Driver support in Windows XP and
Windows 7 ?
> Subject: Non Plug & Play ISA Driver support in Windows XP and Windows
7 ?
>
> Hi,
>
> I need to write a driver for Non Plug & Play ISA supported CAN
Controller in
> Windows XP and 7. From net and wdk, i got some information and i have
some
> doubts on it.
>
> 1. Windows 7 supports Non Plug & Play ISA driver? I got this doubt
from the
> below link, "http://www.microsoft.com/whdc/connect/pci/isa-bus.mspx".
>
> 2. portio sample in WDK (WDF based driver) is enough for my
requirement.
> (especially for windows 7)? But there is no support for interrupt
handler. Is
> it possible to add interrupt handler from some other pci driver? and
also it
> does not mention any vendor/device id in genport.inf file. For my
device, it
> is possible to add this Id portion to .inf file.
>
> 3. "WinDDK\7600.16385.1\src\general\amcc5933" sample is well suited
for my
> requirement? This is for only IO based. I want to access Memory based
driver.
> Is it also possible to add this support from some other pci driver.
> This driver is loaded as virtual one (i.e., using ADD hardware
wizard). How
> this .inf file gets loaded for my device (i.e., for specific
vendor/device ID)
> even though it is loaded as virtual driver?
>
> Awaiting for your response.
>
> Best Regards,
> Dsrking.
>
>
> __________ Information from ESET Smart Security, version of virus
signature
> database 5351 (20100809) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>

From: Maxim S. Shatskih on
> 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
maxim(a)storagecraft.com
http://www.storagecraft.com

From: dsrking on
Thanks Don & maxim,

Could you please answer my first question,

"
1. Windows 7 supports Non Plug & Play ISA driver? I got this doubt
from the below link,
"http://www.microsoft.com/whdc/connect/pci/isa-bus.mspx".

"

Regards - D.
From: dsrking on
Thanks Don & maxim,

could you please answer my first question,

"1. Windows 7 supports Non Plug & Play ISA driver? I got this doubt
from the below link,
"http://www.microsoft.com/whdc/connect/pci/isa-bus.mspx". "

Thanks for your great support.

Regards,
dsrking.