mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 19:33:10 +02:00
brcm-2.4 system code and driver update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3727 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
91ab93d313
commit
d29145d136
@ -281,10 +281,10 @@ static int is_new_bcom(int skfd, char *ifname)
|
|||||||
bzero(buf, 8192);
|
bzero(buf, 8192);
|
||||||
bcom_ioctl(skfd, ifname, WLC_DUMP, buf, 8192);
|
bcom_ioctl(skfd, ifname, WLC_DUMP, buf, 8192);
|
||||||
|
|
||||||
if (strstr(buf, "3.130"))
|
if (strstr(buf, "3.90"))
|
||||||
return 1;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int bcom_get_wsec(int vif)
|
static int bcom_get_wsec(int vif)
|
||||||
|
@ -6,13 +6,3 @@ config BR2_PACKAGE_KMOD_BRCM_WL
|
|||||||
help
|
help
|
||||||
Proprietary driver for Broadcom Wireless chipsets
|
Proprietary driver for Broadcom Wireless chipsets
|
||||||
|
|
||||||
config BR2_PACKAGE_KMOD_BRCM_WL2
|
|
||||||
prompt "kmod-brcm-wl2..................... Broadcom Wireless Network Driver (new)"
|
|
||||||
tristate
|
|
||||||
depends BR2_LINUX_2_4_BRCM
|
|
||||||
default m
|
|
||||||
help
|
|
||||||
Proprietary driver for Broadcom Wireless chipsets
|
|
||||||
New version with Multi-BSS capability
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,10 +12,6 @@ $(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
|
|||||||
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
|
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
|
||||||
,CONFIG_WL,,20,wl))
|
,CONFIG_WL,,20,wl))
|
||||||
|
|
||||||
$(eval $(call KMOD_template,BRCM_WL2,brcm-wl2,\
|
|
||||||
$(MODULES_DIR)/kernel/drivers/net/wl2/wl.o \
|
|
||||||
,CONFIG_WL,,20,wl))
|
|
||||||
|
|
||||||
$(eval $(call KMOD_template,LP,lp,\
|
$(eval $(call KMOD_template,LP,lp,\
|
||||||
$(MODULES_DIR)/kernel/drivers/parport/parport.o \
|
$(MODULES_DIR)/kernel/drivers/parport/parport.o \
|
||||||
$(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
|
$(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
|
||||||
@ -38,10 +34,10 @@ $(LINUX_DIR)/.patched: $(LINUX_DIR)/.unpacked
|
|||||||
# Proprietary driver for BCM43xx
|
# Proprietary driver for BCM43xx
|
||||||
###############################################
|
###############################################
|
||||||
|
|
||||||
LINUX_BINARY_DRIVER_SITE=http://openwrt.org/downloads/sources
|
LINUX_BINARY_DRIVER_SITE=http://downloads.openwrt.org/sources
|
||||||
# proprietary driver, extracted from Linksys GPL sourcetree WRT54GS 4.70.6
|
# proprietary driver, extracted from Linksys GPL sourcetree WRT54GS 4.70.6
|
||||||
LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.6.tar.gz
|
LINUX_BINARY_WL_DRIVER=kernel-binary-wl-0.7.tar.gz
|
||||||
LINUX_BINARY_WL_MD5SUM=4fc1d5b46bcb7a17d6d5dd31da9c8d7f
|
LINUX_BINARY_WL_MD5SUM=ff50130914790cbae9b73a13513da5ee
|
||||||
|
|
||||||
$(DL_DIR)/$(LINUX_BINARY_WL_DRIVER):
|
$(DL_DIR)/$(LINUX_BINARY_WL_DRIVER):
|
||||||
$(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) $(LINUX_BINARY_WL_MD5SUM) $(LINUX_BINARY_DRIVER_SITE) $(MAKE_TRACE)
|
$(SCRIPT_DIR)/download.pl $(DL_DIR) $(LINUX_BINARY_WL_DRIVER) $(LINUX_BINARY_WL_MD5SUM) $(LINUX_BINARY_DRIVER_SITE) $(MAKE_TRACE)
|
||||||
@ -56,18 +52,15 @@ $(LINUX_DIR)/.drivers-unpacked: $(LINUX_DIR)/.unpacked
|
|||||||
zcat $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
zcat $(DL_DIR)/$(LINUX_BINARY_WL_DRIVER) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
# copy binary wlan driver
|
# copy binary wlan driver
|
||||||
mkdir -p $(LINUX_DIR)/drivers/net/wl
|
mkdir -p $(LINUX_DIR)/drivers/net/wl
|
||||||
$(CP) $(BUILD_DIR)/kernel-binary-wl/old/*.o $(LINUX_DIR)/drivers/net/wl
|
$(CP) $(BUILD_DIR)/kernel-binary-wl/*.o $(LINUX_DIR)/drivers/net/wl
|
||||||
$(CP) $(BUILD_DIR)/kernel-binary-wl/new/*.o $(LINUX_DIR)/drivers/net/wl2
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(LINUX_DIR)/.drivers-installed: $(LINUX_DIR)/.modules_done
|
$(LINUX_DIR)/.drivers-installed: $(LINUX_DIR)/.modules_done
|
||||||
mkdir -p $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl
|
mkdir -p $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl
|
||||||
mkdir -p $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl2
|
|
||||||
@-[ -f $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl/wl.o ] || $(CP) $(LINUX_DIR)/drivers/net/wl/wl.o $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl/
|
@-[ -f $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl/wl.o ] || $(CP) $(LINUX_DIR)/drivers/net/wl/wl.o $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl/
|
||||||
@-[ -f $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl2/wl.o ] || $(CP) $(LINUX_DIR)/drivers/net/wl2/wl.o $(LINUX_BUILD_DIR)/modules/lib/modules/2.4.32/kernel/drivers/net/wl2/
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
linux-dirclean: drivers-clean
|
linux-dirclean: drivers-clean
|
||||||
|
|
||||||
drivers-clean:
|
drivers-clean:
|
||||||
rm -rf $(BUILD_DIR)/wl
|
rm -rf $(BUILD_DIR)/kernel-binary-wl
|
||||||
|
@ -833,7 +833,6 @@ CONFIG_NET_RADIO=y
|
|||||||
# CONFIG_AIRO is not set
|
# CONFIG_AIRO is not set
|
||||||
# CONFIG_HERMES is not set
|
# CONFIG_HERMES is not set
|
||||||
CONFIG_WL=m
|
CONFIG_WL=m
|
||||||
CONFIG_WL2=m
|
|
||||||
# CONFIG_PLX_HERMES is not set
|
# CONFIG_PLX_HERMES is not set
|
||||||
# CONFIG_TMD_HERMES is not set
|
# CONFIG_TMD_HERMES is not set
|
||||||
# CONFIG_PCI_HERMES is not set
|
# CONFIG_PCI_HERMES is not set
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user