* respin of hso patches for linux-2.6.28-rc6 hso_reset_resume.patch [patch 6/6]
@ 2008-11-24 14:53 Denis Joseph Barrow
[not found] ` <492ABFFA.7070805-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Denis Joseph Barrow @ 2008-11-24 14:53 UTC (permalink / raw)
To: Linux USB kernel mailing list, Linux netdev Mailing list
[-- Attachment #1: Type: text/plain, Size: 829 bytes --]
Made usb_drivers reset_resume function point to hso_resume this
fixes problems a usb reset is done when the network interface
is left idle for a few minutes. Possibly reset_resume should
initialise hardware more but this works in the common case.
Signed-off-by: Denis Joseph Barrow <D.Barow-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
---
Index: linux-2.6.28-rc6.patches/drivers/net/usb/hso.c
===================================================================
--- linux-2.6.28-rc6.patches.orig/drivers/net/usb/hso.c 2008-11-24 15:07:47.000000000 +0100
+++ linux-2.6.28-rc6.patches/drivers/net/usb/hso.c 2008-11-24 15:12:35.000000000 +0100
@@ -3277,6 +3277,7 @@
.id_table = hso_ids,
.suspend = hso_suspend,
.resume = hso_resume,
+ .reset_resume = hso_resume,
.supports_autosuspend = 1,
};
--
best regards,
D.J. Barrow
[-- Attachment #2: hso_reset_resume.patch --]
[-- Type: text/x-diff, Size: 798 bytes --]
Made usb_drivers reset_resume function point to hso_resume this
fixes problems a usb reset is done when the network interface
is left idle for a few minutes. Possibly reset_resume should
initialise hardware more but this works in the common case.
Signed-off-by: Denis Joseph Barrow <D.Barow-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
---
Index: linux-2.6.28-rc6.patches/drivers/net/usb/hso.c
===================================================================
--- linux-2.6.28-rc6.patches.orig/drivers/net/usb/hso.c 2008-11-24 15:07:47.000000000 +0100
+++ linux-2.6.28-rc6.patches/drivers/net/usb/hso.c 2008-11-24 15:12:35.000000000 +0100
@@ -3277,6 +3277,7 @@
.id_table = hso_ids,
.suspend = hso_suspend,
.resume = hso_resume,
+ .reset_resume = hso_resume,
.supports_autosuspend = 1,
};
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: respin of hso patches for linux-2.6.28-rc6 hso_reset_resume.patch [patch 6/6]
[not found] ` <492ABFFA.7070805-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
@ 2008-11-25 8:36 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-11-25 8:36 UTC (permalink / raw)
To: D.Barow-x9gZzRpC1QbQT0dZR+AlfA
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA
From: Denis Joseph Barrow <D.Barow-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
Date: Mon, 24 Nov 2008 15:53:46 +0100
> Made usb_drivers reset_resume function point to hso_resume this
> fixes problems a usb reset is done when the network interface
> is left idle for a few minutes. Possibly reset_resume should
> initialise hardware more but this works in the common case.
> Signed-off-by: Denis Joseph Barrow <D.Barow-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-25 8:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 14:53 respin of hso patches for linux-2.6.28-rc6 hso_reset_resume.patch [patch 6/6] Denis Joseph Barrow
[not found] ` <492ABFFA.7070805-x9gZzRpC1QbQT0dZR+AlfA@public.gmane.org>
2008-11-25 8:36 ` 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).