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/create_chunk.c | |
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/create_chunk.c')
-rw-r--r-- | lib/libdisk/create_chunk.c | 4 |
1 files changed, 4 insertions, 0 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 { |