Tech Support > Microsoft Windows > Drivers > Resources assignment
Resources assignment
Posted by Rodrigo Zimbron on December 11th, 2003


Hi!,

I have a couple of questions:

The device for which I'm writting a wdm driver has I/O
ports, memory ranges, DMA and IRQs. So I've been writing
a basic driver (just to read a port).

1. My first doubt is: If I only write in my start device
routine that I have I/O port resources, could be a
problem? I mean by just ignoring the other resorces, could
a problem arise?

2. When the PnP manager sends me a filter resource
requirements irp, does that mean that there is no
information about the resources "inside" my device? Or is
because of my driver??

Thanx

Posted by Mark Roddy on December 11th, 2003


On Thu, 11 Dec 2003 03:12:30 -0800, "Rodrigo Zimbron"
<rodzimbron@stopspam.hotmail.com> wrote:

Your interrupt resource is problematic. If your device ever generates
an interrupt, and if it is a PCI style device (level interrupts) your
system may be toast. You should always implement an ISR for your
interrupt resources.

Neither. This is always sent and can be generally ignored (using the
'ignoring' rules for the specific pnp IRP or verifier will have a
fit.)




=====================
Mark Roddy
Windows XP/2000/NT Consulting, Microsoft DDK MVP
Hollis Technology Solutions 603-321-1032
www.hollistech.com
markr@hollistech.com
For Windows Device Driver Training: see www.azius.com

Posted by John Muczynski on December 16th, 2003


I was wrong, PCI boards can have ports.


Similar Posts