From fd435d5c06695df233fa5f1921a6f0af5e9eb06b Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Mon, 12 Jul 2010 23:01:21 +0000 Subject: [PATCH] Correct inverted parent DMA tag parameters. Reviewed by: ken MFC after: 3 days --- sys/dev/mpt/mpt_pci.c | 4 ++-- 1 file 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);