1 /* 2 * much of this is inspired by the freebsd driver, 3 * but is hard to understand due to lack of documentation. 4 * 5 * only pci irqs 0-2 are valid. 6 * 0 seems to yield INTR6. 7 * pci irqs 1-2 yield spurious ether intrs. 8 */ 9 i = 0; 10 *Pciintrsts = 0; 11 *Pciintrmask = 1 << i; 12 junk = *Pciintrmask; /* flush the write */ 13