svn commit: r278416 - stable/9/sys/dev/mwl

Marius Strobl marius at FreeBSD.org
Sun Feb 8 22:27:25 UTC 2015


Author: marius
Date: Sun Feb  8 22:27:23 2015
New Revision: 278416
URL: https://svnweb.freebsd.org/changeset/base/278416

Log:
  MFC: r275870
  
  Use the correct macro for listing the maximum bus space size.

Modified:
  stable/9/sys/dev/mwl/if_mwl_pci.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/mwl/if_mwl_pci.c
==============================================================================
--- stable/9/sys/dev/mwl/if_mwl_pci.c	Sun Feb  8 22:27:17 2015	(r278415)
+++ stable/9/sys/dev/mwl/if_mwl_pci.c	Sun Feb  8 22:27:23 2015	(r278416)
@@ -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 */


More information about the svn-src-stable mailing list