summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath_emc.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_emc.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_emc.c')
-rw-r--r--sys/scsi/mpath_emc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c
index dcca2e103fa..d5d52ba0c15 100644
--- a/sys/scsi/mpath_emc.c
+++ b/sys/scsi/mpath_emc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_emc.c,v 1.13 2013/08/27 00:53:09 dlg Exp $ */
+/* $OpenBSD: mpath_emc.c,v 1.14 2013/08/27 00:57:43 dlg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -132,7 +132,7 @@ emc_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);