diff options
author | msmith <msmith@FreeBSD.org> | 1999-11-02 03:40:14 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-11-02 03:40:14 +0000 |
commit | 97478142867cf2ea0c7b03548a995039518eda6a (patch) | |
tree | 8c0aeb36be2d67773bffa5444e863f3ce0c4aeea /lib/libdisk | |
parent | bc581235b4054ac6456e3ef91e57fa92f4de5647 (diff) | |
download | FreeBSD-src-97478142867cf2ea0c7b03548a995039518eda6a.zip FreeBSD-src-97478142867cf2ea0c7b03548a995039518eda6a.tar.gz |
Teach libdisk about the AMI and Mylex RAID drivers. You should be able
to install directly to arrays managed by these controllers now.
Diffstat (limited to 'lib/libdisk')
-rw-r--r-- | lib/libdisk/create_chunk.c | 4 | ||||
-rw-r--r-- | lib/libdisk/disk.c | 2 |
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() |