From: jmatthew Date: Fri, 27 Jul 2018 04:57:45 +0000 (+0000) Subject: hds arrays can have more ports now, apparently; this lets theo use 4 paths X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=11bd271405859693b2d120ee23150f90b0bade7e;p=openbsd hds arrays can have more ports now, apparently; this lets theo use 4 paths to his array rather than just 2. ok dlg@ --- diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c index 1fd5ba85c27..75aab866278 100644 --- a/sys/scsi/mpath_hds.c +++ b/sys/scsi/mpath_hds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath_hds.c,v 1.19 2015/06/07 19:13:27 krw Exp $ */ +/* $OpenBSD: mpath_hds.c,v 1.20 2018/07/27 04:57:45 jmatthew Exp $ */ /* * Copyright (c) 2011 David Gwynne @@ -317,7 +317,7 @@ hds_info(struct hds_softc *sc) ctrl = buf[HDS_INQ_CTRL_OFFSET]; port = buf[HDS_INQ_PORT_OFFSET]; - if (ctrl >= '0' && ctrl <= '9' && port >= 'A' && port <= 'B') { + if (ctrl >= '0' && ctrl <= '9' && port >= 'A' && port <= 'D') { printf("%s: ldev %s, controller %c, port %c, %s\n", DEVNAME(sc), ldev, ctrl, port, sc->sc_mode == HDS_SYMMETRIC ? "symmetric" : "asymmetric");