summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-11-23 23:29:18 +0000
committeryongari <yongari@FreeBSD.org>2011-11-23 23:29:18 +0000
commitbf1680595f0cbf23350569e351d6b1eb3434b3f6 (patch)
tree139086061f0f9b0146e722ff915bf9c3e8601cb1 /sys/pci
parent59c40435df4cc5e4b692d0b1588298e0754c3342 (diff)
downloadFreeBSD-src-bf1680595f0cbf23350569e351d6b1eb3434b3f6.zip
FreeBSD-src-bf1680595f0cbf23350569e351d6b1eb3434b3f6.tar.gz
To save more power, switch to 10/100Mbps link when controller is
put into suspend/shutdown. Old PCI controllers performed that operation in firmware but for RTL8111C or newer controllers, it's responsibility of driver. It's not clear whether the firmware of RTL8111B still downgrades its speed to 10/100Mbps so leave it as it was.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_rlreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h
index a891b60..32256ad 100644
--- a/sys/pci/if_rlreg.h
+++ b/sys/pci/if_rlreg.h
@@ -914,6 +914,7 @@ struct rl_softc {
#define RL_FLAG_MACSLEEP 0x00002000
#define RL_FLAG_WAIT_TXPOLL 0x00004000
#define RL_FLAG_CMDSTOP_WAIT_TXQ 0x00008000
+#define RL_FLAG_WOL_MANLINK 0x00010000
#define RL_FLAG_PCIE 0x40000000
#define RL_FLAG_LINK 0x80000000
};
OpenPOWER on IntegriCloud