svn commit: r198366 - head/sys/dev/mwl

Rui Paulo rpaulo at FreeBSD.org
Thu Oct 22 12:48:17 UTC 2009


Author: rpaulo
Date: Thu Oct 22 12:48:17 2009
New Revision: 198366
URL: http://svn.freebsd.org/changeset/base/198366

Log:
  Don't use BUS_DMA_ALLOCNOW as that causes the attachment to fail on
  Cambria boards.
  
  MFC after:	2 months

Modified:
  head/sys/dev/mwl/if_mwl_pci.c

Modified: head/sys/dev/mwl/if_mwl_pci.c
==============================================================================
--- head/sys/dev/mwl/if_mwl_pci.c	Thu Oct 22 11:45:35 2009	(r198365)
+++ head/sys/dev/mwl/if_mwl_pci.c	Thu Oct 22 12:48:17 2009	(r198366)
@@ -204,7 +204,7 @@ mwl_pci_attach(device_t dev)
 			       BUS_SPACE_MAXADDR,	/* maxsize */
 			       MWL_TXDESC,		/* nsegments */
 			       BUS_SPACE_MAXADDR,	/* maxsegsize */
-			       BUS_DMA_ALLOCNOW,	/* flags */
+			       0,			/* flags */
 			       NULL,			/* lockfunc */
 			       NULL,			/* lockarg */
 			       &sc->sc_dmat)) {


More information about the svn-src-all mailing list