summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath_hds.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_hds.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_hds.c')
-rw-r--r--sys/scsi/mpath_hds.c4
1 files changed, 2 insertions, 2 deletions
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);