aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-07-12 23:01:21 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-07-12 23:01:21 +0000
commitfd435d5c06695df233fa5f1921a6f0af5e9eb06b (patch)
treee0f83b6d6a8b3be286913509f3cdf25ad7ce41ee
parentcac33e16cf80983c8c66c541dee4991a00dd090f (diff)
downloadsrc-fd435d5c06695df233fa5f1921a6f0af5e9eb06b.tar.gz
src-fd435d5c06695df233fa5f1921a6f0af5e9eb06b.zip
Correct inverted parent DMA tag parameters.
Reviewed by: ken MFC after: 3 days
Notes
Notes: svn path=/head/; revision=209961
-rw-r--r--sys/dev/mpt/mpt_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c
index 28a586f4a6f6..3b3b4542dff7 100644
--- a/sys/dev/mpt/mpt_pci.c
+++ b/sys/dev/mpt/mpt_pci.c
@@ -754,8 +754,8 @@ mpt_dma_mem_alloc(struct mpt_softc *mpt)
/*alignment*/1, /*boundary*/0, /*lowaddr*/BUS_SPACE_MAXADDR,
/*highaddr*/BUS_SPACE_MAXADDR, /*filter*/NULL, /*filterarg*/NULL,
/*maxsize*/BUS_SPACE_MAXSIZE_32BIT,
- /*nsegments*/BUS_SPACE_MAXSIZE_32BIT,
- /*maxsegsz*/BUS_SPACE_UNRESTRICTED, /*flags*/0,
+ /*nsegments*/BUS_SPACE_UNRESTRICTED,
+ /*maxsegsz*/BUS_SPACE_MAXSIZE_32BIT, /*flags*/0,
&mpt->parent_dmat) != 0) {
mpt_prt(mpt, "cannot create parent dma tag\n");
return (1);