Date: Wed, 17 Dec 2014 21:27:28 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r275871 - head/sys/dev/malo Message-ID: <201412172127.sBHLRS7e016220@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed Dec 17 21:27:27 2014 New Revision: 275871 URL: https://svnweb.freebsd.org/changeset/base/275871 Log: Update the use of bus space macros to be more correct. This was a problem on i386 PAE builds. Modified: head/sys/dev/malo/if_malo_pci.c Modified: head/sys/dev/malo/if_malo_pci.c ============================================================================== --- head/sys/dev/malo/if_malo_pci.c Wed Dec 17 21:26:25 2014 (r275870) +++ head/sys/dev/malo/if_malo_pci.c Wed Dec 17 21:27:27 2014 (r275871) @@ -225,9 +225,9 @@ malo_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 */ 0, /* nsegments */ - BUS_SPACE_MAXADDR, /* maxsegsize */ + BUS_SPACE_MAXSIZE, /* maxsegsize */ 0, /* flags */ NULL, /* lockfunc */ NULL, /* lockarg */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412172127.sBHLRS7e016220>