aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/e1000/if_igb.c
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2015-09-19 18:22:59 +0000
committerSean Bruno <sbruno@FreeBSD.org>2015-09-19 18:22:59 +0000
commite373323fe2e14f8dd01df3aed1da059a15150e46 (patch)
tree0331f25959d02822879e41bdb0345bd11f2db9ed /sys/dev/e1000/if_igb.c
parent6fcd667fd6a9c9617eb3127522560ce8e48bc194 (diff)
Revert 287914,287762.
Reports of breakage on igb(4) have been narrowed down to 287762 and 287914 is an dependant change. Submitted by: erj
Notes
Notes: svn path=/head/; revision=287990
Diffstat (limited to 'sys/dev/e1000/if_igb.c')
-rw-r--r--sys/dev/e1000/if_igb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index beb42f1a43fc..696fec41a264 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -541,9 +541,9 @@ igb_attach(device_t dev)
"Disable Energy Efficient Ethernet");
if (adapter->hw.phy.media_type == e1000_media_type_copper) {
if (adapter->hw.mac.type == e1000_i354)
- e1000_set_eee_i354(&adapter->hw, TRUE, TRUE);
+ e1000_set_eee_i354(&adapter->hw);
else
- e1000_set_eee_i350(&adapter->hw, TRUE, TRUE);
+ e1000_set_eee_i350(&adapter->hw);
}
}
@@ -1330,9 +1330,9 @@ igb_init_locked(struct adapter *adapter)
/* Set Energy Efficient Ethernet */
if (adapter->hw.phy.media_type == e1000_media_type_copper) {
if (adapter->hw.mac.type == e1000_i354)
- e1000_set_eee_i354(&adapter->hw, TRUE, TRUE);
+ e1000_set_eee_i354(&adapter->hw);
else
- e1000_set_eee_i350(&adapter->hw, TRUE, TRUE);
+ e1000_set_eee_i350(&adapter->hw);
}
}