android_kernel_google_msm/drivers/net
Rafael J. Wysocki 0f333d10e3 sky2: Do not use legacy PCI power management
The sky2 driver uses the legacy PCI power management, so it has to do
some PCI-specific things in its ->suspend() and ->resume() callbacks,
which isn't necessary and should better be done by the PCI
sybsystem-level power management code.  Moreover, it uses
device_set_wakeup_enable() incorrectly (that function should be
used when the WoL setting is changed rather than during suspend).

Convert sky2 to the new PCI power management framework and make it
let the PCI subsystem take care of all the PCI-specific aspects of
device handling during system power transitions.

Tested on a desktop machine with a Marvell 88E8056 PCI-E adapter.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-31 11:14:29 -08:00
..
appletalk Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
arcnet
arm net: am79c961a: Omit private ndo_get_stats function 2010-12-06 13:24:46 -08:00
atl1c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 22:37:05 -08:00
atl1e net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
atlx net: Use skb_checksum_start_offset() 2010-12-16 14:43:14 -08:00
benet drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
bna bna: Update the driver version to 2.3.2.3 2010-12-25 19:16:03 -08:00
bnx2x bnx2x: adding dcbnl support 2010-12-31 10:50:55 -08:00
bonding Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-17 12:27:22 -08:00
caif CAIF: Fix U5500 compile error for shared memory driver 2010-12-08 08:35:29 -08:00
can pch_can: Fix array miss-pointing issue 2010-12-22 15:25:40 -08:00
chelsio drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
cris net: cris/eth_v10: Use net_device_stats from struct net_device_stats 2010-12-06 13:24:47 -08:00
cxgb3 drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
cxgb4 cxgb4: NUMA-aware Tx queue allocations 2010-12-16 13:16:04 -08:00
cxgb4vf drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
e1000 net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
e1000e e1000e: checkpatch warnings - braces 2010-12-24 21:31:49 -08:00
ehea ehea: Fixing some message level 2010-12-20 10:35:25 -08:00
enic Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-17 12:27:22 -08:00
fs_enet
hamradio Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
ibm_newemac drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
igb igb: Add Anti-spoofing feature support 2010-12-24 21:36:51 -08:00
igbvf igbvf: add support for i350 VF device 2010-12-24 21:38:47 -08:00
irda drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
ixgb net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
ixgbe ixgbe: Add anti-spoofing feature support 2010-12-24 21:41:06 -08:00
ixgbevf ixgbevf: Add X540 VF device support to the ixgbevf driver 2010-12-24 21:45:42 -08:00
ixp2000
mlx4 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2010-12-02 12:10:56 -08:00
myri10ge net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
netxen netxen: update module description 2010-12-31 10:55:38 -08:00
octeon
pch_gbe Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
pcmcia drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
phy Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-17 12:27:22 -08:00
qlcnic drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
qlge drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
sfc Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next-2.6 2010-12-21 12:17:29 -08:00
skfp drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
stmmac stmmac: unwind properly in stmmac_dvr_probe() 2010-12-21 10:53:19 -08:00
tile drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
tokenring drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
tulip drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
usb USB: cdc_ether: remove unneeded check 2010-12-31 11:11:38 -08:00
vmxnet3 drivers/net/*/: Use static const 2010-12-21 02:16:10 -08:00
vxge vxge: remove duplicated part of check 2010-12-28 13:56:14 -08:00
wan Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 22:37:05 -08:00
wimax i2400m: drop i2400m_schedule_work() 2010-12-12 16:45:14 +01:00
wireless Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 22:37:05 -08:00
3c59x.c 3c59x: fix build failure on !CONFIG_PCI 2010-11-18 10:47:42 -08:00
3c501.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
3c501.h
3c503.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
3c503.h
3c505.c
3c505.h
3c507.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
3c509.c
3c515.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
3c523.c 3c52x: remove IRQF_SAMPLE_RANDOM from legacy MCA drivers. 2010-10-19 02:32:09 -07:00
3c523.h
3c527.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
3c527.h
7990.c
7990.h
8139cp.c 8139cp: fix checksum broken 2010-11-17 12:21:14 -08:00
8139too.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
8390.c
8390.h
8390p.c
82596.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
a2065.c
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
atarilance.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
atp.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
atp.h
au1000_eth.c net: au1000_eth: remove unused global variable. 2010-12-11 12:01:48 -08:00
au1000_eth.h
ax88796.c drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
b44.c b44: fix workarround for wap54g10 2010-12-01 11:11:31 -08:00
b44.h
bcm63xx_enet.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
bcm63xx_enet.h
bfin_mac.c netdev: bfin_mac: push settings to platform resources 2010-10-25 04:54:25 -04:00
bfin_mac.h netdev: bfin_mac: push settings to platform resources 2010-10-25 04:54:25 -04:00
bmac.c
bmac.h
bnx2.c bnx2: Update firmware and version 2010-12-31 11:04:02 -08:00
bnx2.h bnx2: Fix reset bug on 5709 2010-11-28 10:47:19 -08:00
bnx2_fw.h
bsd_comp.c
cassini.c net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
cassini.h
cnic.c cnic: Add FCoE support on 57712 2010-12-23 11:44:34 -08:00
cnic.h cnic: Add FCoE support on 57712 2010-12-23 11:44:34 -08:00
cnic_defs.h cnic: Add FCoE support on 57712 2010-12-23 11:44:34 -08:00
cnic_if.h cnic: Add FCoE support on 57712 2010-12-23 11:44:34 -08:00
cpmac.c
cs89x0.c
cs89x0.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
dm9000.h
dnet.c dnet: mark methods static and annotate for correct endianness 2010-10-16 11:13:20 -07:00
dnet.h
dummy.c
e100.c
e2100.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
eepro.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
eexpress.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
eexpress.h
enc28j60.c
enc28j60_hw.h
epic100.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
eql.c
es3210.c
eth16i.c
ethoc.c ethoc: remove division from loops 2010-11-28 11:16:38 -08:00
ewrk3.c
ewrk3.h
fealnx.c
fec.c net: allow FEC driver to use fixed PHY support 2010-10-13 09:56:31 -07:00
fec.h
fec_mpc52xx.c mpc52xx: cleanup locking 2010-11-16 11:39:08 -08:00
fec_mpc52xx.h
fec_mpc52xx_phy.c
forcedeth.c forcedeth: Use netdev_dbg for printk(KERN_DEBUG 2010-11-29 11:44:56 -08:00
fsl_pq_mdio.c
fsl_pq_mdio.h
gianfar.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
gianfar.h
gianfar_ethtool.c gianfar: Do not call device_set_wakeup_enable() under a spinlock 2010-11-12 14:05:43 -08:00
gianfar_sysfs.c
greth.c
greth.h
hamachi.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
hp-plus.c
hp.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
hp100.c
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
ibmlana.h
ibmveth.c netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
ibmveth.h
ifb.c ifb: use netif_receive_skb() instead of netif_rx() 2010-12-19 21:44:30 -08:00
ioc3-eth.c
ipg.c ipg.c: remove id [SUNDANCE, 0x1021] 2010-11-18 10:45:24 -08:00
ipg.h
iseries_veth.c iseries_veth: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
jazzsonic.c
jme.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
jme.h jme: Advance version number 2010-10-21 03:52:11 -07:00
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 22:37:05 -08:00
korina.c
ks8842.c
ks8851.c ks8851: suspend resume support 2010-11-08 13:50:06 -08:00
ks8851.h
ks8851_mll.c
ksz884x.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
lance.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
lasi_82596.c
lib8390.c drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
lib82596.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
LICENSE.SRC
ll_temac.h
ll_temac_main.c net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
ll_temac_mdio.c
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c macb: Don't re-enable interrupts while in polling mode 2010-10-25 12:14:11 -07:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c macvlan: Introduce 'passthru' mode to takeover the underlying device 2010-11-22 08:24:29 -08:00
macvtap.c net: Use skb_checksum_start_offset() 2010-12-16 14:43:14 -08:00
Makefile drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
mdio.c
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne-h8300.c drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
ne.c
ne2.c
ne2k-pci.c
ne3210.c
netconsole.c bonding: Fix netconsole to not deadlock on rmmod 2010-10-18 08:32:08 -07:00
netx-eth.c
ni52.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
ni52.h
ni65.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
ni65.h
ni5010.c
ni5010.h
niu.c net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
niu.h
ns83820.c ns83820: spin_lock_irq() => spin_lock() 2010-10-18 01:53:35 -07:00
pasemi_mac.c
pasemi_mac.h
pasemi_mac_ethtool.c
pci-skeleton.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
pcnet32.c
plip.c
ppp_async.c net: Ppp_async: semaphore cleanup 2010-10-12 17:36:09 +02:00
ppp_deflate.c
ppp_generic.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c pppoe.c: Fix kernel panic caused by __pppoe_xmit 2010-12-12 15:06:16 -08:00
pppox.c
pptp.c ipv4: Don't pre-seed hoplimit metric. 2010-12-12 22:08:17 -08:00
ps3_gelic_net.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
qla3xxx.c drivers/net/qla3xxx.c: Remove unnecessary casts of netdev_priv 2010-11-17 10:36:51 -08:00
qla3xxx.h
r6040.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-21 08:43:05 -07:00
r8169.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
s2io.h s2io: make strings at tables const 2010-12-11 11:46:36 -08:00
s6gmac.c
sb1000.c drivers/net/sb1000.c: delete double assignment 2010-10-27 12:23:20 -07:00
sb1250-mac.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
sc92031.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
seeq8005.c
seeq8005.h
sgiseeq.c drivers/net: sgiseeq: fix return on error 2010-10-26 10:02:13 -07:00
sgiseeq.h
sh_eth.c drivers/net: remove unnecessary flush_scheduled_work() calls 2010-12-12 16:45:14 +01:00
sh_eth.h drivers/net: remove unnecessary flush_scheduled_work() calls 2010-12-12 16:45:14 +01:00
sis190.c drivers/net: don't use flush_scheduled_work() 2010-12-12 16:45:14 +01:00
sis900.c
sis900.h
skge.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
skge.h
sky2.c sky2: Do not use legacy PCI power management 2010-12-31 11:14:29 -08:00
sky2.h
slhc.c slhc: Don't export symbols twice 2010-10-24 16:25:39 -07:00
slip.c
slip.h
smc-mca.c
smc-ultra.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
smc-ultra32.c
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smsc911x.c MN10300: ASB2364: Add support for SMSC911X and SMC911X 2010-10-27 17:28:58 +01:00
smsc911x.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-11-05 15:25:48 -07:00
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net.c
spider_net.h
spider_net_ethtool.c
starfire.c
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 22:37:05 -08:00
sungem.c net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
sungem.h
sungem_phy.c
sungem_phy.h
sunhme.c net: Fix drivers advertising HW_CSUM feature to use csum_start 2010-12-16 14:43:15 -08:00
sunhme.h
sunlance.c netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c tehuti: Firmware filename is tehuti/bdx.bin 2010-12-17 10:17:12 -08:00
tehuti.h
tg3.c tg3: Do not use legacy PCI power management 2010-12-31 11:14:28 -08:00
tg3.h tg3: Relax EEE thresholds 2010-12-06 11:03:48 -08:00
tlan.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c net: Use skb_checksum_start_offset() 2010-12-16 14:43:14 -08:00
typhoon.c typhoon: memory corruption in typhoon_get_drvinfo() 2010-12-20 10:43:02 -08:00
typhoon.h
ucc_geth.c ucc_geth: Fix deadlock 2010-11-12 12:21:18 -08:00
ucc_geth.h ucc_geth: fix ucc halt problem in half duplex mode 2010-11-28 18:36:57 -08:00
ucc_geth_ethtool.c
veth.c net/veth: Fix packet checksumming 2010-12-16 14:41:35 -08:00
via-rhine.c via-rhine: hardware VLAN support 2010-12-08 10:23:36 -08:00
via-velocity.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
via-velocity.h via-velocity: forced 1000 Mbps mode support. 2010-10-16 11:13:23 -07:00
virtio_net.c net: Use skb_checksum_start_offset() 2010-12-16 14:43:14 -08:00
wd.c drivers/net/*.c: Use static const 2010-12-21 02:16:08 -08:00
xen-netfront.c xen: Provide a variant of __RING_SIZE() that is an integer constant expression 2010-12-15 12:34:28 -08:00
xilinx_emaclite.c net: emaclite: Omit private ndo_get_stats function 2010-12-06 13:24:47 -08:00
xtsonic.c
yellowfin.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
znet.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
zorro8390.c