[LinuxBIOS] Support for IEI Nova4899R [1]

Luis Correia lfcorreia at lfcorreia.dyndns.org
Mon Nov 6 00:00:57 CET 2006


ron minnich wrote:
>
>     b) is there any way to tell where the IRQ pins for each PCI device
>     are connected to the IRQ router chip?
>
>
>
> schematics. Or a volt-ohm meter.
>
I followed your advice :)

With the purchase of this nova board, Martin also gave me another one,
that was broken. I grabbed my mini torch and after the fumes from the
removal of the companion chip (cs5530) were gone, access to the pads
is now available.

Here is how things are connected:

CS5530  pins

INTA#   internal USB controller and INTC# on the PCI slot
INTB#   eth2 chip and INTD# on the PCI slot
INTC#   eth1 chip and INTA# on the PCI slot
INTD#   eth0 chip and INTB# on the PCI slot

Following this, i changed the irq_tables.c file to be like this:

/* bus,     dev|fn,   {link, bitmap}, {link, bitmap}, {link, bitmap}, 
{link, bitmap},  slot, rfu */
// USB
{0x00,(0x13<<3)|0x0, {{0x01, 0xdeb8}, {0x00, 0xdeb8}, {0x00, 0xdeb8}, 
{0x00, 0x0deb8}}, 0x0, 0x0},

// eth0
{0x00,(0x0a<<3)|0x0, {{0x04, 0xdeb8}, {0x00, 0xdeb8}, {0x00, 0xdeb8}, 
{0x00, 0x0deb8}}, 0x0, 0x0},

// eth1
{0x00,(0x0b<<3)|0x0, {{0x03, 0xdeb8}, {0x00, 0xdeb8}, {0x00, 0xdeb8}, 
{0x00, 0x0deb8}}, 0x0, 0x0},

// eth2
{0x00,(0x0c<<3)|0x0, {{0x02, 0xdeb8}, {0x00, 0xdeb8}, {0x00, 0xdeb8}, 
{0x00, 0x0deb8}}, 0x0, 0x0},

// PCI slot
{0x00,(0x0f<<3)|0x0, {{0x03, 0xdeb8}, {0x04, 0xdeb8}, {0x01, 0xdeb8}, 
{0x02, 0x0deb8}}, 0x0, 0x0},

Nonetheless, the kernel assumes some strange things, let's keep in mind that
the kernel i'm using is an old 2.4.20, which may or may not treat this IRQ
assignments correctly. Using pci=biosirq makes no change.

These are the IRQ's the kernel assigns:

USB    IRQ9 
eth0   IRQ10
eth1   IRQ11
eth2   IRQ9


any help ? anyone ? volunteers are being accepted... :)

Luis Correia




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the coreboot mailing list