diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2014-01-30 23:58:42 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2014-01-30 23:58:42 +0000 |
commit | a174b94cb839bb088efd4d602df5ae9db2cc361a (patch) | |
tree | 4511d3fa662f37f95ead496b1e6baffb3ccb5cef /sys/dev/ic/qla.c | |
parent | 19aacf711ae7753a635066ea31a7cf40a2ae745a (diff) |
the option bit for controlling fast posting is in icb_fw_options, not
icb_xfwoptions. one of my qla2200 cards seems to have this enabled
in its nvram, so it wasn't getting io completions.
Diffstat (limited to 'sys/dev/ic/qla.c')
-rw-r--r-- | sys/dev/ic/qla.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/qla.c b/sys/dev/ic/qla.c index 623ebe385e3..ba50dd6c780 100644 --- a/sys/dev/ic/qla.c +++ b/sys/dev/ic/qla.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qla.c,v 1.10 2014/01/30 23:43:53 jmatthew Exp $ */ +/* $OpenBSD: qla.c,v 1.11 2014/01/30 23:58:41 jmatthew Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -453,7 +453,7 @@ qla_attach(struct qla_softc *sc) /* adjust firmware options a bit */ icb->icb_fw_options |= htole16(QLA_ICB_FW_EXTENDED_INIT_CB); - icb->icb_xfwoptions &= htole16(~QLA_ICB_FW_FAST_POST); + icb->icb_fw_options &= ~htole16(QLA_ICB_FW_FAST_POST); sc->sc_mbox[0] = QLA_MBOX_INIT_FIRMWARE; sc->sc_mbox[4] = 0; |