提交 71cc1fa9 编写于 作者: B Ben Hutchings 提交者: David S. Miller

cdc_ether: Partially revert "usbnet: Set link down initially ..."

Commit 37e8273c ("usbnet: Set link down
initially for drivers that update link state") changed the initial link
state in cdc_ether and other drivers based on the understanding that the
devices they support generate link change interrupts.  However, this is
optional in the CDC Ethernet protocol, and two users have reported in
<http://bugzilla.kernel.org/show_bug.cgi?id=14791> that the link state
for their devices remains down.  Therefore, revert the change in
cdc_ether.
Signed-off-by: NBen Hutchings <ben@decadent.org.uk>
Tested-by: NAvi Rozen <avi.rozen@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d291b9af
......@@ -419,7 +419,7 @@ static int cdc_manage_power(struct usbnet *dev, int on)
static const struct driver_info cdc_info = {
.description = "CDC Ethernet Device",
.flags = FLAG_ETHER | FLAG_LINK_INTR,
.flags = FLAG_ETHER,
// .check_connect = cdc_check_connect,
.bind = cdc_bind,
.unbind = usbnet_cdc_unbind,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册