diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2018-08-09 01:41:49 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2018-08-09 01:41:49 +0000 |
commit | ad725f4bc50bf4b1af333640f417fa3186b7fed9 (patch) | |
tree | 1c31cc841952de6457cf24c2c47eefa2bff9caa8 /sys/scsi | |
parent | 79c1e983a5afdc9af61f455cd00f964772cde4be (diff) |
Remove the port id check entirely. We don't do anything with the port
id after that, so it seems like a silly reason to reject a target.
ok dlg@ deraadt@
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/mpath_hds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath_hds.c b/sys/scsi/mpath_hds.c index 75aab866278..0b00d48d4a6 100644 --- a/sys/scsi/mpath_hds.c +++ b/sys/scsi/mpath_hds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpath_hds.c,v 1.20 2018/07/27 04:57:45 jmatthew Exp $ */ +/* $OpenBSD: mpath_hds.c,v 1.21 2018/08/09 01:41:48 jmatthew Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -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 <= 'D') { + if (ctrl >= '0' && ctrl <= '9') { printf("%s: ldev %s, controller %c, port %c, %s\n", DEVNAME(sc), ldev, ctrl, port, sc->sc_mode == HDS_SYMMETRIC ? "symmetric" : "asymmetric"); |