a MII problem about some 21143 board and its resolution

bswang bswang@nudt.edu.cn
Mon Mar 1 19:30:42 1999


This is a multi-part message in MIME format.

------=_NextPart_000_001F_01BE6485.0AD7DEE0
Content-Type: text/plain;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

Hello all, I am a programmer,I  write a driver for digital21143 =
evaluation
board,its MII chip is ML6692.
   I find the ML6692's IEEE id is all 0xFFFF for all MII addr(0-31),so I =
use=20
the GENERIC value to set the  MII Control reg,the MII addr is 0, it =
worked.
   So  if you come across this problem,please modify the driver ,not as =
:
  int mii_status =3D mdio_read(dev, phy, 1);
  if (mii_status !=3D 0xffff  &&  mii_status !=3D 0x0000) {

in tulip.c.



                                                                    =
Trevor.


------=_NextPart_000_001F_01BE6485.0AD7DEE0
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">






Hello all, I am a programmer,I  = write a=20 driver for digital21143 evaluation
board,its MII chip is = ML6692.
   I find the ML6692's = IEEE id is all=20 0xFFFF for all MII addr(0-31),so I use
the GENERIC value to set = the  MII Control reg,the MII addr is 0, it = worked.
   So  if you come = across this=20 problem,please modify the driver ,not as :
  int = mii_status =3D=20 mdio_read(dev, phy, 1);
  if (mii_status !=3D = 0xffff =20 &&  mii_status !=3D 0x0000) {
 
in tulip.c.
 
 
 
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;       =20 Trevor.
 
------=_NextPart_000_001F_01BE6485.0AD7DEE0--