From 887011ca8d47a93bae8133f0147884fdec9afc28 Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 8 Feb 2015 22:27:17 +0000 Subject: [PATCH] MFC: r275870 Use the correct macro for listing the maximum bus space size. git-svn-id: svn://svn.freebsd.org/base/stable/10@278415 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/mwl/if_mwl_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/mwl/if_mwl_pci.c b/sys/dev/mwl/if_mwl_pci.c index d4d00dc95..588b6387c 100644 --- a/sys/dev/mwl/if_mwl_pci.c +++ b/sys/dev/mwl/if_mwl_pci.c @@ -175,9 +175,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 */ -- 2.45.0