summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath_rdac.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2013-08-27 00:57:45 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2013-08-27 00:57:45 +0000
commit31985480c260e4ffa01eb965927e7666041ccf45 (patch)
tree5241c5f3c353b3931e5a209eb1b10d61256a8af3 /sys/scsi/mpath_rdac.c
parent4113944c94ed8ed679fbc0e3e99f6d8bbf900719 (diff)
make path driver match routes return 8 so they will definitely be higher
than the real device drivers. ses returns 3 on some dells, which could be confusing for autoconf if it has to decide between that and a path driver.
Diffstat (limited to 'sys/scsi/mpath_rdac.c')
-rw-r--r--sys/scsi/mpath_rdac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath_rdac.c b/sys/scsi/mpath_rdac.c
index 246c582dfd8..40e7ca770d9 100644
--- a/sys/scsi/mpath_rdac.c
+++ b/sys/scsi/mpath_rdac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_rdac.c,v 1.17 2013/08/27 00:53:10 dlg Exp $ */
+/* $OpenBSD: mpath_rdac.c,v 1.18 2013/08/27 00:57:44 dlg Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -192,7 +192,7 @@ rdac_match(struct device *parent, void *match, void *aux)
if (bcmp(s->vendor, inq->vendor, strlen(s->vendor)) == 0 &&
bcmp(s->product, inq->product, strlen(s->product)) == 0)
- return (3);
+ return (8);
}
return (0);