<P>yes, irq_tables.c is:
<P>/* This file was generated by getpir.c, do not modify!<BR> (but if you do, please run checkpir on it to verify)<BR> Contains the IRQ Routing Table dumped directly from your memory , wich BIOS sets up
<P> Documentation at : <A href="http://www.microsoft.com/hwdev/busbios/PCIIRQ.HTM">http://www.microsoft.com/hwdev/busbios/PCIIRQ.HTM</A><BR>*/
<P>#include <arch/pirq_routing.h>
<P>const struct irq_routing_table intel_irq_routing_table = {<BR> PIRQ_SIGNATURE, /* u32 signature */<BR> PIRQ_VERSION, /* u16 version */<BR> 32+16*4, /* there can be total 4 devices on the bus */<BR> 0, /* Where the interrupt router lies (bus) */<BR> 0x90, /* Where the interrupt router lies (dev) */<BR> 0x8c00, /* IRQs devoted exclusively to PCI usage */<BR> 0x1078, /* Vendor */<BR> 0x2, /* Device */<BR> 0, /* Crap (miniport) */<BR> { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */<BR> 0x4d, /* u8 checksum , this hase to set to some value that would give 0 after the sum of all<BR>bytes for this structure (including checksum) */<BR> {<BR> {0,0x78, {{0x3, 0xdeb8}, {0x4, 0xdeb8}, {0x1, 0xdeb8}, {0x2, 0xdeb8}}, 0x2, 0},<BR> {0,0x88, {{0x4, 0xdeb8}, {0x1, 0xdeb8}, {0x2, 0xdeb8}, {0x3, 0xdeb8}}, 0x3, 0},<BR> {0,0x98, {{0x1, 0xdeb8}, {0, 0xdeb8}, {0, 0xdeb8}, {0, 0xdeb8}}, 0, 0},<BR> {0x40,0, {{0, 0}, {0, 0}, {0, 0}, {0, 0}}, 0, 0},<BR> }<BR>};
<P> <B><I>Andrew Ip <aip@cwlinux.com></I></B> wrote:
<BLOCKQUOTE style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">> no any progress. linux can't assign pci irq. what's wrong? <BR>Have you run getpir to get the correct pirq table?<BR><BR>-Andrew<BR><BR>-- <BR>Andrew Ip<BR>Email: aip@cwlinux.com<BR>Tel: (852) 2542 2046<BR>Fax: (852) 2542 2036<BR>Mobile: (852) 9201 9866<BR><BR>Cwlinux Limited<BR>Unit 202B 2/F Lai Cheong Factory Building,<BR>479-479A Castle Peak Road,<BR>Lai Chi Kok, Kowloon,<BR>Hong Kong.<BR><BR>Tel: (852)2542 2046<BR>Fax: (852)2542 2036<BR><BR>For public pgp key, please obtain it from http://www.keyserver.net/en.</BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/">Yahoo! Tax Center</a> - forms, calculators, tips, and more