diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-11-08 10:33:40 -0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-08 23:58:07 -0500 |
commit | adba9e23b4066f1d741a2076fc6ad18b6c0cea44 (patch) | |
tree | ca77fccedcc52d4b5850b2823a4e4ad5e840ddd1 /drivers/net/skge.h | |
parent | 3133c5e896c0b2509e72ae0c2cb9452c80d47f46 (diff) | |
download | lwn-adba9e23b4066f1d741a2076fc6ad18b6c0cea44.tar.gz lwn-adba9e23b4066f1d741a2076fc6ad18b6c0cea44.zip |
[PATCH] skge: clear PCI PHY COMA mode on boot
When skge is booted up, the PHY may be stuck in power down state
by the previous OS. So we may need to turn it on.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r-- | drivers/net/skge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index 72c175b87a5a..ee123c15f545 100644 --- a/drivers/net/skge.h +++ b/drivers/net/skge.h @@ -6,6 +6,8 @@ /* PCI config registers */ #define PCI_DEV_REG1 0x40 +#define PCI_PHY_COMA 0x8000000 +#define PCI_VIO 0x2000000 #define PCI_DEV_REG2 0x44 #define PCI_REV_DESC 0x4 |