On Fri, 6 May 2005, Geert Uytterhoeven wrote: > > It looks like the example that Alan contributed does not update > > HWIF(drive)->io_ports[IDE_IRQ_OFFSET]. Or at least I cant figure out where. > > Indeed, macide passes 0 for ctrlport and irqport to ide_setup_ports(). If you > need another example, you can look at drivers/ide/legacy/gayle.c. Or perhaps at "drivers/ide/mips/swarm.c" which is nice, being for MIPS, memory-mapped and wired to an "arbitary bus". ;-) No DMA, though. Maciej