aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-09-13 05:04:48 +0000
committerMike Smith <msmith@FreeBSD.org>2000-09-13 05:04:48 +0000
commit53ea88cdd17ce2364c71f636293eef482f3a3d76 (patch)
tree37c5ef32c1cc4088bb7d3d4c6672216ba880f49e /lib
parent170871defe393806f55d68176fcfeec7612ead5c (diff)
Notes
Diffstat (limited to 'lib')
-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 4614d9aa7a96..4ecb56c0a243 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -300,6 +300,8 @@ MakeDev(struct chunk *c1, const char *path)
cmaj = 133, p += 4;
else if (!strncmp(p, "twed", 4))
cmaj = 147, p += 4;
+ else if (!strncmp(p, "aacd", 4))
+ cmaj = 151, p += 4;
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 83617ad3b6f0..0d77f38a4f84 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", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
+static char * device_list[] = {"wd", "aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
#else
-static char * device_list[] = {"ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
+static char * device_list[] = {"aacd", "ad", "da", "afd", "fla", "idad", "mlxd", "amrd", "twed", "fd", 0};
#endif
char **