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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Nov 2009 04:54:40 +0000 (20:54 -0800)
commit37e8273cd30592d3a82bcb70cbb1bdc4eaeb6b71
tree079b4bc5a6450e06b6310c083fcb4ab5ee543452
parent8cbd9623da7e7a99c6bd0f0b7d21d17c233c6abb
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