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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 10 Mar 2009 10:39:15 +0100
From:	Lennert Buytenhek <buytenh@...tstofly.org>
To:	Jesper Dangaard Brouer <jdb@...x.dk>
Cc:	Jesper Dangaard Brouer <hawk@...u.dk>,
	Gary Thomas <gary@...assoc.com>,
	netdev <netdev@...r.kernel.org>
Subject: Re: Marvell 88E609x switch?

On Mon, Mar 02, 2009 at 11:56:22AM +0100, Jesper Dangaard Brouer wrote:

> > The main conclusion so far is that this write (net/dsa/mv88e6131.c):
> > 
> > 	/*
> > 	 * MAC Forcing register: don't force link, speed, duplex
> > 	 * or flow control state to any particular values.
> > 	 */
> >	REG_WRITE(addr, 0x01, 0x0003);
> 
> This sort of enables auto-detection of speed.
> 
> > isn't correct on ports that can either be CPU ports or external ports.
> 
> For external ports I had to enabled the PPU to allow the external PHYs
> to negotiate.

The PPU should be re-enabled 10ms after the last MII access.


> Also, on external PHYs ports 8 and 9, I write 0x0403 not 0x0003 (to
> register 0x1, PCS Control Register).  Which also enables inband
> auto-negotiation, but I'm not sure this is necessary.

Not sure whether it is.  Gary?


> > Forcing the link up on the CPU port helps somewhat, but things aren't
> > 100% working yet.
> 
> On the CPU port I force link-up and force speed+duplex setting.  I only
> got 100Mbit/s to the CPU port...

I suppose the cpu port speed should be made into a platform data
config option in case there's only a 100 Mb/s link on a gigabit
capable switch?
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ