Xircom Realport Cardbus Ethernet 10/100 + Modem 56
Kevin Oberman
oberman at es.net
Wed Jan 19 14:03:22 PST 2005
> Date: Wed, 19 Jan 2005 20:56:36 +0100
> From: Robert Blacquiere <freebsd at guldan.demon.nl>
> Sender: owner-freebsd-mobile at freebsd.org
>
> Hi all,
>
> I've been using this cardbus card on and off for debugging cases. And
> last time i've used it was with 5.2.1 system which worked perfect. But
> after upgrading to 5.3 and 5.3S it seems to hang my system. I've got some
> wireless 16 and 32 bit cards and all work. But this one failes badly.
>
> I got the dc0 and sio4 device which all worked.
>
> I've tried also using:
> hw.pci.allow_unsupported_io_range=1
> and have to add the following to prevent issues with the irda port.
> hw.cbb.start_16_io="0x140"
>
> Does any body know a possible solution? It's hard to get some debug info.
> Tomorrow i'll try and get dumping and some dmesg output available.
Here is a kludge to make it work. The problem is probably a combination
of a driver bug and a problem with busdma.
Scott Long has been looking into this, but I have not heard anything
from him for a while, so I guess I'll need to jog his elbow. In any
case, this patch should get you back on-line.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net Phone: +1 510 486-8634
-------------- 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