diff options
author | msmith <msmith@FreeBSD.org> | 2000-09-13 05:04:48 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-09-13 05:04:48 +0000 |
commit | 9f7644188118ade22c8f56c99085abf294b856e9 (patch) | |
tree | 6b6c1963422a6a40ba3030b42139b4087fd3f9dd /lib/libdisk | |
parent | b529d77307e12459f5f78e1df1648d32c9d73854 (diff) | |
download | FreeBSD-src-9f7644188118ade22c8f56c99085abf294b856e9.zip FreeBSD-src-9f7644188118ade22c8f56c99085abf294b856e9.tar.gz |
Teach libdisk about 'aac'
Diffstat (limited to 'lib/libdisk')
-rw-r--r-- | lib/libdisk/create_chunk.c | 2 | ||||
-rw-r--r-- | lib/libdisk/disk.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c index 4614d9a..4ecb56c 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 83617ad..0d77f38 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 ** |