summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2000-11-06 23:15:01 +0000
committerjkh <jkh@FreeBSD.org>2000-11-06 23:15:01 +0000
commita1a6483d6a8635cfaa8b93bb30d8d29c3e79754e (patch)
treeeded8597bd4efefdfbc833af1c59d4494b836128 /lib/libdisk
parent9ac412435cb795d9fec14e5dc27c2b62fbbf3343 (diff)
downloadFreeBSD-src-a1a6483d6a8635cfaa8b93bb30d8d29c3e79754e.zip
FreeBSD-src-a1a6483d6a8635cfaa8b93bb30d8d29c3e79754e.tar.gz
MFS: add ATA raid support for sysinstall
Diffstat (limited to 'lib/libdisk')
-rw-r--r--lib/libdisk/create_chunk.c2
-rw-r--r--lib/libdisk/disk.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 4ecb56c..0a9984d 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -302,6 +302,8 @@ MakeDev(struct chunk *c1, const char *path)
cmaj = 147, p += 4;
else if (!strncmp(p, "aacd", 4))
cmaj = 151, p += 4;
+ else if (!strncmp(p, "ar", 2)) /* ATA RAID */
+ cmaj = 157, p += 2;
else if (!strncmp(p, "da", 2)) /* CAM support */
cmaj = 13, p += 2;
else {
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 6620c17..4c0f685 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -463,9 +463,9 @@ Collapse_Disk(struct disk *d)
#endif
#ifdef PC98
-static char * device_list[] = {"wd", "aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
+static char * device_list[] = {"wd", "aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "ar", "fd", 0};
#else
-static char * device_list[] = {"aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
+static char * device_list[] = {"aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "ar", "fd", 0};
#endif
char **
OpenPOWER on IntegriCloud