Instead of using IoReportResourceForDetection create a PnP driver with KMDF
for the device and use a LogConfig section in the INX file to specify the
resources. I’ve supported a lot of ISA cards since PnP came about and
never used IoReportResourceForDetection.
Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@t-online.de
Sent: Thursday, July 25, 2013 8:39 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Legacy ISA card: Code samples for
IoReportResourceForDetection() ?
Hi,
I’m in progress of writing a 64bit KMDF driver for a very old ISA card.
This card has no PnP, just a few DIP switches for I/O address and IRQ line:
1980’s style!
So I started to work with IoReportResourceForDetection() and
IoReportDetectedDevice().
At the moment, IoReportResourceForDetection() crashes, because I do not
submit a correct PDO for the device.
I think mapping the IRQ line is the problem.
And I use the “list-per-device” call style, not the
“single-list-per-driver”.
But before posting more precise questions, I’d like to study some sample
code.
Can anyone give me a hint?
Thanks,
Joerg
NTDEV is sponsored by OSR
Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
OSR is HIRING!! See http://www.osr.com/careers
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer