NetBSD/sys/dev/ata
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
..
Makefile Add ATA SMART reporting support from Ben Collver in kern/12787. 2002-08-05 23:29:27 +00:00
ata.c Make the ATA mid-layer appears as atabus, as proposed in 2003-10-08 10:58:12 +00:00
ata_raid.c typo in comment 2003-09-29 23:31:04 +00:00
ata_raid_promise.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
ata_raidreg.h Experimental support for RAID volumes configured by ATA "RAID" controllers. 2003-01-27 18:21:23 +00:00
ata_raidvar.h Experimental support for RAID volumes configured by ATA "RAID" controllers. 2003-01-27 18:21:23 +00:00
ata_wdc.c There are some cards that map the ATA control and IDE DMA registers 2003-11-27 23:02:40 +00:00
atareg.h remove ATA_CMD2_SMART, which seems wrong and isn't used. 2003-11-26 15:03:14 +00:00
atavar.h Make the ATA mid-layer appears as atabus, as proposed in 2003-10-08 10:58:12 +00:00
files.ata Following Matt Thomas's request, rename ata attribute to ata_hl, and 2003-10-08 20:57:59 +00:00
ld_ataraid.c add missing __KERNEL_RCSID() 2003-07-14 15:47:00 +00:00
wd.c Replace home-grown locks with lockmgr(). 2003-11-07 04:10:56 +00:00
wdvar.h Replace home-grown locks with lockmgr(). 2003-11-07 04:10:56 +00:00