Commit e855dcec authored by Scott Feldman's avatar Scott Feldman Committed by Stephen Hemminger

[e100] PRO/10+ not configured properly

* PRO/10+ (10 Mbps-only card) was not configured properly so it didn't
pass traffic.
parent 975104f7
...@@ -60,7 +60,7 @@ static const u8 def_config[] = { ...@@ -60,7 +60,7 @@ static const u8 def_config[] = {
* All other init functions will only set values that are * All other init functions will only set values that are
* different from the 82557 default. * different from the 82557 default.
*/ */
static void __devinit void __devinit
e100_config_init_82557(struct e100_private *bdp) e100_config_init_82557(struct e100_private *bdp)
{ {
/* initialize config block */ /* initialize config block */
......
...@@ -151,6 +151,7 @@ ...@@ -151,6 +151,7 @@
/* function prototypes */ /* function prototypes */
extern void e100_config_init(struct e100_private *bdp); extern void e100_config_init(struct e100_private *bdp);
extern void e100_config_init_82557(struct e100_private *bdp);
extern unsigned char e100_force_config(struct e100_private *bdp); extern unsigned char e100_force_config(struct e100_private *bdp);
extern unsigned char e100_config(struct e100_private *bdp); extern unsigned char e100_config(struct e100_private *bdp);
extern void e100_config_fc(struct e100_private *bdp); extern void e100_config_fc(struct e100_private *bdp);
......
...@@ -1404,6 +1404,9 @@ e100_hw_init(struct e100_private *bdp) ...@@ -1404,6 +1404,9 @@ e100_hw_init(struct e100_private *bdp)
bdp->flags |= DF_UCODE_LOADED; bdp->flags |= DF_UCODE_LOADED;
} }
if ((u8) bdp->rev_id < D101A4_REV_ID)
e100_config_init_82557(bdp);
if (!e100_config(bdp)) if (!e100_config(bdp))
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment