Message ID | 20140105170448.GC27432@n2100.arm.linux.org.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Jan 05, 2014 at 05:04:48PM +0000, Russell King - ARM Linux wrote: > Second thing is this which was introduced by 7a399e3a2e05 between rc6 > and rc7: > > + if (flags & OF_GPIO_ACTIVE_LOW) > + port = GPIOF_OUT_INIT_LOW; > + else > + port = GPIOF_OUT_INIT_HIGH; > > - gpio_set_value(phy_reset, 1); > + gpio_set_value(phy_reset, !port); Fabio just sent a patch to revert it, and David has queued it. Sorry for that I did not catch it. Shawn
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 45b8b22b9987..75c9b8ae31f1 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -1775,8 +1775,6 @@ fec_enet_open(struct net_device *ndev) struct fec_enet_private *fep = netdev_priv(ndev); int ret; - napi_enable(&fep->napi); - /* I should reset the ring buffers here, but I don't yet know * a simple way to do that. */ @@ -1791,6 +1789,8 @@ fec_enet_open(struct net_device *ndev) fec_enet_free_buffers(ndev); return ret; } + + napi_enable(&fep->napi); phy_start(fep->phy_dev); netif_start_queue(ndev); fep->opened = 1;