lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 3 Dec 2009 11:02:56 +0100
From:	Oliver Neukum <oliver@...kum.org>
To:	David Miller <davem@...emloft.net>
Cc:	david-b@...bell.net, netdev@...r.kernel.org,
	linux-usb@...r.kernel.org
Subject: Re: [patch]reset_resume for cdc-ether

Am Donnerstag, 3. Dezember 2009 07:22:54 schrieb David Miller:
> > I'm going to apply this patch and the USB autosuspend one too.
> 
> Actually, neither patch applies to net-next-2.6
> 
> Oliver can you respin your changes and add a proper signoff
> to the autosuspend patch?

Hi,

here's reset_resume() again.

	Regards
		Oliver

Signed-off-by: Oliver Neukum <oliver@...kum.org>

--

commit 0cf82130a576e01d516fcd81a0a6976ab7c49c23
Author: Oliver Neukum <oliver@...kum.org>
Date:   Thu Dec 3 10:59:20 2009 +0100

    cdc-ether:imlement reset_resume()
    
    Normal resume can do double duty as reset_resume() for this driver
    as it keeps no state in the device
    
    Signed-off-by: Oliver Neukum <oliver@...kum.org>

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index b9493ef..50b8aa9 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -585,6 +585,7 @@ static struct usb_driver cdc_driver = {
 	.disconnect =	usbnet_disconnect,
 	.suspend =	usbnet_suspend,
 	.resume =	usbnet_resume,
+	.reset_resume =	usbnet_resume,
 	.supports_autosuspend = 1,
 };
 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ