Date: Wed, 16 Feb 2005 11:51:35 -0500 (EST) From: Daniel Eischen <deischen@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-mobile@freebsd.org Subject: Re: dc no worky with <Xircom X3201 10/100BaseTX>, also LOR Message-ID: <Pine.GSO.4.43.0502161138360.3661-100000@sea.ntplx.net> In-Reply-To: <20050216.084004.117280004.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Feb 2005, M. Warner Losh wrote:
> Dan,
>
> My Xircom cardbus cards work here for me, and I didn't see anything
> odd enough to explain WHY things went south, only that they did.
> Which one is the X3201? Maybe I don't see this because I'm trying the
> wrong cards or don't yet own one (shocking, I know!).
Both the Xircom Ethernet II w/modem and Xircom Ethernet II
(w/out modem) show themselves as X3201. But the card without
the modem doesn't work. dc_mii_readreg() always reads 0
whenever called. There doesn't seem to be any MII device
out there (well, responding).
Here's some debug info. I added a printf in if_dc.c:736:
if (ack)
+{
+printf("dc_mii_readreg: ack ok, read %d\n", frame->mii_data);
return (1);
+}
--
DE
Feb 12 02:02:07 orion kernel: Status is 0x30000920
cbb1: card inserted: event=0x00000000, state=30000920
cbb1: cbb_power: 3V
TUPLE: LINKTARGET [3]: 43 49 53
Product version: 5.0
Product name: Xircom | CardBus Ethernet II 10/100 | CBEII-10/100 | 1.03
TUPLE: Unknown(0x88) [4]: 48 f5 1b 00
TUPLE: Unknown(0x8a) [12]: 39 30 30 36 46 48 31 42 46 35 34 38
TUPLE: Unknown(0x8b) [4]: 00 00 00 00
Manufacturer ID: 0501030181
TUPLE: Unknown(0x44) [4]: e8 51 53 31
Functions: Network Adaptor, Multi-Functioned
Function Extension: 04060010a41bf548
Function Extension: 0102
Function Extension: 0280969800
Function Extension: 0200e1f505
Function Extension: 0301
Function Extension: 0303
Function Extension: 0501
TUPLE: Unknown(0x1c) [4]: 02 4f 02 ff
cardbus1: Opening BAR: type=IO, bar=10, len=0080
cardbus1: Opening BAR: type=MEM, bar=14, len=0800 (Prefetchable)
cardbus1: Opening BAR: type=MEM, bar=18, len=0800 (Prefetchable)
TUPLE: Unknown(0x04) [7]: 03 02 03 01 00 00 ff
TUPLE: Unknown(0x05) [8]: 41 b0 b0 bc 8e 0e fb 04
TUPLE: Unknown(0x05) [9]: 02 b8 02 b0 bc 8e 1c fb 04
TUPLE: Unknown(0x14) [0]:
CIS reading done
pcib2: device cardbus0 requested decoded memory range 0xf4000000-0xfbffffff
pcib2: device cardbus0 requested decoded memory range 0xf4000000-0xfbffffff
pcib2: device cardbus0 requested decoded I/O range 0xe000-0xffff
found-> vendor=0x115d, dev=0x0003, revid=0x03
bus=4, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0000, statreg=0x0210, cachelnsz=8 (dwords)
lattimer=0xa8 (5040 ns), mingnt=0x14 (5000 ns), maxlat=0x28 (10000 ns)
intpin=a, irq=222
powerspec 2 supports D0 D1 D2 D3 current D0
dc0: <Xircom X3201 10/100BaseTX> port 0xe000-0xe07f mem 0xf4002000-0xf40027ff,0xf4002800-0xf4002fff irq 11 at device 0.0 on cardbus0
pcib2: device dc0 requested decoded I/O range 0xe000-0xe07f
dc_mii_readreg: ack ok, read 0
last message repeated 31 times
dc0: MII without any PHY!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0502161138360.3661-100000>
