nvme: use BUS_SPACE_MAXSIZE for bus_dma_tag_create maxsize parameter

This fixes i386 PAE build fallout from r281281.

Reported by:	bz
MFC after:	1 week
This commit is contained in:
Jim Harris 2015-04-09 00:37:55 +00:00
parent 36b0e4ee1f
commit 3345ed9a55

View File

@ -499,7 +499,7 @@ nvme_qpair_construct(struct nvme_qpair *qpair, uint32_t id,
err = bus_dma_tag_create(bus_get_dma_tag(ctrlr->dev),
4, 0, BUS_SPACE_MAXADDR, BUS_SPACE_MAXADDR, NULL, NULL,
BUS_SPACE_MAXADDR, 1, BUS_SPACE_MAXSIZE, 0,
BUS_SPACE_MAXSIZE, 1, BUS_SPACE_MAXSIZE, 0,
NULL, NULL, &qpair->dma_tag);
if (err != 0)
nvme_printf(ctrlr, "tag create failed %d\n", err);