]> bbs.cooldavid.org Git - net-next-2.6.git/commit - include/linux/marvell_phy.h
net/phy/marvell: Expose IDs and flags in a .h and add dns323 LEDs setup flag
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 21 Jun 2010 03:20:46 +0000 (13:20 +1000)
committerNicolas Pitre <nico@fluxnic.net>
Sat, 17 Jul 2010 02:01:58 +0000 (22:01 -0400)
commit2f495c398edca50ac251c134f1995a2fb3c06cb7
tree85551c64ef485373807a2733287aafc458881a10
parent43b56074b69f3b6d0296e7986e792c7adb1d89c6
net/phy/marvell: Expose IDs and flags in a .h and add dns323 LEDs setup flag

This moves the various known Marvell PHY IDs to include/linux/marvell_phy.h
along with dev_flags definitions for use by the driver.

I then added a flag that changes the PHY init code to setup the LEDs
config to the values needed to operate a dns323 rev C1 NAS.

I moved the existing "resistance" flag to the .h as well, though I've
been unable to find whoever sets this to convert it to use that constant.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
drivers/net/phy/marvell.c
include/linux/marvell_phy.h [new file with mode: 0644]