* [PATCH] zd1211rw: Reset device in the probe call
@ 2007-01-29 0:59 Daniel Drake
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Drake @ 2007-01-29 0:59 UTC (permalink / raw)
To: linville; +Cc: netdev, kune
From: Ulrich Kunitz <kune@deine-taler.de>
This resets the device in the probe call. It does work with
2.6.19.2 including the softmac patches. It might fix the
reboot/reset problems a lot of people reported.
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
---
zd_usb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Index: linux/drivers/net/wireless/zd1211rw/zd_usb.c
===================================================================
--- linux.orig/drivers/net/wireless/zd1211rw/zd_usb.c
+++ linux/drivers/net/wireless/zd1211rw/zd_usb.c
@@ -922,6 +922,8 @@ static int probe(struct usb_interface *i
goto error;
}
+ usb_reset_device(interface_to_usbdev(intf));
+
netdev = zd_netdev_alloc(intf);
if (netdev == NULL) {
r = -ENOMEM;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] zd1211rw: Reset device in the probe call
@ 2007-01-29 1:00 Daniel Drake
2007-01-29 12:56 ` John W. Linville
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Drake @ 2007-01-29 1:00 UTC (permalink / raw)
To: linville; +Cc: netdev, kune
From: Ulrich Kunitz <kune@deine-taler.de>
This resets the device in the probe call. It does work with
2.6.19.2 including the softmac patches. It might fix the
reboot/reset problems a lot of people reported.
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
---
zd_usb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Index: linux/drivers/net/wireless/zd1211rw/zd_usb.c
===================================================================
--- linux.orig/drivers/net/wireless/zd1211rw/zd_usb.c
+++ linux/drivers/net/wireless/zd1211rw/zd_usb.c
@@ -922,6 +922,8 @@ static int probe(struct usb_interface *i
goto error;
}
+ usb_reset_device(interface_to_usbdev(intf));
+
netdev = zd_netdev_alloc(intf);
if (netdev == NULL) {
r = -ENOMEM;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] zd1211rw: Reset device in the probe call
2007-01-29 1:00 [PATCH] zd1211rw: Reset device in the probe call Daniel Drake
@ 2007-01-29 12:56 ` John W. Linville
2007-01-29 14:36 ` Daniel Drake
0 siblings, 1 reply; 4+ messages in thread
From: John W. Linville @ 2007-01-29 12:56 UTC (permalink / raw)
To: Daniel Drake; +Cc: netdev, kune
On Mon, Jan 29, 2007 at 01:00:15AM +0000, Daniel Drake wrote:
> From: Ulrich Kunitz <kune@deine-taler.de>
>
> This resets the device in the probe call. It does work with
> 2.6.19.2 including the softmac patches. It might fix the
> reboot/reset problems a lot of people reported.
Looks like you sent this one twice. Is this just a duplicate?
Or did you mean to send a different patch?
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] zd1211rw: Reset device in the probe call
2007-01-29 12:56 ` John W. Linville
@ 2007-01-29 14:36 ` Daniel Drake
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Drake @ 2007-01-29 14:36 UTC (permalink / raw)
To: John W. Linville; +Cc: netdev, kune
John W. Linville wrote:
> Looks like you sent this one twice. Is this just a duplicate?
> Or did you mean to send a different patch?
Sent twice by accident. Ignore the duplicate and you have the whole series.
Thanks,
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-29 14:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-29 1:00 [PATCH] zd1211rw: Reset device in the probe call Daniel Drake
2007-01-29 12:56 ` John W. Linville
2007-01-29 14:36 ` Daniel Drake
-- strict thread matches above, loose matches on Subject: below --
2007-01-29 0:59 Daniel Drake
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).