diff options
author | Steve Glendinning <steve.glendinning@smsc.com> | 2009-05-01 05:46:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-01 15:27:02 -0700 |
commit | f293501c61c50b014ad2347661c6acd951c80fed (patch) | |
tree | 8b6327749d50bd2fdf2fb15e2bd54e1f3d028e70 /drivers/net/usb/smsc95xx.h | |
parent | 2382b15bcc39228572ccf1d9a1185dcabb84c833 (diff) |
smsc95xx: configure LED outputs
SMSC LAN9500 has dual purpose GPIO/LED pins, and by default at power-on
these are configured as GPIOs. This means that if LEDs are fitted they
won't ever light.
This patch sets them to be LED outputs for speed, duplex and
link/activity.
Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/smsc95xx.h')
-rw-r--r-- | drivers/net/usb/smsc95xx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/usb/smsc95xx.h b/drivers/net/usb/smsc95xx.h index 66b5c84f302e..86bc44977fbd 100644 --- a/drivers/net/usb/smsc95xx.h +++ b/drivers/net/usb/smsc95xx.h @@ -99,6 +99,9 @@ #define PM_CTL_WUPS_MULTI_ (0x00000003) #define LED_GPIO_CFG (0x24) +#define LED_GPIO_CFG_SPD_LED (0x01000000) +#define LED_GPIO_CFG_LNK_LED (0x00100000) +#define LED_GPIO_CFG_FDX_LED (0x00010000) #define GPIO_CFG (0x28) |