summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-08-01 04:35:28 +0000
committergrog <grog@FreeBSD.org>2001-08-01 04:35:28 +0000
commit9df97b6d1e253beb4fd91c3dbfc8f80381178107 (patch)
treea50b9a3eda62bb80f9b373619d6ce30096b09fc0 /sys
parente3e1b0bdbc7e0c554430e0bae69d7053f999d3fa (diff)
downloadFreeBSD-src-9df97b6d1e253beb4fd91c3dbfc8f80381178107.zip
FreeBSD-src-9df97b6d1e253beb4fd91c3dbfc8f80381178107.tar.gz
open_device: Recognize ar device.
Submitted by: Valery Kotchiev <valery@rudiment.dk>
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinumio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c
index 579e3cc..564d21c 100644
--- a/sys/dev/vinum/vinumio.c
+++ b/sys/dev/vinum/vinumio.c
@@ -84,6 +84,8 @@ open_drive(struct drive *drive, struct proc *p, int verbose)
devmajor = 43;
else if (bcmp(dname, "md", 2) == 0)
devmajor = 95;
+ else if (bcmp(dname, "ar", 2) == 0)
+ devmajor = 157;
else if (bcmp(dname, "amrd", 4) == 0) {
devmajor = 133;
dname += 2;
OpenPOWER on IntegriCloud