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>
This commit is contained in:
Stephen Hemminger
2006-12-20 13:06:36 -08:00
committed by Jeff Garzik
parent 1d39ed565c
commit ae306cca3a
2 changed files with 57 additions and 84 deletions

View File

@@ -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;