We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0066ae2 commit 47ae68bCopy full SHA for 47ae68b
1 file changed
drivers/net/ethernet/broadcom/genet/bcmgenet.c
@@ -65,9 +65,6 @@
65
66
/* Forward declarations */
67
static void bcmgenet_set_rx_mode(struct net_device *dev);
68
-static bool skip_umac_reset = true;
69
-module_param(skip_umac_reset, bool, 0444);
70
-MODULE_PARM_DESC(skip_umac_reset, "Skip UMAC reset step");
71
72
static inline void bcmgenet_writel(u32 value, void __iomem *offset)
73
{
@@ -2562,11 +2559,6 @@ static void reset_umac(struct bcmgenet_priv *priv)
2562
2559
bcmgenet_rbuf_ctrl_set(priv, 0);
2563
2560
udelay(10);
2564
2561
2565
- if (skip_umac_reset) {
2566
- pr_warn("Skipping UMAC reset\n");
2567
- return;
2568
- }
2569
-
2570
/* issue soft reset and disable MAC while updating its registers */
2571
spin_lock_bh(&priv->reg_lock);
2572
bcmgenet_umac_writel(priv, CMD_SW_RESET, UMAC_CMD);
0 commit comments