diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-09-30 23:58:41 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-09-30 23:58:41 +0000 |
commit | 504cc5bb584118cac5af889e571140504cc235e8 (patch) | |
tree | 05c967d8383c4c453a9ad3701fba260ed8997b85 /sys | |
parent | a324aea0795699dfb980ea79335b8f0a4c0001e2 (diff) |
check all luns on sas boards to see if the device is atapi instead of just
the first one.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/mpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 254e6a298be..ff54c559ced 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.96 2008/09/30 23:40:16 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.97 2008/09/30 23:58:40 dlg Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -1396,7 +1396,7 @@ mpi_scsi_probe(struct scsi_link *link) struct mpi_cfg_sas_dev_pg0 pg0; u_int32_t address; - if (sc->sc_porttype != MPI_PORTFACTS_PORTTYPE_SAS || link->lun != 0) + if (sc->sc_porttype != MPI_PORTFACTS_PORTTYPE_SAS) return (0); address = MPI_CFG_SAS_DEV_ADDR_BUS | link->target; |