smsc95xx: configure LED outputs
authorSteve Glendinning <steve.glendinning@smsc.com>
Fri, 1 May 2009 05:46:51 +0000 (05:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2009 22:27:02 +0000 (15:27 -0700)
commitf293501c61c50b014ad2347661c6acd951c80fed
tree8b6327749d50bd2fdf2fb15e2bd54e1f3d028e70
parent2382b15bcc39228572ccf1d9a1185dcabb84c833
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>
drivers/net/usb/smsc95xx.c
drivers/net/usb/smsc95xx.h