ron minnich wrote:

what's getpir say?

Running on Linuxbios? In that case:

(none):/mnt# ./getpir
Opening memory...
Found PCI IRQ Routing table signature at 81422ac bytes from top of the memory
Validating../
Version is:256 Table size:336
Reading 19 slot entries...
Checksum is ok!
Closing memory
Creating irq_tables.c .....
Done, you can move the file to the LinuxBios tree now.
(none):/mnt# echo linuxbios booted me!


USB is working... i used a memory key to run getpir/capture results.

irq_tables.c attached.  no idea what i'm doing.

--
Jeremy Jackson
Coplanar Networks
(519)897-1516
http://www.coplanar.net
/* 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 , wich 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*19,	 /* there can be total 19 devices on the bus */
	0x00,		 /* Where the interrupt router lies (bus) */
	(0x07<<3)|0x0,   /* Where the interrupt router lies (dev) */
	0,		 /* IRQs devoted exclusively to PCI usage */
	0x8086,		 /* Vendor */
	0x122e,		 /* Device */
	0,		 /* Crap (miniport) */
	{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* u8 rfu[11] */
	0x72,         /*  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,(0x09<<3)|0x0, {{0x60, 0xdea0}, {0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0x0dea0}}, 0x1, 0x0},
		{0x00,(0x0a<<3)|0x0, {{0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0x0dea0}}, 0x2, 0x0},
		{0x00,(0x0b<<3)|0x0, {{0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0xdea0}, {0x61, 0x0dea0}}, 0x3, 0x0},
		{0x00,(0x0c<<3)|0x0, {{0x63, 0xdea0}, {0x60, 0xdea0}, {0x61, 0xdea0}, {0x62, 0x0dea0}}, 0x4, 0x0},
		{0x00,(0x07<<3)|0x0, {{0x60, 0xdea0}, {0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0x0dea0}}, 0x0, 0x0},
		{0x00,(0x14<<3)|0x0, {{0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x0a<<3)|0x0, {{0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x11<<3)|0x0, {{0x62, 0xdea0}, {0x63, 0xdea0}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x13<<3)|0x0, {{0x61, 0xdea0}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x12<<3)|0x0, {{0x60, 0xdea0}, {0x00, 0xdef8}, {0x00, 0xdef8}, {0x00, 0x0def8}}, 0x0, 0x0},
		{0x00,(0x0f<<3)|0x0, {{0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0x0dea0}}, 0x0, 0x0},
		{0x01,(0x09<<3)|0x0, {{0x60, 0xdea0}, {0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0x0dea0}}, 0x1, 0x0},
		{0x01,(0x0a<<3)|0x0, {{0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0x0dea0}}, 0x2, 0x0},
		{0x01,(0x0b<<3)|0x0, {{0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0xdea0}, {0x61, 0x0dea0}}, 0x3, 0x0},
		{0x01,(0x0c<<3)|0x0, {{0x63, 0xdea0}, {0x60, 0xdea0}, {0x61, 0xdea0}, {0x62, 0x0dea0}}, 0x4, 0x0},
		{0x01,(0x0d<<3)|0x0, {{0x60, 0xdea0}, {0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0x0dea0}}, 0x5, 0x0},
		{0x01,(0x0e<<3)|0x0, {{0x61, 0xdea0}, {0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0x0dea0}}, 0x6, 0x0},
		{0x01,(0x0f<<3)|0x0, {{0x62, 0xdea0}, {0x63, 0xdea0}, {0x60, 0xdea0}, {0x61, 0x0dea0}}, 0x7, 0x0},
		{0x00,(0x00<<3)|0x0, {{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x00000}}, 0x0, 0x0},
	}
};

Reply via email to