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

Daniel Eischen <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
if_dc.diff (text/plain, 530 B)
--- 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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.