Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2005 15:20:44 +0100
From:      Robert Blacquiere <freebsd@guldan.demon.nl>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Xircom Realport Cardbus Ethernet 10/100 + Modem 56
Message-ID:  <20050124142044.GD95046@bombur.guldan.demon.nl>
In-Reply-To: <20050123.195333.99608270.imp@bsdimp.com>
References:  <20050119195635.GC61467@bombur.guldan.demon.nl> <20050119220321.4A2E95D08@ptavv.es.net> <20050120122810.GD61467@bombur.guldan.demon.nl> <20050123.195333.99608270.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 23, 2005 at 07:53:33PM -0700, M. Warner Losh wrote:
> In message: <20050120122810.GD61467@bombur.guldan.demon.nl>
>             Robert Blacquiere <freebsd@guldan.demon.nl> writes:
> : On Wed, Jan 19, 2005 at 02:03:21PM -0800, Kevin Oberman wrote:
> : <snip>
> : > 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.
> : 
> : 
> : This patch prevents atleast the hang, but still the driver(s) can't locate io mem
> : or resources (i suspect). The interface will not be enabled. 
> : 
> : dc0: <Xircom X3201 10/100BaseTX> port 0x2100-0x217f mem \
> : 0x88000000-0x880007ff,0x88000800-0x88000fff irq 11 \
> : at device 0.0 on cardbus1
> : dc0: MII without any PHY!
> : device_attach: dc0 attach returned 6
> : sio4: configured irq 11 not in bitmap of probed irqs 0
> : sio4: port may not be enabled
> : sio4: configured irq 11 not in bitmap of probed irqs 0
> : sio4: port may not be enabled
> : cardbus1: <simple comms, UART> at device 0.1 (no driver attached)
> : cbb1: CardBus card activation failed
> : 
> : I've tried setting hw.pci.allow_unsupported_io_range="1"
> : but that does not make any difference. 
> 
> This is now a nop, so setting it to anything won't do a dang thing.

Ok .. 
> 
> : Any clues to get this adaptor working?
> 
> Chances are you need to find a better adddress to locate things at...
> 

Yep thats what was ... after setting (hw.cbb.start_16_io needed for wireless card) 
hw.cbb.start_32_io and hw.cbb.start_memory it works again. 

dc0: <Xircom X3201 10/100BaseTX> port 0x8000-0x807f mem 0x40001000-0x400017ff,0x40001800-0x40001fff irq 11 at device 0.0 on cardbus1
miibus1: <MII bus> on dc0
tdkphy0: <TDK 78Q2120 media interface> on miibus1
tdkphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:10:a4:e8:e3:a3
dc0: if_start running deferred for Giant
dc0: [GIANT-LOCKED]
sio4: <Xircom Cardbus modem> port 0x8080-0x8087 mem 0x40001000-0x400017ff,0x40001800-0x40001fff irq 11 at device 0.1 on cardbus1
sio4: type 16550A
sio4: unable to activate interrupt in fast mode - using normal mode


> Warner
> 

So i'me happy again ;-) 

Robert

-- 
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?
OpenBSD: Hey guys you left some holes out there!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050124142044.GD95046>