summaryrefslogtreecommitdiff
path: root/drivers/net/atlx/atlx.h
diff options
context:
space:
mode:
authorJay Cliburn <jacliburn@bellsouth.net>2008-05-09 22:12:06 -0500
committerJeff Garzik <jgarzik@redhat.com>2008-05-13 01:30:23 -0400
commitff772b27e5f65c1a186e9f0741f0d00ef7002799 (patch)
treeb6b14b9f4900ba8121af9f7ac81807822e6b7268 /drivers/net/atlx/atlx.h
parentf403ede70518c131ba8bebbacaf182927a58a315 (diff)
atl1: add PHY power save mode
Using vendor-provided magic, add code to enter power save mode on the PHY. We'll need this for suspend and wake-on-lan. Signed-off-by: Jay Cliburn <jacliburn@bellsouth.net> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/atlx/atlx.h')
-rw-r--r--drivers/net/atlx/atlx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/atlx/atlx.h b/drivers/net/atlx/atlx.h
index 3be7c09734d4..96721881ad66 100644
--- a/drivers/net/atlx/atlx.h
+++ b/drivers/net/atlx/atlx.h
@@ -460,6 +460,9 @@ MODULE_VERSION(ATLX_DRIVER_VERSION);
#define MII_ATLX_PSSR_100MBS 0x4000 /* 01=100Mbs */
#define MII_ATLX_PSSR_1000MBS 0x8000 /* 10=1000Mbs */
+#define MII_DBG_ADDR 0x1D
+#define MII_DBG_DATA 0x1E
+
/* PCI Command Register Bit Definitions */
#define PCI_REG_COMMAND 0x04 /* PCI Command Register */
#define CMD_IO_SPACE 0x0001