]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f03734748f3b75fcd318c81c6252d36c33ade91
tree8b6327749d50bd2fdf2fb15e2bd54e1f3d028e70
parent2c9e8707992064f15a67040e8ce5128ad03bdee4
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