From: Pete P. <pp...@us...> - 2002-08-19 19:07:34
|
Update of /cvsroot/linux-mips/linux/drivers/net In directory usw-pr-cvs1:/tmp/cvs-serv13195/drivers/net Modified Files: au1000_eth.c au1000_eth.h Log Message: LSI docs incorrectly listed the bit positions for speed and duplex. Index: au1000_eth.c =================================================================== RCS file: /cvsroot/linux-mips/linux/drivers/net/au1000_eth.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- au1000_eth.c 12 Aug 2002 16:12:03 -0000 1.11 +++ au1000_eth.c 19 Aug 2002 19:07:27 -0000 1.12 @@ -251,6 +251,8 @@ /* restart auto-negotiation */ mdio_write(dev, phy_addr, 0, 0x3200); + mdelay(1); + /* set up LEDs to correct display */ mdio_write(dev, phy_addr, 17, 0xffc0); Index: au1000_eth.h =================================================================== RCS file: /cvsroot/linux-mips/linux/drivers/net/au1000_eth.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- au1000_eth.h 2 Apr 2002 22:59:39 -0000 1.4 +++ au1000_eth.h 19 Aug 2002 19:07:27 -0000 1.5 @@ -127,9 +127,8 @@ #define MII_STSSUM_SPD 0x0001 /* lsi status register */ - -#define MII_LSI_STAT_FDX 0x0008 -#define MII_LSI_STAT_SPD 0x0010 +#define MII_LSI_STAT_FDX 0x0040 +#define MII_LSI_STAT_SPD 0x0080 /* Auxilliary Control/Status Register */ #define MII_AUX_FDX 0x0001 |