aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2009-08-14 13:24:44 +0000
committerColin Percival <cperciva@FreeBSD.org>2009-08-14 13:24:44 +0000
commit75a1f6cf5f0927ae1c894af6bdd37b6209afec6d (patch)
treef0113895ef75e9efb5e7986339e31fe4bd7094f1 /usr.sbin/sysinstall
parentfc58801ccc318e391722e23c01826884edd25bf9 (diff)
downloadsrc-75a1f6cf5f0927ae1c894af6bdd37b6209afec6d.tar.gz
src-75a1f6cf5f0927ae1c894af6bdd37b6209afec6d.zip
Make sysinstall recognize /dev/ada* disk devices. The description string
"SATA disk device" reflects the current state of /dev/ada*; this may be changed in the future if other drive types start appearing as /dev/ada*. Submitted by: randi Details about what disks can appear as /dev/ada* supplied by: scottl Approved by: re (rwatson)
Notes
Notes: svn path=/head/; revision=196213
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r--usr.sbin/sysinstall/devices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c
index 3ba873250069..b95fdc595a55 100644
--- a/usr.sbin/sysinstall/devices.c
+++ b/usr.sbin/sysinstall/devices.c
@@ -80,6 +80,7 @@ static struct _devname {
CDROM("acd%d", "ATAPI/IDE CDROM", 4),
DISK("da%d", "SCSI disk device", 16),
DISK("ad%d", "ATA/IDE disk device", 16),
+ DISK("ada%d", "SATA disk device", 16),
DISK("ar%d", "ATA/IDE RAID device", 16),
DISK("afd%d", "ATAPI/IDE floppy device", 4),
DISK("mlxd%d", "Mylex RAID disk", 4),