dc no worky with <Xircom X3201 10/100BaseTX>, also LOR

Daniel Eischen deischen at freebsd.org
Wed Feb 16 10:52:00 PST 2005


On Wed, 16 Feb 2005, Robert Blacquiere wrote:
>
>
> Someone send a patch to this mailling list. As i was also having problems
> with the mii bus failed to attach.
>
> The patch he send is attached

No, that didn't work either.  Thanks, though.

-- 
Dan
-------------- next part --------------
--- if_dc.c~	Fri Oct 15 17:53:44 2004
+++ if_dc.c	Mon Dec 20 14:22:48 2004
@@ -2151,8 +2151,8 @@
 	}
 
 	/* Allocate a busdma tag for mbufs. */
-	error = bus_dma_tag_create(NULL, PAGE_SIZE, 0, BUS_SPACE_MAXADDR_32BIT,
-	    BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES * DC_TX_LIST_CNT,
+	error = bus_dma_tag_create(NULL, 1, 0, BUS_SPACE_MAXADDR_32BIT,
+	    BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES,
 	    DC_TX_LIST_CNT, MCLBYTES, 0, NULL, NULL, &sc->dc_mtag);
 	if (error) {
 		printf("dc%d: failed to allocate busdma tag\n", unit);


More information about the freebsd-mobile mailing list