summaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-12-20 13:06:36 -0800
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:45 -0500
commitae306cca3ada3c84f3e30e1091a98d99ee1d0557 (patch)
tree3cb3db2afd55f42023821b2ffd7235aa6638d381 /drivers/net/sky2.h
parent1d39ed565cfcc7c4fe586de621aef495c4f94ffb (diff)
downloadlinux-ae306cca3ada3c84f3e30e1091a98d99ee1d0557.tar.gz
linux-ae306cca3ada3c84f3e30e1091a98d99ee1d0557.tar.bz2
linux-ae306cca3ada3c84f3e30e1091a98d99ee1d0557.zip
sky2: better power state management
Improve power management and error handling by using pci_set_power_state(), instead of driver doing PCI PM register changes in the driver. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r--drivers/net/sky2.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 6ed1d47dbbd3..1f56600aad86 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -1887,7 +1887,6 @@ struct sky2_hw {
struct pci_dev *pdev;
struct net_device *dev[2];
- int pm_cap;
u8 chip_id;
u8 chip_rev;
u8 pmd_type;