Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use IoConnectInterrupt to register IRQ 14 or 15?

0 views
Skip to first unread message

Kai Lidda

unread,
Aug 1, 2008, 4:36:01 AM8/1/08
to
Dear all:

How to use IoConnectInterrupt to register IRQ 14/15?

Because IoConnectInterrupt need the translated interrupt vector form
PnP_Start_Device, i need to know how to translate the IRQ 14/15.

please, I have no a normal method for this question, do any ideal to handle
this question?

--
Sincerely Yours,


Maxim S. Shatskih

unread,
Aug 1, 2008, 9:06:09 AM8/1/08
to
> How to use IoConnectInterrupt to register IRQ 14/15?

For what?

The normal way is to call IoConnectInterrupt in the MN_START_DEVICE path with
the translated vector passed in the IRP.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
ma...@storagecraft.com
http://www.storagecraft.com

Doron Holan [MSFT]

unread,
Aug 1, 2008, 2:48:47 PM8/1/08
to
hard coding a specific irq is not a great idea. if the irq is not assigned
to your driver in start device, it is not for you to use.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Maxim S. Shatskih" <ma...@storagecraft.com> wrote in message
news:uncsed98...@TK2MSFTNGP04.phx.gbl...

Kai Lidda

unread,
Aug 3, 2008, 9:52:22 PM8/3/08
to
For example: Intel IDE or SATA Control

They can set their PCI Device to use IRQ 14/15 or INTA, when booting.

So, windows driver can handle it.

If set to INTA, the MN_START_DEVICE can have the translated vector for INTA.
If set to IRQ14/15, the resouces only have base address, not have interrupt.

so, i dont know how to handle a hard code IRQ.

Maxim S. Shatskih

unread,
Aug 4, 2008, 1:38:20 PM8/4/08
to
> For example: Intel IDE or SATA Control
>
> They can set their PCI Device to use IRQ 14/15 or INTA, when booting.

They set this in BIOS, and then Windows borrows these BIOS settings by
IRP_MN_QUERY_RESOURCES.

> so, i dont know how to handle a hard code IRQ.

I cannot understand why you ever need a hardcoded IRQ. Just use the IRQ which
PnP gives you, this is simple.

0 new messages