files.ata revision 1.17
1#	$NetBSD: files.ata,v 1.17 2008/08/20 15:00:34 tacha Exp $
2#
3# Config file and device description for machine-independent devices
4# which attach to ATA busses.  Included by ports that need it.  Ports
5# that use it must provide their own "major" declarations for the
6# appropriate devices.
7
8# ATA disks
9device	wd: disk
10attach	wd at ata_hl
11file	dev/ata/wd.c			wd			needs-flag
12file	dev/ata/ata_wdc.c		wd & atabus & wdc_common
13
14defflag	WD_SOFTBADSECT
15
16file	dev/ata/ata.c			(ata_hl | atapi) & atabus
17
18# ATA RAID configuration support
19defpseudodev ataraid {[vendtype = -1], [unit = -1]}
20file	dev/ata/ata_raid.c		ataraid			needs-flag
21file	dev/ata/ata_raid_promise.c	ataraid
22file	dev/ata/ata_raid_adaptec.c	ataraid
23file	dev/ata/ata_raid_nvidia.c	ataraid
24file	dev/ata/ata_raid_via.c		ataraid
25
26attach	ld at ataraid with ld_ataraid
27file	dev/ata/ld_ataraid.c		ld_ataraid
28
29# Common SATA subroutines
30file	dev/ata/sata_subr.c		sata			needs-flag
31