Commit b5cdd987 authored by Kyle Evans's avatar Kyle Evans
Browse files

Revert r328964: if_awg: Skip emac reset if configured for internal PHY

This broke EFI boots consistently, and emac reset is sometimes needed if
things get into a bad state -- this won't be done without a full powercycle.
parent a12a1b47
......@@ -1834,11 +1834,9 @@ awg_attach(device_t dev)
awg_get_eaddr(dev, eaddr);
/* Soft reset EMAC core */
if (!awg_has_internal_phy(dev)) {
error = awg_reset(dev);
if (error != 0)
return (error);
error = awg_reset(dev);
if (error != 0)
return (error);
/* Setup DMA descriptors */
error = awg_setup_dma(dev);
Supports Markdown
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