* Re: move zd1201 where it belongs
[not found] ` <20060605113332.GB2132@elf.ucw.cz>
@ 2006-06-05 14:13 ` John W. Linville
2006-06-05 14:29 ` Pavel Machek
0 siblings, 1 reply; 5+ messages in thread
From: John W. Linville @ 2006-06-05 14:13 UTC (permalink / raw)
To: Pavel Machek
Cc: Arjan van de Ven, Jirka Lenost Benc, kernel list, netdev, pe1rxq
On Mon, Jun 05, 2006 at 01:33:33PM +0200, Pavel Machek wrote:
> On Po 05-06-06 13:15:20, Arjan van de Ven wrote:
> > On Mon, 2006-06-05 at 12:39 +0200, Pavel Machek wrote:
> > > zd1201 is wifi adapter, yet it is hiding in drivers/usb/net where
> > > noone can find it. This moves Kconfig/Makefile to right place; you
> > > still need to manually move .c and .h files.
> > do you think it should at least depend in some form or another on
> > CONFIG_USB ?
>
> Right, added USB && to depends directive.
Did you mean to only copy Jiri and LKML?
It seems like you should have sent at least sent this to
netdev@vger.kernel.org, if not also to me, Jeroen Vreeken and/or
possibly Greg K-H (USB subsystem).
Will you be posting a new version, with the CONFIG_USB change?
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: move zd1201 where it belongs
2006-06-05 14:13 ` move zd1201 where it belongs John W. Linville
@ 2006-06-05 14:29 ` Pavel Machek
2006-06-05 14:44 ` Jiri Benc
2006-06-05 14:47 ` John W. Linville
0 siblings, 2 replies; 5+ messages in thread
From: Pavel Machek @ 2006-06-05 14:29 UTC (permalink / raw)
To: Arjan van de Ven, Jirka Lenost Benc, kernel list, netdev, pe1rxq
Hi!
> > > > zd1201 is wifi adapter, yet it is hiding in drivers/usb/net where
> > > > noone can find it. This moves Kconfig/Makefile to right place; you
> > > > still need to manually move .c and .h files.
>
> > > do you think it should at least depend in some form or another on
> > > CONFIG_USB ?
> >
> > Right, added USB && to depends directive.
>
> Did you mean to only copy Jiri and LKML?
Yes, because this should go in as a git patch (so it is move, not
create new file), and I was hoping for Jiri to generate proper
git-patch :-).
> It seems like you should have sent at least sent this to
> netdev@vger.kernel.org, if not also to me, Jeroen Vreeken and/or
> possibly Greg K-H (USB subsystem).
>
> Will you be posting a new version, with the CONFIG_USB change?
Here it is, still
Signed-off-by: Pavel Machek <pavel@suse.cz>
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index e0874cb..1eccdb3 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -503,6 +503,23 @@ config PRISM54
say M here and read <file:Documentation/modules.txt>. The module
will be called prism54.ko.
+config USB_ZD1201
+ tristate "USB ZD1201 based Wireless device support"
+ depends on USB && NET_RADIO
+ select FW_LOADER
+ ---help---
+ Say Y if you want to use wireless LAN adapters based on the ZyDAS
+ ZD1201 chip.
+
+ This driver makes the adapter appear as a normal Ethernet interface,
+ typically on wlan0.
+
+ The zd1201 device requires external firmware to be loaded.
+ This can be found at http://linux-lc100020.sourceforge.net/
+
+ To compile this driver as a module, choose M here: the
+ module will be called zd1201.
+
source "drivers/net/wireless/hostap/Kconfig"
source "drivers/net/wireless/bcm43xx/Kconfig"
diff --git a/drivers/net/wireless/Makefile b/drivers/net/wireless/Makefile
index c867798..512603d 100644
--- a/drivers/net/wireless/Makefile
+++ b/drivers/net/wireless/Makefile
@@ -40,3 +40,5 @@ obj-$(CONFIG_BCM43XX) += bcm43xx/
# 16-bit wireless PCMCIA client drivers
obj-$(CONFIG_PCMCIA_RAYCS) += ray_cs.o
obj-$(CONFIG_PCMCIA_WL3501) += wl3501_cs.o
+
+obj-$(CONFIG_USB_ZD1201) += zd1201.o
diff --git a/drivers/usb/net/Kconfig b/drivers/usb/net/Kconfig
index efd6ca7..0540596 100644
--- a/drivers/usb/net/Kconfig
+++ b/drivers/usb/net/Kconfig
@@ -301,21 +301,4 @@ config USB_NET_ZAURUS
some cases CDC MDLM) protocol, not "g_ether".
-config USB_ZD1201
- tristate "USB ZD1201 based Wireless device support"
- depends on NET_RADIO
- select FW_LOADER
- ---help---
- Say Y if you want to use wireless LAN adapters based on the ZyDAS
- ZD1201 chip.
-
- This driver makes the adapter appear as a normal Ethernet interface,
- typically on wlan0.
-
- The zd1201 device requires external firmware to be loaded.
- This can be found at http://linux-lc100020.sourceforge.net/
-
- To compile this driver as a module, choose M here: the
- module will be called zd1201.
-
endmenu
diff --git a/drivers/usb/net/Makefile b/drivers/usb/net/Makefile
index a21e6ea..160f19d 100644
--- a/drivers/usb/net/Makefile
+++ b/drivers/usb/net/Makefile
@@ -15,7 +15,6 @@ obj-$(CONFIG_USB_NET_RNDIS_HOST) += rndi
obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
obj-$(CONFIG_USB_USBNET) += usbnet.o
-obj-$(CONFIG_USB_ZD1201) += zd1201.o
ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: move zd1201 where it belongs
2006-06-05 14:29 ` Pavel Machek
@ 2006-06-05 14:44 ` Jiri Benc
2006-06-05 14:47 ` John W. Linville
1 sibling, 0 replies; 5+ messages in thread
From: Jiri Benc @ 2006-06-05 14:44 UTC (permalink / raw)
To: Pavel Machek; +Cc: Arjan van de Ven, kernel list, netdev, pe1rxq
On Mon, 5 Jun 2006 16:29:12 +0200, Pavel Machek wrote:
> Yes, because this should go in as a git patch (so it is move, not
> create new file), and I was hoping for Jiri to generate proper
> git-patch :-).
The proper person for this is maintainer of wireless or USB.
> Here it is, still
>
> Signed-off-by: Pavel Machek <pavel@suse.cz>
In addition to this,
mv drivers/usb/net/zd1201.[ch] drivers/net/wireless/
needs to be invoked.
I agree that the patch should be applied to remove confusion (not many
people know about this driver, even among wireless developers).
Jiri
--
Jiri Benc
SUSE Labs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: move zd1201 where it belongs
2006-06-05 14:29 ` Pavel Machek
2006-06-05 14:44 ` Jiri Benc
@ 2006-06-05 14:47 ` John W. Linville
2006-06-05 16:16 ` Greg KH
1 sibling, 1 reply; 5+ messages in thread
From: John W. Linville @ 2006-06-05 14:47 UTC (permalink / raw)
To: Pavel Machek
Cc: Arjan van de Ven, Jirka Lenost Benc, kernel list, netdev, pe1rxq
On Mon, Jun 05, 2006 at 04:29:12PM +0200, Pavel Machek wrote:
> > Did you mean to only copy Jiri and LKML?
>
> Yes, because this should go in as a git patch (so it is move, not
> create new file), and I was hoping for Jiri to generate proper
> git-patch :-).
Ah, I see. Well, I can handle this just fine.
Thanks,
John
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: move zd1201 where it belongs
2006-06-05 14:47 ` John W. Linville
@ 2006-06-05 16:16 ` Greg KH
0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2006-06-05 16:16 UTC (permalink / raw)
To: Pavel Machek, Arjan van de Ven, Jirka Lenost Benc, kernel list,
netdev, pe1rxq
On Mon, Jun 05, 2006 at 10:47:26AM -0400, John W. Linville wrote:
> On Mon, Jun 05, 2006 at 04:29:12PM +0200, Pavel Machek wrote:
>
> > > Did you mean to only copy Jiri and LKML?
> >
> > Yes, because this should go in as a git patch (so it is move, not
> > create new file), and I was hoping for Jiri to generate proper
> > git-patch :-).
>
> Ah, I see. Well, I can handle this just fine.
Ack from my side, feel free to move this to your section of the kernel
:)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-06-05 16:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060605103952.GA1670@elf.ucw.cz>
[not found] ` <1149506120.3111.52.camel@laptopd505.fenrus.org>
[not found] ` <20060605113332.GB2132@elf.ucw.cz>
2006-06-05 14:13 ` move zd1201 where it belongs John W. Linville
2006-06-05 14:29 ` Pavel Machek
2006-06-05 14:44 ` Jiri Benc
2006-06-05 14:47 ` John W. Linville
2006-06-05 16:16 ` Greg KH
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).