diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-05-29 21:30:25 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-05-29 21:30:25 +0000 |
commit | 521892b65aaf7f2920dc758a94b94087f9659dd9 (patch) | |
tree | 586975bc4ce70cfeb3e310e95828adb7a1f818ec /sys | |
parent | e53d2d6398e110abe1f75efd0d5a786fdedfdd23 (diff) |
increase the timeout on the enabling commands during attach so that sas
controllers have a chance to respond.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/mpi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index 71b6fa3f8fc..e113a6c6f6b 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.11 2006/05/29 19:55:37 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.12 2006/05/29 21:30:24 dlg Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -1344,7 +1344,7 @@ mpi_portfacts(struct mpi_softc *sc) pfq->port_number = 0; pfq->msg_context = htole32(ccb->ccb_id); - if (mpi_poll(sc, ccb, 1000) != 0) { + if (mpi_poll(sc, ccb, 10000) != 0) { DPRINTF("%s: %s poll\n", DEVNAME(sc), __func__); return (1); } @@ -1482,7 +1482,7 @@ mpi_portenable(struct mpi_softc *sc) peq->port_number = 0; peq->msg_context = htole32(ccb->ccb_id); - if (mpi_poll(sc, ccb, 1000) != 0) { + if (mpi_poll(sc, ccb, 10000) != 0) { DPRINTF("%s: %s poll\n", DEVNAME(sc), __func__); return (1); } @@ -1555,7 +1555,7 @@ mpi_cfg_hdr(struct mpi_softc *sc, u_int8_t type, u_int8_t number, cq->page_buffer.sg_hdr = htole32(MPI_SGE_FL_TYPE_SIMPLE | MPI_SGE_FL_LAST | MPI_SGE_FL_EOB | MPI_SGE_FL_EOL); - if (mpi_poll(sc, ccb, 1000) != 0) { + if (mpi_poll(sc, ccb, 10000) != 0) { DPRINTF("%s: %s poll\n", DEVNAME(sc), __func__); return (1); } @@ -1651,7 +1651,7 @@ mpi_cfg_page(struct mpi_softc *sc, u_int32_t address, struct mpi_cfg_hdr *hdr, if (!read) bcopy(page, kva, len); - if (mpi_poll(sc, ccb, 1000) != 0) { + if (mpi_poll(sc, ccb, 10000) != 0) { DPRINTF("%s: %s poll\n", DEVNAME(sc), __func__); return (1); } |