|
@@ -357,7 +357,6 @@ static void smc_phy_configure(int ioaddr)
|
357
|
357
|
word my_phy_caps; // My PHY capabilities
|
358
|
358
|
word my_ad_caps; // My Advertised capabilities
|
359
|
359
|
word status;
|
360
|
|
- int failed = 0;
|
361
|
360
|
int rpc_cur_mode = RPC_DEFAULT;
|
362
|
361
|
int lastPhy18;
|
363
|
362
|
|
|
@@ -464,14 +463,12 @@ static void smc_phy_configure(int ioaddr)
|
464
|
463
|
if (timeout < 1)
|
465
|
464
|
{
|
466
|
465
|
PRINTK2("PHY auto-negotiate timed out\n");
|
467
|
|
- failed = 1;
|
468
|
466
|
}
|
469
|
467
|
|
470
|
468
|
// Fail if we detected an auto-negotiate remote fault
|
471
|
469
|
if (status & PHY_STAT_REM_FLT)
|
472
|
470
|
{
|
473
|
471
|
PRINTK2("PHY remote fault detected\n");
|
474
|
|
- failed = 1;
|
475
|
472
|
}
|
476
|
473
|
|
477
|
474
|
// Set our sysctl parameters to match auto-negotiation results
|