Re: [PATCH] PHYLIB: Add 1000Base-X support for Broadcom bcm5482

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nate Case
Date: Wednesday, May 14, 2008 - 3:39 pm

On Wed, 2008-05-14 at 01:02 +0100, Maciej W. Rozycki wrote:

I didn't mention this before, but I did test these myself at least on a
board with a BCM5482S in both SGMII->Copper and 1000Base-X modes.


I went ahead and revised my patch to include these.  I certainly don't
disagree with your reasoning in general.  Laziness is a big factor and
it felt faster/easier to get things merged if the change had a smaller
footprint :)


FYI: My guess for the 5481 magic bits is that they are accessing shadow
values at 0x18 similar to the way my 5481 patch uses the 0x1c shadow
registers.  It looks the same as the 5482's "Misc Control
Register" (shadow value "111", which is where the 0x7 comes from).


I'm not aware of any "official" manufacturer name for this register.
The register map has 0x15 as "reserved", but 0x15 is used for accessing
expansion registers.  I agree with your interpretation of how it's used
so I renamed it as you did in v2 of my patch.


Done

[snip]

Done (this makes me wonder why Lindent doesn't pass "-nbbo" to indent
though).


Done


I did test with 'ethtool' and link detection worked fine.  The only
catch is that it will show 1000 mbit/s even when there is no link (many
drivers report 10 mbit/s with no link present), but I wouldn't think we
should ever trust 'speed' without a link present.

v2 of the patch will follow shortly.

-- 
Nate Case <ncase@xes-inc.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] PHYLIB: Add 1000Base-X support for Broadcom bc ..., Maciej W. Rozycki, (Tue May 13, 5:02 pm)
Re: [PATCH] PHYLIB: Add 1000Base-X support for Broadcom bc ..., Nate Case, (Wed May 14, 3:39 pm)
Re: [PATCH] PHYLIB: Add 1000Base-X support for Broadcom bc ..., Maciej W. Rozycki, (Wed May 14, 4:15 pm)
Re: [PATCH] PHYLIB: Add 1000Base-X support for Broadcom bc ..., Maciej W. Rozycki, (Fri May 16, 10:18 pm)