GAPSPCI_REGS
idbuf[i] = inb(GAPSPCI_REGS+i);
outl(0x5a14a501, GAPSPCI_REGS+0x18);
if (inl(GAPSPCI_REGS+0x18) != 1)
outl(0x01000000, GAPSPCI_REGS+0x20);
outl(0x01000000, GAPSPCI_REGS+0x24);
outl(GAPSPCI_DMA_BASE, GAPSPCI_REGS+0x28);
outl(GAPSPCI_DMA_BASE+GAPSPCI_DMA_SIZE, GAPSPCI_REGS+0x2c);
outl(1, GAPSPCI_REGS+0x14);
outl(1, GAPSPCI_REGS+0x34);