aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2014-04-30 04:24:21 +0000
committerDevin Teske <dteske@FreeBSD.org>2014-04-30 04:24:21 +0000
commitb571f5ab2f63eabc99e0145ceba279bd54ab5825 (patch)
tree7f9d678b23c3015859f150c2bf00afa14c1ac5a7 /lib/libdisk
parentb870694b605722580fa6bbbe8e2956214c6affbe (diff)
Notes
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 27f69015edc0..a3de359a4add 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -304,6 +304,8 @@ MakeDev(struct chunk *c1, const char *path)
cmaj = 109, p += 4;
else if (!strncmp(p, "ipsd", 4))
cmaj = 176, p += 4;
+ else if (!strncmp(p, "mfid", 4))
+ cmaj = 201, p += 4;
else if (!strncmp(p, "mlxd", 4))
cmaj = 131, p += 4;
else if (!strncmp(p, "amrd", 4))
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index b25bc7c2b651..445324eab6f6 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -486,9 +486,9 @@ Collapse_Disk(struct disk *d)
#endif
#ifdef PC98
-static char * device_list[] = {"wd", "aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "ar", "fd", 0};
+static char * device_list[] = {"wd", "aacd", "ad", "da", "afd", "fla", "idad", "mfid", "mlxd", "amrd", "twed", "ar", "fd", 0};
#else
-static char * device_list[] = {"aacd", "ad", "da", "afd", "fla", "idad", "ipsd", "mlxd", "amrd", "twed", "ar", "fd", 0};
+static char * device_list[] = {"aacd", "ad", "da", "afd", "fla", "idad", "ipsd", "mfid", "mlxd", "amrd", "twed", "ar", "fd", 0};
#endif
int qstrcmp(const void* a, const void* b) {