* [PATCH net] lan78xx: Fix failure in USB Full Speed
@ 2018-01-15 18:24 Yuiko Oshino
2018-01-16 19:51 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Yuiko Oshino @ 2018-01-15 18:24 UTC (permalink / raw)
To: davem; +Cc: UNGLinuxDriver, netdev
Fix initialize the uninitialized tx_qlen to an appropriate value when USB
Full Speed is used.
Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000
Ethernet device driver")
Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
---
drivers/net/usb/lan78xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c
index 94c7804..ec56ff2 100644
--- a/drivers/net/usb/lan78xx.c
+++ b/drivers/net/usb/lan78xx.c
@@ -2396,6 +2396,7 @@ static int lan78xx_reset(struct lan78xx_net *dev)
buf = DEFAULT_BURST_CAP_SIZE / FS_USB_PKT_SIZE;
dev->rx_urb_size = DEFAULT_BURST_CAP_SIZE;
dev->rx_qlen = 4;
+ dev->tx_qlen = 4;
}
ret = lan78xx_write_reg(dev, BURST_CAP, buf);
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] lan78xx: Fix failure in USB Full Speed
2018-01-15 18:24 [PATCH net] lan78xx: Fix failure in USB Full Speed Yuiko Oshino
@ 2018-01-16 19:51 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-01-16 19:51 UTC (permalink / raw)
To: yuiko.oshino; +Cc: UNGLinuxDriver, netdev
From: Yuiko Oshino <yuiko.oshino@microchip.com>
Date: Mon, 15 Jan 2018 13:24:28 -0500
> Fix initialize the uninitialized tx_qlen to an appropriate value when USB
> Full Speed is used.
>
> Fixes: 55d7de9de6c3 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000
> Ethernet device driver")
>
> Signed-off-by: Yuiko Oshino <yuiko.oshino@microchip.com>
Applied, but please do not mangle the Fixes: tag like that.
It should always be one whole line and never chopped up. It should
also appear right next to the other tags like Signed-off-by: and
Acked-by:. It is just another one of those tags, so there should
never be any empty lines between the Fixes tag and the others.
Thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-16 19:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 18:24 [PATCH net] lan78xx: Fix failure in USB Full Speed Yuiko Oshino
2018-01-16 19:51 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).