Commit 10c2756c authored by Alessandro Rubini's avatar Alessandro Rubini

kernel/wr_nic: don't write to DMCR (neither spec nor switch)

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 56568ea0
......@@ -201,12 +201,6 @@ int wrn_ep_open(struct net_device *dev)
| EP_ECR_RX_EN,
&ep->ep_regs->ECR);
/* Setup DMCR */
writel(0
| EP_DMCR_EN
| EP_DMCR_N_AVG_W(256 /* DMTD_AVG_SAMPLES */),
&ep->ep_regs->DMCR);
wrn_phy_write(dev, 0, MII_LPA, 0);
wrn_phy_write(dev, 0, MII_BMCR, BMCR_ANENABLE | BMCR_ANRESTART);
......
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