summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1999-11-02 03:40:14 +0000
committerMike Smith <msmith@FreeBSD.org>1999-11-02 03:40:14 +0000
commit9ca7957c86deebefa971c639053b223f606d5e01 (patch)
tree8c0aeb36be2d67773bffa5444e863f3ce0c4aeea
parent97adfbaf83c692fae1fcaaead18c4633c2337b77 (diff)
Notes
-rw-r--r--lib/libdisk/create_chunk.c4
-rw-r--r--lib/libdisk/disk.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 0c3c95a4d375..fb6f4befe4e0 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -270,6 +270,10 @@ MakeDev(struct chunk *c1, const char *path)
bmaj = 28, cmaj = 102, p += 3;
else if (!strncmp(p, "ida", 3))
bmaj = 29, cmaj = 109, p += 3;
+ else if (!strncmp(p, "mlxd", 4))
+ bmaj = 27, cmaj = 131, p += 4;
+ else if (!strncmp(p, "amrd", 4))
+ bmaj = 35, cmaj = 133, p += 4;
else if (!strncmp(p, "da", 2)) /* CAM support */
bmaj = 4, cmaj = 13, p += 2;
else {
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index e2b46f51791a..cd25b37b4b42 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -375,7 +375,7 @@ Collapse_Disk(struct disk *d)
}
#endif
-static char * device_list[] = {"wd", "ad", "sd", "da", "wfd", "fla", "ida", 0};
+static char * device_list[] = {"wd", "ad", "sd", "da", "wfd", "fla", "ida", "mlxd", "amrd", 0};
char **
Disk_Names()