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 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
ess_ofisa.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
files.ofisa move dev/isa/cs89x0{.c,{var,reg}.h} into dev/ic 2001-11-26 19:17:05 +00:00
if_cs_ofisa.c DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
joy_ofisa.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
lpt_ofisa.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
ofisa.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
ofisavar.h
pckbc_ofisa.c Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
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