From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Yang Date: Tue, 29 Nov 2005 01:14:51 +0800 Subject: [U-Boot-Users] Can't get correct VSC8201 PHYID on MPC8347 in uboot-1.1.3 issue Message-ID: <1c3e00040511280914r2f72c0a5g@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear All, Now I use VSC8201PHY on MPC8347 with uboot-1.1.3,I think VSC8201 PHY is similar to CIS8201PHY,so I add struct phy_info_vsc8201 based on struct phy_info_cis8201 in tsec.c and related registers in tsec.h, but during bootup I meet below problem in tsec.c when it goes to read phy_id in function read_phy_reg(), the phy_id is always ffffffff, the log file is as follow: Net: TSEC initialize begin... In Read reg func PHY ID is:0 Register number MIIMADD is 2 PHY Reg after read PHYIR1 is:ffff PHY Reg High 16 bit is:ffff0000 Begin Read phy reg! In Read reg func PHY ID is:0 Register number MIIMADD is 3 PHY Reg after read PHYIR2 is:ffff Tsec: read from reg is ffffffff Freescale TSEC0: PHY id ffffffff is not supported! Freescale TSEC0: No PHY found TSEC initialize begin... In Read reg func PHY ID is:1 Register number MIIMADD is 102 PHY Reg after read PHYIR1 is:ffff PHY Reg High 16 bit is:ffff0000 Begin Read phy reg! In Read reg func PHY ID is:1 Register number MIIMADD is 103 PHY Reg after read PHYIR2 is:ffff Tsec: read from reg is ffffffff Freescale TSEC1: PHY id ffffffff is not supported! Freescale TSEC1: No PHY found Freescale TSEC0, Freescale TSEC1 Thanks in advance. Best Regards SImon