summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/smsc95xx.h
Commit message (Collapse)AuthorAgeFilesLines
* smsc95xx: support PHY wakeup sourceSteve Glendinning2012-11-231-0/+17
| | | | | | | | | | | This patch enables LAN9500 family devices to wake from suspend on either link up or link down events It also adds _nopm versions of mdio access functions, so we can safely call them from suspend and resume functions Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* smsc95xx: detect chip revision specific featuresSteve Glendinning2012-11-231-0/+3
| | | | | | | | | | | | | Instead of storing the number of wake-up frame filter registers in the pdata structure, this patch changes the driver to detect the type of device we have and store its available features. The new two features will be used in future patches. This patch is intended to have no change in behaviour. Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* smsc95xx: add wol support for more frame typesSteve Glendinning2012-10-311-0/+5
| | | | | | | | | | This patch adds support for wol wakeup on unicast, broadcast, multicast and arp frames. The wakeup filter code isn't pretty, but it works. Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* smsc95xx: add wol magic packet supportSteve Glendinning2012-09-281-0/+5
| | | | | | | | | This patch enables wake from system suspend on magic packet. Patch updated to replace BUG_ON with WARN_ON_ONCE and return. Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* smsc95xx: enable power saving mode during system suspendSteve Glendinning2012-09-281-1/+5
| | | | | | | | | | | | This patch enables the device to enter its lowest power SUSPEND2 state during system suspend, instead of staying up using full power. Patch updated to not add two pointers to .suspend & .resume. Patch updated to replace BUG_ON with WARN_ON_ONCE and return. Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* smsc95xx: remove unnecessary variablesSteve Glendinning2012-09-281-0/+1
| | | | | | | | | | | Removes unnecessary variables as smsc95xx_write_reg takes its value by parameter. Early versions passed this parameter by reference. Also replace hardcoded interrupt status value with a #define Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net> Signed-off-by: David S. Miller <davem@davemloft.net>
* smsc95xx: configure LED outputsSteve Glendinning2009-05-011-0/+3
| | | | | | | | | | | | 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>
* net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driverSteve Glendinning2008-10-081-0/+253
Attached is a driver for SMSC's LAN9500 USB2.0 10/100 ethernet adapter. Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud