NetBSD/sys/dev/ata/files.ata
thorpej f2da431235 Add common routines for SATA controllers. Right now, we have sata_speed(),
which reports the speed encoded in the SStatus register.
2004-05-28 23:26:27 +00:00

26 lines
763 B
Plaintext

# $NetBSD: files.ata,v 1.9 2004/05/28 23:26:27 thorpej 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
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
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