android_kernel_motorola_sm6225/drivers/net/ethernet
Jacob Keller cb6d0f5eef ixgbe: check whether thermal sensor is enabled.
The X540's internal thermal sensor should not be enabled for all devices, but
only those devices which enable it in the NVM image. It is expected that
actively cooled devices will have it enabled, but passively cooled devices might
not want it enabled. This is due to passively cooled devices operating very near
the thermal threshold, sometimes within the margin of error of the thermal
sensor. Thus these devices may not be good candidates for using the thermal
sensor.

This patch uses the enabled bit in the FWSM register to check whether we should
be enabling the thermal sensor, and only sets the THERMAL_SENSOR_CAPABLE flag
for those devices which have it enabled.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-12-06 21:38:38 -08:00
..
3com 3com: make 3c59x depend on HAS_IOPORT 2012-12-05 15:36:35 -05:00
8390 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
adaptec starfire: remove __dev* attributes 2012-12-03 11:16:41 -08:00
adi bfin_mac: remove __dev* attributes 2012-12-03 11:16:41 -08:00
aeroflex aeroflex: remove __dev* attributes 2012-12-03 11:16:41 -08:00
alteon acenic: remove __dev* attributes 2012-12-03 11:16:38 -08:00
amd net/amd: remove __dev* attributes 2012-12-03 11:16:54 -08:00
apple net/apple: remove __dev* attributes 2012-12-03 11:16:54 -08:00
atheros net/atheros: remove __dev* attributes 2012-12-03 11:16:54 -08:00
broadcom cnic: Fix rare race condition during iSCSI disconnect. 2012-12-05 16:01:28 -05:00
brocade bna: remove __dev* attributes 2012-12-03 11:16:42 -08:00
cadence net/cadence: remove __dev* attributes 2012-12-03 11:16:54 -08:00
calxeda net: calxedaxgmac: ip align receive buffers 2012-11-07 03:51:14 -05:00
chelsio chelsio: remove __dev* attributes 2012-12-03 11:16:42 -08:00
cirrus cs89x0 : packet reception not working 2012-08-31 15:48:56 -04:00
cisco enic: remove __dev* attributes 2012-12-03 11:16:42 -08:00
davicom dm9000: remove __dev* attributes 2012-12-03 11:16:42 -08:00
dec tulip: remove __dev* attributes 2012-12-03 11:16:52 -08:00
dlink Networking: Remove __dev* markings from the networking drivers 2012-12-03 15:35:28 -05:00
emulex be2net: remove __dev* attributes 2012-12-03 11:16:43 -08:00
faraday net: ftgmac100/ftmac100: dont pull too much data 2012-07-18 09:40:53 -07:00
freescale net/freescale: remove __dev* attributes 2012-12-03 11:16:54 -08:00
fujitsu drivers/net: delete all code/drivers depending on CONFIG_MCA 2012-05-17 16:37:41 -04:00
hp hp100: remove __dev* attributes 2012-12-03 11:16:43 -08:00
i825xx i825xx: remove __dev* attributes 2012-12-03 11:16:12 -08:00
ibm ibm/emac: remove __dev* attributes 2012-12-03 11:16:43 -08:00
icplus icplus: remove __dev* attributes 2012-12-03 11:16:54 -08:00
intel ixgbe: check whether thermal sensor is enabled. 2012-12-06 21:38:38 -08:00
marvell Networking: Remove __dev* markings from the networking drivers 2012-12-03 15:35:28 -05:00
mellanox mlx4_core: remove __dev* attributes 2012-12-03 11:16:44 -08:00
micrel net/micrel: remove __dev* attributes 2012-12-03 11:16:54 -08:00
microchip enc28j60: remove __dev* attributes 2012-12-03 11:16:44 -08:00
myricom myri10ge: fix most sparse warnings 2012-12-05 16:01:27 -05:00
natsemi natsemi: remove __dev* attributes 2012-12-03 11:16:44 -08:00
neterion net: neterion: use for_each_pci_dev to simplify the code 2012-12-04 13:19:40 -05:00
nuvoton nuvoton: remove __dev* attributes 2012-12-03 11:16:44 -08:00
nvidia forcedeth: remove __dev* attributes 2012-12-03 11:16:44 -08:00
nxp lpc_eth: remove __dev* attributes 2012-12-03 11:16:44 -08:00
octeon net/octeon_mgmt: remove __dev* attributes 2012-12-03 11:16:45 -08:00
oki-semi pch_gbe, ptp_pch: Fix the dependency direction between these drivers 2012-11-17 22:11:45 -05:00
packetengines packetengines: remove __dev* attributes 2012-12-03 11:16:45 -08:00
pasemi net/pasemi: remove __dev* attributes 2012-12-03 11:16:55 -08:00
qlogic qlcnic: rename module params with module_param_named 2012-12-04 13:00:12 -05:00
racal netdev: ethernet dev_alloc_skb to netdev_alloc_skb 2012-02-08 18:46:38 -05:00
rdc r6040: remove __dev* attributes 2012-12-03 11:16:46 -08:00
realtek Networking: Remove __dev* markings from the networking drivers 2012-12-03 15:35:28 -05:00
renesas net: sh_eth: Fix a typo - replace regist with register. 2012-11-03 15:37:35 -04:00
seeq seeq: remove __dev* attributes 2012-12-03 11:16:46 -08:00
sfc sfc: remove __dev* attributes 2012-12-03 11:16:46 -08:00
sgi net/sgi: remove __dev* attributes 2012-12-03 11:16:55 -08:00
silan sc92031: remove __dev* attributes 2012-12-03 11:16:46 -08:00
sis sis900: remove __dev* attributes 2012-12-03 11:16:51 -08:00
smsc epic100: remove __dev* attributes 2012-12-03 11:16:52 -08:00
stmicro Networking: Remove __dev* markings from the networking drivers 2012-12-03 15:35:28 -05:00
sun net/sun: remove __dev* attributes 2012-12-03 11:16:55 -08:00
tehuti tehuti: remove __dev* attributes 2012-12-03 11:16:53 -08:00
ti net/davinci_emac: remove __dev* attributes 2012-12-03 11:16:55 -08:00
tile tilegx: request_irq with a non-null device name 2012-11-16 01:40:41 -05:00
toshiba net/ps3_gelic_wireless: remove __dev* attributes 2012-12-03 11:16:55 -08:00
tundra drivers/net/ethernet/tundra/tsi108_eth.c: delete double assignment 2012-08-30 13:08:37 -04:00
via via-velocity: remove __dev* attributes 2012-12-03 11:16:53 -08:00
wiznet net/wiznet: remove __dev* attributes 2012-12-03 11:16:56 -08:00
xilinx net/xilinx: remove __dev* attributes 2012-12-03 11:16:56 -08:00
xircom Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
xscale ixp4xx_eth: remove __dev* attributes 2012-12-03 11:16:53 -08:00
dnet.c net/ethernet: remove __dev* attributes 2012-12-03 11:16:56 -08:00
dnet.h
ethoc.c net/ethernet: remove __dev* attributes 2012-12-03 11:16:56 -08:00
fealnx.c net/ethernet: remove __dev* attributes 2012-12-03 11:16:56 -08:00
jme.c jme: remove __dev* attributes 2012-12-03 11:16:54 -08:00
jme.h jme: Fix FIFO flush issue 2012-02-22 14:44:41 -05:00
Kconfig net: mipsnet: Remove the MIPSsim Ethernet driver. 2012-09-24 16:47:23 -04:00
korina.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
lantiq_etop.c net/ethernet: remove __dev* attributes 2012-12-03 11:16:56 -08:00
Makefile net: mipsnet: Remove the MIPSsim Ethernet driver. 2012-09-24 16:47:23 -04:00
netx-eth.c ARM: netx: move platform_data definitions 2012-09-14 11:17:36 +02:00
s6gmac.c net/ethernet: remove __dev* attributes 2012-12-03 11:16:56 -08:00