Search Linux Wireless

Re: [RFC/RFT 1/8] rtlwifi: Prepare core for addition of USB driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/30/2011 07:11 PM, Larry.Finger@xxxxxxxxxxxx wrote:
> From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> 
> With this patch, the core driver now has the capability of handling
> USB devices.
> 
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> Cc: george0505 <george0505@xxxxxxxxxxx>
> Cc: 'Zhaoming_Li' <chaoming_li@xxxxxxxxxxxxxx>
> ---
>  drivers/net/wireless/rtlwifi/Makefile |    3 +-
>  drivers/net/wireless/rtlwifi/debug.h  |    1 +
>  drivers/net/wireless/rtlwifi/usb.c    | 1050 +++++++++++++++++++++++++++++++++
>  drivers/net/wireless/rtlwifi/usb.h    |  164 +++++
>  4 files changed, 1217 insertions(+), 1 deletions(-)
>  create mode 100644 drivers/net/wireless/rtlwifi/usb.c
>  create mode 100644 drivers/net/wireless/rtlwifi/usb.h
> 
> diff --git a/drivers/net/wireless/rtlwifi/Makefile b/drivers/net/wireless/rtlwifi/Makefile
> index 2a7a438..efbff2f 100644
> --- a/drivers/net/wireless/rtlwifi/Makefile
> +++ b/drivers/net/wireless/rtlwifi/Makefile
> @@ -8,6 +8,7 @@ rtlwifi-objs	:=		\
>  		pci.o		\
>  		ps.o		\
>  		rc.o		\
> -		regd.o
> +		regd.o		\
> +		usb.o
.....
Now rtlwifi depends on usb (which is missing in KConfig), also when
using the PCIe chip RTL8192CE. Would it not be better to have one
interface independent core of rtlwifi as a module and one extra module
for usb and one for pcie support? I have not looked into the source code
if it is easily possible to do so.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux