summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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 0c3c95a..fb6f4be 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 e2b46f5..cd25b37 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()
OpenPOWER on IntegriCloud