Inspiron 9400 freezes when enabling bfe0

Matthew Dillon dillon at apollo.backplane.com
Thu Jul 12 18:05:22 PDT 2007


:    This implies that the BFE driver may have limited DMA range, which
:    we can program for in the busdma setup for bfe.
:

    DING!  The FreeBSD driver limits DMA to the low 1G of ram.

    Try this patch.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>

Index: if_bfe.c
===================================================================
RCS file: /cvs/src/sys/dev/netif/bfe/if_bfe.c,v
retrieving revision 1.30
diff -u -p -r1.30 if_bfe.c
--- if_bfe.c	25 Oct 2006 20:55:56 -0000	1.30
+++ if_bfe.c	13 Jul 2007 01:04:05 -0000
@@ -192,7 +192,7 @@ 
 	/* parent tag */
 	error = bus_dma_tag_create(NULL,  /* parent */
 			PAGE_SIZE, 0,             /* alignment, boundary */
-			BUS_SPACE_MAXADDR_32BIT,  /* lowaddr */      
+			0x3FFFFFFF,		  /* lowaddr */      
 			BUS_SPACE_MAXADDR,        /* highaddr */
 			NULL, NULL,               /* filter, filterarg */
 			MAXBSIZE,                 /* maxsize */





More information about the Bugs mailing list