Date: Tue, 10 Nov 2009 11:49:58 +0100 From: Matthias Reyelt <Matthias.Reyelt@brunel.de> To: freebsd-arm@freebsd.org Subject: Marvell MV6281 OpenRD client mge1 Message-ID: <200911101150.00262.Matthias.Reyelt@brunel.de> In-Reply-To: <200911061435.57673.Matthias.Reyelt@brunel.de> References: <200911040956.09749.Matthias.Reyelt@brunel.de> <200911051623.56583.Matthias.Reyelt@brunel.de> <200911061435.57673.Matthias.Reyelt@brunel.de>
index | next in thread | previous in thread | raw e-mail
Hi, I have changed the PHY address for mge1 to 0x18 in the code, and the second PHY is now correctly detected. I can ifconfig the interface and I am able to receive packets. I am not able to send packets yet. If I ping mge1 over the network tcpdump reports the ARP requests and it reports the ARP replies as well. The replies do not reach the cable though. (They aren't sent to mge0 either). I haven't yet found out, where the packets get lost, they seem to pass mge_start_locked() correctly. I will check the register settings. Matthias Am Freitag 06 November 2009 14:35:55 schrieb Matthias Reyelt: > Hi, > > I have built a linux kernel with some debug code and found out that the base > address for the second phy is not at 0x09 but at 0x18. Actually it's in the > config files, but I wasn't looking for an extra configuration for this board > before. > > I think this would require a patch to mge_miibus_readreg(), because it's a > different mapping. Is that correct? > > I will do a quick patch on monday to test it. Are there other files that have > to be patched, Rafal? > > Matthias > > -- Dr.-Ing. Matthias Reyelt Master Software Designer Brunel GmbH Bereich Communications Daimlerring 9 31135 Hildesheim Tel: +49 5121 1760 805 Fax: +49 5121 1760 999 email: Matthias.Reyelt@brunel.de Internet: www.brunel.de Hauptsitz: Airport City, Hermann-Köhl-Str. 1, 28199 Bremen Amtsgericht Bremen HRB 16935 General Manager: Johan Arie van Barneveldhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911101150.00262.Matthias.Reyelt>
