NetBSD/sys/dev/ata/files.ata

43 lines
1.3 KiB
Plaintext

# $NetBSD: files.ata,v 1.30 2018/10/24 07:42:12 jdolecek 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 opt_wd.h WD_SOFTBADSECT
defflag opt_wd.h WD_CHAOS_MONKEY
file dev/ata/ata.c (ata_hl | atapi) & atabus
file dev/ata/ata_subr.c (ata_hl | atapi) & atabus
file dev/ata/ata_recovery.c (ata_hl | atapi) & atabus
# ATA RAID configuration support
defpseudodev ataraid {[vendtype = -1], [unit = -1]}
file dev/ata/ata_raid.c ataraid needs-flag
file dev/ata/ata_raid_subr.c ataraid
file dev/ata/ata_raid_promise.c ataraid
file dev/ata/ata_raid_adaptec.c ataraid
file dev/ata/ata_raid_nvidia.c ataraid
file dev/ata/ata_raid_via.c ataraid
file dev/ata/ata_raid_jmicron.c ataraid
file dev/ata/ata_raid_intel.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
# Common SATA FIS subroutines
file dev/ata/satafis_subr.c sata_fis
# SATA port multiplier support
file dev/ata/satapmp_subr.c sata_pmp needs-flag