DragonFly bugs List (threaded) for 2007-07
DragonFly BSD
DragonFly bugs List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Inspiron 9400 freezes when enabling bfe0


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 Jul 2007 18:04:24 -0700 (PDT)

:    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@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 */



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]