usbnet: Set link down initially for drivers that update link state
authorBen Hutchings <ben@decadent.org.uk>
Wed, 4 Nov 2009 15:29:52 +0000 (15:29 +0000)
committerMatt Sealey <matt@genesi-usa.com>
Sat, 22 Jan 2011 05:23:07 +0000 (23:23 -0600)
commit0c9f5ecd01b44633751612ad98cf222a4da92970
tree65ae7ddd343478bb8c31fc6e2942819fb561ab1d
parentccd966624c77d1fe00046b7fcae2b0fe1e7a5f7b
usbnet: Set link down initially for drivers that update link state

Some usbnet drivers update link state while others do not due to
hardware limitations.  Add a flag to distinguish those that do, and
set the link down initially for their devices.

This is intended to fix this bug: http://bugs.debian.org/444043

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/asix.c
drivers/net/usb/cdc_ether.c
drivers/net/usb/dm9601.c
drivers/net/usb/usbnet.c
include/linux/usb/usbnet.h