Re: Call for stge(4) testers

From: Bill Paul <wpaul_at_FreeBSD.ORG>
Date: Fri, 7 Jul 2006 04:53:44 +0000 (GMT)
> On Thu, Jul 06, 2006 at 11:52:39AM +0000, Csaba Henk wrote:
>  > On 2006-07-06, Pyun YongHyeon <pyunyh_at_gmail.com> wrote:
>  > > What model/maker you've got(pciconf -lv output)?
>  > 
>  > stge0_at_pci0:11:0:        class=0x020000 card=0x545013f0 chip=0x102113f0 rev=0x07 hdr=0x00
>  >     vendor   = 'Sundance Technology Inc'
>  >     class    = network
>  >     subclass = ethernet
>  > 
>  > And this is what shows up in dmesg:
>  > 
>  > Jul  6 07:50:23 leavemealone kernel: stge0: <Sundance TC9021 Gigabit Ethernet> port 0xe000-0xe0ff mem 0xef000000-0xef0001ff irq 11 at device 11.0 on pci0
>  > Jul  6 07:50:23 leavemealone kernel: stge0: phy read fail
>  > Jul  6 07:50:23 leavemealone last message repeated 31 times
>  > Jul  6 07:50:23 leavemealone kernel: miibus2: <MII bus> on stge0
>  > Jul  6 07:50:23 leavemealone kernel: e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus2
>  > Jul  6 07:50:23 leavemealone kernel: e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
>  > 
> 
> Since your NIC has a Marvell PHY and shows many "phy read fail"
> message I have to investigate the root cause. I don't have
> TC9021 NIC with Marvell PHY. So I can't sure I can fix it.
> 
> Does ifconfig(8) reports correct link speed/status?
> Does "phy read fail" message shows only at device attach time?

FYI: I don't know if you have them or not, but a long time ago I
stashed away copies of the TC9020/TC9021 programming manuals. The
provenance of these parts is a little murky. I first learned of them
as being Sundance Technologies devices, but later I found references to
them belonging to a company called Tamarack M.I. Later still, a
company called ICplus ended up with them. ICplus eventually produced
a single chip device combining the TC902x MAC with an integrated PHY
(though I've yet to actually see a NIC that uses these anywhere).

Sundance and Tamarack seem to have disappeared, but ICplus is still
around (www.icplus.com.tw) and they still have the gigE MAC and PHY
manuals online. They deleted the original TC902x manuals from their site,
but I saved copies. :) I put all the manuals I have for these devices at
http://www.freebsd.org/~wpaul/Sundance along with the original ST201
manual. Note that I didn't have to sign any NDAs to get any of these.

In case you can't tell, the hardware API for the ST201 and the TC902x
is copied very closely from the 3Com 3c90xB/3c90xC devices.

Anyway, I'm posting these in case they help with maintaining the driver
(or if anyone just wants to tinker around with the hardware). Share
and enjoy!

-Bill

--
=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul_at_windriver.com | Wind River Systems
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================
Received on Fri Jul 07 2006 - 02:53:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC