lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 27 Feb 2007 04:16:35 -0500 From: Jeff Garzik <jeff@...zik.org> To: Linas Vepstas <linas@...tin.ibm.com> CC: Benjamin Herrenschmidt <benh@...nel.crashing.org>, kou.ishizaki@...hiba.co.jp, arnd@...db.de, Jens Osterkamp <jens@...ibm.com>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 1/12]: sungem_phy: support bcm5461 phy, autoneg. Linas Vepstas wrote: > From: Jens Osterkamp <jens@...ibm.com> > > This version moves the medium variable to the card specific structure and > changes the GMII_* to BCM54XX_* #defines. > > This patch adds improved version of enable_fiber for both the 5421 and > the 5461 phy. It is now possible to specify with these wether you want > autonegotiation or not. This is needed for bladecenter switches where > some expect autonegotiation and some dont seem to like this at all. > Depending on this flag it sets phy->autoneg accordingly for the fiber mode. > > More importantly it implements proper read_link and poll_link functions > for both phys which can handle both copper and fiber mode by determining > the medium first and then branching to the required functions. For fiber > they all work fine, for copper they are not tested but return the result > of the genmii_* function anyway which is supposed to work. > > The patch moves the genmii_* functions around to avoid foreward declarations. > > Signed-off-by: Jens Osterkamp <jens@...ibm.com> > Signed-off-by: Arnd Bergmann <arnd.bergmann@...ibm.com> > Signed-off-by: Linas Vepstas <linas@...tin.ibm.com> > > ---- > drivers/net/sungem_phy.c | 389 ++++++++++++++++++++++++++++++----------------- > drivers/net/sungem_phy.h | 10 + > 2 files changed, 263 insertions(+), 136 deletions(-) applied 1-12 - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists