Skip to content

Commit 4e7462f

Browse files
nbuchwitzpelwell
authored andcommitted
Revert "net: bcmgenet: Add 'eee' module parameter"
This reverts commit 712989f.
1 parent c5594cb commit 4e7462f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

drivers/net/ethernet/broadcom/genet/bcmgenet.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ static void bcmgenet_set_rx_mode(struct net_device *dev);
6868
static bool skip_umac_reset = false;
6969
module_param(skip_umac_reset, bool, 0444);
7070
MODULE_PARM_DESC(skip_umac_reset, "Skip UMAC reset step");
71-
static bool eee = true;
72-
module_param(eee, bool, 0444);
73-
MODULE_PARM_DESC(eee, "Enable EEE (default Y)");
7471

7572
static inline void bcmgenet_writel(u32 value, void __iomem *offset)
7673
{
@@ -3367,17 +3364,6 @@ static int bcmgenet_open(struct net_device *dev)
33673364

33683365
bcmgenet_phy_pause_set(dev, priv->rx_pause, priv->tx_pause);
33693366

3370-
if (!eee) {
3371-
struct ethtool_keee eee_data;
3372-
3373-
ret = bcmgenet_get_eee(dev, &eee_data);
3374-
if (ret == 0) {
3375-
eee_data.eee_enabled = 0;
3376-
bcmgenet_set_eee(dev, &eee_data);
3377-
netdev_warn(dev, "EEE disabled\n");
3378-
}
3379-
}
3380-
33813367
bcmgenet_netif_start(dev);
33823368

33833369
netif_tx_start_all_queues(dev);

0 commit comments

Comments
 (0)