--- linux-2.6.3/drivers/net/sis900.c 2004-03-08 20:50:05.000000000 +0100 +++ linux-2.6.3-bc/drivers/net/sis900.c 2004-02-20 14:56:00.000000000 +0100 @@ -18,6 +18,7 @@ preliminary Rev. 1.0 Jan. 18, 1998 http://www.sis.com.tw/support/databook.htm + Jan. 7 2004 Grischa Jacobs - Skip mii's with MII_STAT_FAULT set Rev 1.08.07 Nov. 2 2003 Daniele Venzano add suspend/resume support Rev 1.08.06 Sep. 24 2002 Mufasa Yang bug fix for Tx timeout & add SiS963 support Rev 1.08.05 Jun. 6 2002 Mufasa Yang bug fix for read_eeprom & Tx descriptor over-boundary @@ -541,6 +542,10 @@ /* the mii is not accessible, try next one */ continue; + if (mii_status & MII_STAT_FAULT) + /* ignore mii with the fault bit set */ + continue; + if ((mii_phy = kmalloc(sizeof(struct mii_phy), GFP_KERNEL)) == NULL) { printk(KERN_INFO "Cannot allocate mem for struct mii_phy\n"); mii_phy = sis_priv->first_mii;