Re: Access to the ISA Bus from a driver for a PCI dev ice

It would have been quite simple to expose a spinlock-protected access to PCI
space, no ? Some people do need low level access, and it’s up to the
operating system to find a way of granting that access. I find it a terrible
idea to restrict kernel developers to only call API entry points - a
driver’s lower edge should be able talk to the iron whenever deemed
necessary by the developer.

Alberto.

-----Original Message-----
From: Phil Barila [mailto:xxxxx@Seagate.com]
Sent: Thursday, June 12, 2003 11:26 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Access to the ISA Bus from a driver for a PCI
device

“Sam Tertzakian” wrote in message
news:xxxxx@ntdev…
>
> No, there is no function driver for the device. I cannot believe that
> something that I have done for years is not possible now! I cannot just
> write a normal function driver because I must access the device during
> ISRs and DPC of my PCI device.

Just because you could do it for years, doesn’t mean it was a good idea. UM
apps could do anything they wanted to any hardware they wanted back in the
“Good Old Days” of DOS. You want to return to those thrilling days?

> There should be a way to do the work of the HalAssignSlotResources()
> function using some other mechanism, right…I just need some kind of
> handle to the ISA bus, I think.

Stop thinking in DOS. Write your ISA device function driver, just make sure
it can be called at elevated IRQLs. Send your IRP_MN_QUERY_INTERFACE to the
ISA driver from your PCI device driver, and then call that interface
directly.

Phil

Philip D. Barila
Seagate Technology, LLC
(720) 684-1842
As if I need to say it: Not speaking for Seagate.


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.