Re: AC'97 (VT82C686A) & IRQ reassignment (I/O APIC)

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Mon Apr 30 2001 - 10:41:11 EST


On Mon, 30 Apr 2001, Greg Hosler wrote:

> The AC'97 has an IRQ register which allows for IRQ's 1, and 3 thru 14
> (page 107 of the VT82C686 datasheet, under section "Offset 3C, Interrupt Line")
>
> The problem I'm seeing is that on a SMB machine, the IRQ's get reassigned by
> the I/O APIC code, and my AC'97 gets assigned an IRQ of 18 (which won't fit into
> 4 bits :(
>
> Is there any way to reassign an IRQ to one that teh AC'97 will be happy with ?
>
> Does any other device already have to do this ?
>
> thx, and rgds,
>
> -Greg

Observe that the PCI DWORD (long) register at DWORD offset 15 consists
of 4 byte-wide registers (from the PCI specification), Max_lat, Min_Gnt,
Interrupt pin, and interrupt line. Nothing has to fit into 4 bits, you
have 8 bits. I haven't looked at the Linux code, but if it provides only 4
bits for the IRQ, it's broken.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:25 EST