sfc: Use lm87 and lm90 drivers for board temperature/power monitoring
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 4 Nov 2008 20:34:56 +0000 (20:34 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 6 Nov 2008 05:50:09 +0000 (00:50 -0500)
commit3e133c44d24a094118caee182200462d46c55b56
treecabc1821bef090abedd1891c3d16137dea8f2ef3
parentf41507245ef8b079685aba8da5b5b2b5e87e70bc
sfc: Use lm87 and lm90 drivers for board temperature/power monitoring

Add board monitoring to periodic work whenever link is down.
For SFE4001, report when a fault has caused the PHY to turn off.
For SFE4002, switch XFP PHY into low-power state in case of a fault.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/boards.c
drivers/net/sfc/mdio_10g.c
drivers/net/sfc/mdio_10g.h
drivers/net/sfc/net_driver.h
drivers/net/sfc/sfe4001.c
drivers/net/sfc/tenxpress.c
drivers/net/sfc/workarounds.h
drivers/net/sfc/xfp_phy.c