Neteasy DRP-32TXD ethernet problems on FreeBSD 6.0

John Baldwin jhb at freebsd.org
Thu Mar 16 14:00:46 UTC 2006


On Thursday 16 March 2006 05:42 am, Lila wrote:
> John Baldwin ha scritto:
> > Patching the module should be fine.  Can you provide the output of dmesg
> > after you have kldloaded the module?  Also, did the patch apply cleanly
> > or where there any rejects?  And, what version are you testing this on?
>
> I finally managed to build and install my kernel with patched drivers.
> I'm working with FreeBSD 6.0-out-of-the-box (waiting for ethernet before
> I can
> Patch applied with no problem to both files.
> I'm sorry but my kernel with no ethernet was unstable, so I could not
> get a dmesg when I kloaded if_de (it only worked once...)
> Now the output when I insert my etherenet card (or I boot with card
> inserted) is this:
>
> TUPLE: LINKTARGET [3]: 43 49 53
> Manufacturer ID: d11302ab
> Functions: Network Adaptor, Memory
> Function Extension: 0102
> Function Extension: 0280969800
> Function Extension: 0200e1f505
> Function Extension: 0301
> Product version: 5.0
> Product name: Neteasy | DRP-32TXD Cardbus PC Card | V1.0 |  |
> TUPLE: Unknown(0x04) [6]: 03 01 2a 00 00 00
> cardbus0: Opening BAR: type=IO, bar=10, len=0100
> cardbus0: Opening BAR: type=MEM, bar=14, len=0400
> CIS reading done
> cardbus0: Non-prefetchable memory at 88000000-880003ff
> cardbus0: IO port at 1000-10ff
> found->	vendor=0x1186, dev=0x1561, revid=0x11
> 	bus=2, slot=0, func=0
> 	class=02-00-00, hdrtype=0x00, mfdev=0
> 	cmdreg=0x0000, statreg=0x0290, cachelnsz=8 (dwords)
> 	lattimer=0xa8 (5040 ns), mingnt=0xff (63750 ns), maxlat=0xff (63750 ns)
> 	intpin=a, irq=10
> 	powerspec 2  supports D0 D1 D2 D3  current D0
> dc0: <Neteasy DRP-32TXD Cardbus 10/100> port 0x1000-0x10ff mem
> 0x88000000-0x880003ff irq 10 at device 0.0 on cardbus0
> dc0: MII without any PHY!
> device_attach: dc0 attach returned 6
>
> I'm googling the "MII without any PHY" problem but haven't found a
> solution right now.
> thanks a lot for your attention.
> Lila

I think I see it.  In the Linux driver they treat all the ADMTek cards
the same (as COMET).  In dc(4), the ADMTek cards are split into two
classes: the AL981 and the AN985.  All the extra rebadge IDs are for
the AN985, but I treated your card as an AL981 when it is probably an
AN985.  I just updated the patch at 
http://www.FreeBSD.org/~jhb/patches/drp-32txd.patch.  Please try the newer 
patch and let me know if it works.  Thanks!

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-arch mailing list