Use the correct macro for listing the maximum bus space size.

Without this, it fails to compile on i386 PAE builds.
This commit is contained in:
adrian 2014-12-17 21:26:25 +00:00
parent 0750a00789
commit e1064b9529

View File

@ -178,9 +178,9 @@ mwl_pci_attach(device_t dev)
BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR_32BIT, /* lowaddr */
BUS_SPACE_MAXADDR, /* highaddr */ BUS_SPACE_MAXADDR, /* highaddr */
NULL, NULL, /* filter, filterarg */ NULL, NULL, /* filter, filterarg */
BUS_SPACE_MAXADDR, /* maxsize */ BUS_SPACE_MAXSIZE, /* maxsize */
MWL_TXDESC, /* nsegments */ MWL_TXDESC, /* nsegments */
BUS_SPACE_MAXADDR, /* maxsegsize */ BUS_SPACE_MAXSIZE, /* maxsegsize */
0, /* flags */ 0, /* flags */
NULL, /* lockfunc */ NULL, /* lockfunc */
NULL, /* lockarg */ NULL, /* lockarg */