aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/et131x/et1310_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/et131x/et1310_mac.c')
-rw-r--r--drivers/staging/et131x/et1310_mac.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/et131x/et1310_mac.c b/drivers/staging/et131x/et1310_mac.c
index 7ac8209a686..712a49ed410 100644
--- a/drivers/staging/et131x/et1310_mac.c
+++ b/drivers/staging/et131x/et1310_mac.c
@@ -102,7 +102,6 @@ void ConfigMACRegs1(struct et131x_adapter *etdev)
102 MAC_STATION_ADDR1_t station1; 102 MAC_STATION_ADDR1_t station1;
103 MAC_STATION_ADDR2_t station2; 103 MAC_STATION_ADDR2_t station2;
104 u32 ipg; 104 u32 ipg;
105 MII_MGMT_CFG_t mii_mgmt_cfg;
106 105
107 /* First we need to reset everything. Write to MAC configuration 106 /* First we need to reset everything. Write to MAC configuration
108 * register 1 to perform reset. 107 * register 1 to perform reset.
@@ -122,11 +121,7 @@ void ConfigMACRegs1(struct et131x_adapter *etdev)
122 writel(0, &pMac->if_ctrl.value); 121 writel(0, &pMac->if_ctrl.value);
123 122
124 /* Let's move on to setting up the mii management configuration */ 123 /* Let's move on to setting up the mii management configuration */
125 mii_mgmt_cfg.bits.reset_mii_mgmt = 0; 124 writel(0x07, &pMac->mii_mgmt_cfg); /* Clock reset 0x7 */
126 mii_mgmt_cfg.bits.scan_auto_incremt = 0;
127 mii_mgmt_cfg.bits.preamble_suppress = 0;
128 mii_mgmt_cfg.bits.mgmt_clk_reset = 0x7;
129 writel(mii_mgmt_cfg.value, &pMac->mii_mgmt_cfg.value);
130 125
131 /* Next lets configure the MAC Station Address register. These 126 /* Next lets configure the MAC Station Address register. These
132 * values are read from the EEPROM during initialization and stored 127 * values are read from the EEPROM during initialization and stored