summaryrefslogtreecommitdiff
path: root/sys
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
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')
-rw-r--r--sys/scsi/mpath_emc.c4
-rw-r--r--sys/scsi/mpath_hds.c4
-rw-r--r--sys/scsi/mpath_rdac.c4
-rw-r--r--sys/scsi/mpath_sym.c6
4 files changed, 9 insertions, 9 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);
diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c
index 9e5b969e1d4..4a48d384521 100644
--- a/sys/scsi/mpath_hds.c
+++ b/sys/scsi/mpath_hds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_hds.c,v 1.11 2013/08/27 00:53:10 dlg Exp $ */
+/* $OpenBSD: mpath_hds.c,v 1.12 2013/08/27 00:57:44 dlg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -128,7 +128,7 @@ hds_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 &&
hds_inquiry(link, &mode) == 0)
- return (3);
+ return (8);
}
return (0);
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);
diff --git a/sys/scsi/mpath_sym.c b/sys/scsi/mpath_sym.c
index 95a87df0825..a7928fe3ade 100644
--- a/sys/scsi/mpath_sym.c
+++ b/sys/scsi/mpath_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_sym.c,v 1.16 2013/08/27 00:53:10 dlg Exp $ */
+/* $OpenBSD: mpath_sym.c,v 1.17 2013/08/27 00:57:44 dlg Exp $ */
/*
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -115,14 +115,14 @@ sym_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);
}
for (i = 0; i < nitems(asym_devices); i++) {
s = &asym_devices[i];
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);