NetBSD/sys/dev/ata/files.ata
garbled 47dfabcdf7 Add support for VIA V-TECH ata raid. Tested on 4.0 with RAID0, RAID1 and
SPAN over a pair of sata drives on a VT8237A SATA Controller.
2007-03-27 00:10:20 +00:00

30 lines
891 B
Plaintext

# $NetBSD: files.ata,v 1.15 2007/03/27 00:10:20 garbled Exp $
#
# Config file and device description for machine-independent devices
# which attach to ATA busses. Included by ports that need it. Ports
# that use it must provide their own "major" declarations for the
# appropriate devices.
# ATA disks
device wd: disk
attach wd at ata_hl
file dev/ata/wd.c wd needs-flag
file dev/ata/ata_wdc.c wd & atabus & wdc_common
defflag WD_SOFTBADSECT
file dev/ata/ata.c (ata_hl | atapi) & atabus
# ATA RAID configuration support
defpseudo ataraid {[vendtype = -1], [unit = -1]}
file dev/ata/ata_raid.c ataraid needs-flag
file dev/ata/ata_raid_promise.c ataraid
file dev/ata/ata_raid_adaptec.c ataraid
file dev/ata/ata_raid_via.c ataraid
attach ld at ataraid with ld_ataraid
file dev/ata/ld_ataraid.c ld_ataraid
# Common SATA subroutines
file dev/ata/sata_subr.c sata needs-flag