Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143648350
D50045.id54425.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
718 B
Referenced Files
None
Subscribers
None
D50045.id54425.diff
View Options
diff --git a/sys/dev/mii/e1000phy.c b/sys/dev/mii/e1000phy.c
--- a/sys/dev/mii/e1000phy.c
+++ b/sys/dev/mii/e1000phy.c
@@ -185,6 +185,11 @@
{
uint16_t reg, page;
+ /* Undo power-down / isolate */
+ reg = PHY_READ(sc, E1000_CR);
+ reg &= ~(E1000_CR_ISOLATE | E1000_CR_POWER_DOWN);
+ PHY_WRITE(sc, E1000_CR, reg);
+
reg = PHY_READ(sc, E1000_SCR);
if ((sc->mii_flags & MIIF_HAVEFIBER) != 0) {
reg &= ~E1000_SCR_AUTO_X_MODE;
@@ -353,6 +358,8 @@
reg = PHY_READ(sc, E1000_CR);
reg &= ~E1000_CR_AUTO_NEG_ENABLE;
+ /* Undo power-down / isolate */
+ reg &= ~(E1000_CR_ISOLATE | E1000_CR_POWER_DOWN);
PHY_WRITE(sc, E1000_CR, reg | E1000_CR_RESET);
if (IFM_SUBTYPE(ife->ifm_media) == IFM_1000_T) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 1, 4:13 AM (7 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28270731
Default Alt Text
D50045.id54425.diff (718 B)
Attached To
Mode
D50045: mii: Change e1000phy (Marvell 88E1000) PHYs to disable power down / isolate
Attached
Detach File
Event Timeline
Log In to Comment