diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2014-12-17 21:26:25 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2014-12-17 21:26:25 +0000 |
commit | e03905177a3e5a18429e8c99c8b524d8d2adc83a (patch) | |
tree | 09ffa361280124810753952425625cfa43317be3 /sys/dev/mwl | |
parent | 142a4d9e866574ca1a19e7badcdabeb8b8d8aa2f (diff) | |
download | src-e03905177a3e5a18429e8c99c8b524d8d2adc83a.tar.gz src-e03905177a3e5a18429e8c99c8b524d8d2adc83a.zip |
Use the correct macro for listing the maximum bus space size.
Without this, it fails to compile on i386 PAE builds.
Notes
Notes:
svn path=/head/; revision=275870
Diffstat (limited to 'sys/dev/mwl')
-rw-r--r-- | sys/dev/mwl/if_mwl_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mwl/if_mwl_pci.c b/sys/dev/mwl/if_mwl_pci.c index 8527cd67e380..ef7009c785d1 100644 --- a/sys/dev/mwl/if_mwl_pci.c +++ b/sys/dev/mwl/if_mwl_pci.c @@ -178,9 +178,9 @@ mwl_pci_attach(device_t dev) BUS_SPACE_MAXADDR_32BIT, /* lowaddr */ BUS_SPACE_MAXADDR, /* highaddr */ NULL, NULL, /* filter, filterarg */ - BUS_SPACE_MAXADDR, /* maxsize */ + BUS_SPACE_MAXSIZE, /* maxsize */ MWL_TXDESC, /* nsegments */ - BUS_SPACE_MAXADDR, /* maxsegsize */ + BUS_SPACE_MAXSIZE, /* maxsegsize */ 0, /* flags */ NULL, /* lockfunc */ NULL, /* lockarg */ |