diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-11-28 23:24:32 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-11-28 23:24:32 +0000 |
commit | c18da06e7fa5cd4936a1837959785e2b56331a58 (patch) | |
tree | 743d8422d18e010b033907f0220929f694871bde /sys | |
parent | dd19dada28954a7709e3685cc9fa4019eae690e9 (diff) |
Correct parameter in bus_dmamem_alloc().
ok marco@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/mpt_openbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpt_openbsd.c b/sys/dev/ic/mpt_openbsd.c index 5170bfb4383..4006b611432 100644 --- a/sys/dev/ic/mpt_openbsd.c +++ b/sys/dev/ic/mpt_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpt_openbsd.c,v 1.28 2005/11/20 03:24:35 marco Exp $ */ +/* $OpenBSD: mpt_openbsd.c,v 1.29 2005/11/28 23:24:31 krw Exp $ */ /* $NetBSD: mpt_netbsd.c,v 1.7 2003/07/14 15:47:11 lukem Exp $ */ /* @@ -1526,7 +1526,7 @@ mpt_alloc_fw_mem(mpt_softc_t *mpt, uint32_t img_sz, int maxsgl) } error = bus_dmamem_alloc(mpt->sc_dmat, img_sz, PAGE_SIZE, 0, - &mpt->fw_seg, maxsgl, &mpt->fw_rseg, 0); + &mpt->fw_seg, 1, &mpt->fw_rseg, 0); if (error) { mpt_prt(mpt, "unable to allocate fw memory, error = %d", error); goto fw_fail1; |