summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2009-11-05 03:33:53 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2009-11-05 03:33:53 +0000
commitda070d530c1c6b123eb24e34db48251ca1f04d52 (patch)
tree1addc34954610ed621a1311d459df0758d2a0a2c /sys/dev
parent57a5a2863daad723dd081b62ec1c6888f5435bfe (diff)
The big diff dlg committed to the midlayer breaks NO_CCB and
TRY_AGAIN_LATER. NO_CCB is a timer based mechanism that can trivially be made to fail by running IO to two or more disks simultaneously. The TRY_AGAIN_LATER thing is more subtle because it now is a permanent failure instead of transient however this is much harder to hit because something must have gone wrong before it hits. ok deraadt krw miod
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/mpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index d0768a8115f..2a9069c05b0 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.117 2009/11/02 23:20:41 marco Exp $ */
+/* $OpenBSD: mpi.c,v 1.118 2009/11/05 03:33:52 marco Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -2176,6 +2176,7 @@ mpi_eventnotify_done(struct mpi_ccb *ccb)
void
mpi_evt_sas(struct mpi_softc *sc, struct mpi_rcb *rcb)
{
+#if 0
struct mpi_evt_sas_change *ch;
u_int8_t *data;
@@ -2213,6 +2214,7 @@ mpi_evt_sas(struct mpi_softc *sc, struct mpi_rcb *rcb)
"0x%02x\n", DEVNAME(sc), ch->reason);
break;
}
+#endif
}
void