NetBSD/sys/dev/ofisa
fvdl 6242a54566 There are some cards that map the ATA control and IDE DMA registers
in a different fashion. Individually, they have the same functionality,
but their layout is different. An example of such a chipset is
the Promise 203xx.

To be able to deal with this, transform the cmd and dma bus_space handles
into an array of handles, each seperately created with bus_space_subregion.
The code generated by using the extra indirection shouldn't change much,
since the extra indirection is negated by having the offset calculation
already done in bus_space_subregion. E.g.

	bus_space_write_4(tag, handle, offset, value)

becomes

	bus_space_write_4(tag, handles[offset], 0, value)

Reviewed by Manuel Bouyer. Tested on wdc_isa, wdc_pcmcia, viaide, piixide (i386)
and on cmdide (sparc64).
2003-11-27 23:02:40 +00:00
..
com_ofisa.c
ess_ofisa.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
files.ofisa
if_cs_ofisa.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
joy_ofisa.c
lpt_ofisa.c
ofisa.c
ofisavar.h
pckbc_ofisa.c
sb_ofisa.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
wdc_ofisa.c There are some cards that map the ATA control and IDE DMA registers 2003-11-27 23:02:40 +00:00