diff options
author | grog <grog@FreeBSD.org> | 2002-04-26 04:23:19 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2002-04-26 04:23:19 +0000 |
commit | a83271f3cb64d931c0f89f438d35104acfd34863 (patch) | |
tree | 3c2523a386eaf0c8c0f7b71edf30db1f25fd0113 /sys/dev/vinum | |
parent | d5e34c8ced9f93571524df74e549f576a34d5bba (diff) | |
download | FreeBSD-src-a83271f3cb64d931c0f89f438d35104acfd34863.zip FreeBSD-src-a83271f3cb64d931c0f89f438d35104acfd34863.tar.gz |
vinum_open: recognize twed device.
Submitted by: Holger Kipp <holger.kipp@alogis.com>
PR: 37458
MFC after: 5 days
(to get 4.6 code freeze)
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index c12ed03..0b9fb96 100644 --- a/sys/dev/vinum/vinumio.c +++ b/sys/dev/vinum/vinumio.c @@ -94,8 +94,11 @@ open_drive(struct drive *drive, struct thread *td, int verbose) } else if (bcmp(dname, "idad", 4) == 0) { devmajor = 109; dname += 2; + } else if (bcmp(dname, "twed", 4) == 0) { /* 3ware raid */ + devmajor = 147; + dname += 2; } else - return ENODEV; + return ENODEV; dname += 2; /* point past */ /* |