are you sure that's not the pci slot (is there one)?


Good question,

There is first the onboard integrated vga device on 00:9.0
the southbridge on 00:12.0 and usb on 00:13.0

than a expansion slot for pci/isa riser cards. The network card is plugged in a adaptor and shown under lspci as 00:7.0 on this slot.



ok, can anybody have a look to the irq_tables.c

I have set all onboard components to slot 0x0 and assigned one link.
Or is there a better way?

chris

BTW:
Did you known, that the vt8235 southbridge from via have 8 INT Lines?
4 for external use #A - #D and 4 for onboard components only #E - #H


/* This file was generated by getpir.c, do not modify!
   (but if you do, please run checkpir on it to verify)
 * Contains the IRQ Routing Table dumped directly from your memory, which BIOS 
sets up
 *
 * Documentation at : http://www.microsoft.com/hwdev/busbios/PCIIRQ.HTM
*/

#include <arch/pirq_routing.h>

const struct irq_routing_table intel_irq_routing_table = {
        PIRQ_SIGNATURE,  /* u32 signature */
        PIRQ_VERSION,    /* u16 version   */
        32+16*8,         /* there can be total 8 devices on the bus */
        0x00,            /* Where the interrupt router lies (bus) */
        (0x12<<3)|0x0,   /* Where the interrupt router lies (dev) */
        0xc00,           /* IRQs devoted exclusively to PCI usage */
        0x1078,          /* Vendor */
        0x2,             /* Device */
        0,               /* Crap (miniport) */
        { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
        0x3f,         /*  u8 checksum , this hase to set to some value that 
would give 0 after the sum of all bytes for this structure (including checksum) 
*/
        {
                /* bus,     dev|fn,   {link, bitmap}, {link, bitmap}, {link, 
bitmap}, {link, bitmap},  slot, rfu */
                {0x00,(0x07<<3)|0x0, {{0x01, 0xdeb8}, {0x02, 0xdeb8}, {0x03, 
0xdeb8}, {0x04, 0x0deb8}}, 0x1, 0x0}, /* pci/isa expansion */
/*              {0x00,(0x08<<3)|0x0, {{0x02, 0xdeb8}, {0x03, 0xdeb8}, {0x04, 
0xdeb8}, {0x01, 0x0deb8}}, 0x2, 0x0}, */
                {0x00,(0x09<<3)|0x0, {{0x00, 0xdeb8}, {0x01, 0xdeb8}, {0x00, 
0xdeb8}, {0x00, 0x0deb8}}, 0x0, 0x0}, /* onboard vga */
/*              {0x00,(0x0a<<3)|0x0, {{0x04, 0xdeb8}, {0x01, 0xdeb8}, {0x02, 
0xdeb8}, {0x03, 0x0deb8}}, 0x4, 0x0}, */
/*              {0x00,(0x0b<<3)|0x0, {{0x01, 0xdeb8}, {0x02, 0xdeb8}, {0x03, 
0xdeb8}, {0x04, 0x0deb8}}, 0x5, 0x0}, */
                {0x00,(0x12<<3)|0x3, {{0x00, 0xdeb8}, {0x00, 0xdeb8}, {0x02, 
0xdeb8}, {0x00, 0x0deb8}}, 0x0, 0x0}, /* onboard audio */
/*              {0x00,(0x0d<<3)|0x0, {{0x03, 0xdeb8}, {0x04, 0xdeb8}, {0x01, 
0xdeb8}, {0x02, 0x0deb8}}, 0x7, 0x0}, */
                {0x00,(0x13<<3)|0x0, {{0x00, 0xdeb8}, {0x00, 0xdeb8}, {0x00, 
0xdeb8}, {0x03, 0x0deb8}}, 0x0, 0x0}, /* onboard usb */
        }
};

unsigned long write_pirq_routing_table(unsigned long addr)
{
        return copy_pirq_routing_table(addr);
}

-- 
linuxbios mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to