diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-01-03 07:47:21 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-01-03 07:47:21 +0000 |
commit | 31b1a8edf6a01da84153d2a24d882624071b39e8 (patch) | |
tree | f3d0d033b4a40a86d7871487b2b01f6c330d0437 /sys/dev | |
parent | 92c42d6f93d4295c30251ef4dbab97460e46a1f1 (diff) |
oops, get the order of args right for the header request in
mpi_bio_get_pg0_raid. the sensor updates dont poll at all now.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/mpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index e31993dbe85..df807c1d643 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.131 2010/01/03 07:28:46 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.132 2010/01/03 07:47:20 dlg Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -2761,8 +2761,8 @@ mpi_bio_get_pg0_raid(struct mpi_softc *sc, int id) /* get raid vol page 0 */ address = sc->sc_vol_list[id].vol_id | (sc->sc_vol_list[id].vol_bus << 8); - if (mpi_req_cfg_header(sc, MPI_CONFIG_REQ_PAGE_TYPE_RAID_VOL, 0, 0, - address, &hdr) != 0) + if (mpi_req_cfg_header(sc, MPI_CONFIG_REQ_PAGE_TYPE_RAID_VOL, 0, + address, 0, &hdr) != 0) goto done; if (mpi_req_cfg_page(sc, address, 0, &hdr, 1, rpg0, len)) { DNPRINTF(MPI_D_RAID, "%s: can't get RAID vol cfg page 0\n", |