-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PATCH] wireless: import bcm43xx sources
Import the bcm43xx driver from the upstream sources here: ftp://ftp.berlios.de/pub/bcm43xx/snapshots/bcm43xx/bcm43xx-20060123.tar.bz2 Signed-off-by: John W. Linville <linville@tuxdriver.com>
- Loading branch information
John W. Linville
committed
Mar 27, 2006
1 parent
5d5d772
commit f222313
Showing
24 changed files
with
15,093 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Makefile for bcm43xx driver | ||
|
||
VERSION := 0.0.1 | ||
RELEASE_NAME := bcm43xx-$(VERSION) | ||
|
||
# Optional path, where the SoftMAC subsystem is located. | ||
# You may set SOFTMAC_DIR in your bashrc, for example. | ||
SOFTMAC_DIR ?= | ||
|
||
KVER := $(shell uname -r) | ||
KDIR ?= /lib/modules/$(KVER)/build | ||
PWD := $(shell pwd) | ||
MODPATH := $(DESTDIR)/lib/modules/$(KVER)/kernel/drivers/net/bcm43xx | ||
|
||
# Comment/uncomment to enable/disable debugging | ||
DEBUG = y | ||
|
||
|
||
ifeq ($(DEBUG),y) | ||
DEBUGFS_OBJ = bcm43xx_debugfs.o | ||
CFLAGS += -O2 -DCONFIG_BCM43XX_DEBUG | ||
else | ||
DEBUGFS_OBJ = | ||
CFLAGS += -O2 | ||
endif | ||
|
||
CFLAGS += -DBCM43xx_VERSION=$(VERSION) -I/lib/modules/$(KVER)/include | ||
ifneq ($(SOFTMAC_DIR),) | ||
CPPFLAGS := -I$(SOFTMAC_DIR) $(CPPFLAGS) | ||
endif | ||
|
||
ifneq ($(KERNELRELEASE),) | ||
# call from kernel build system | ||
|
||
obj-m := bcm43xx.o | ||
bcm43xx-objs := bcm43xx_main.o bcm43xx_dma.o $(DEBUGFS_OBJ) \ | ||
bcm43xx_radio.o bcm43xx_phy.o \ | ||
bcm43xx_power.o bcm43xx_wx.o \ | ||
bcm43xx_pio.o bcm43xx_ilt.o \ | ||
bcm43xx_leds.o | ||
|
||
else | ||
|
||
default: modules | ||
|
||
modules: | ||
$(MAKE) -C $(KDIR) M=$(PWD) modules | ||
|
||
install: bcm43xx.ko | ||
install -d $(MODPATH) | ||
install -m 644 -c bcm43xx.ko $(MODPATH) | ||
/sbin/depmod -a | ||
|
||
uninstall: | ||
rm -rf $(MODPATH) | ||
/sbin/depmod -a | ||
|
||
endif | ||
|
||
clean: | ||
find . \( -name '*.ko' -o -name '*.o' -o -name '.tmp_versions' -o -name '*~' -o -name '.*.cmd' \ | ||
-o -name '*.mod.c' -o -name '*.tar.bz2' -o -name '*.rej' -o -name '*.orig' \)\ | ||
-print | xargs rm -Rf | ||
|
||
depend .depend dep: | ||
$(CC) $(CFLAGS) -M *.c > .depend | ||
|
||
ifeq (.depend,$(wildcard .depend)) | ||
include .depend | ||
endif | ||
|
||
DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v "\.tar\.bz2" | grep -v "\/\." ) | ||
DISTDIR = $(RELEASE_NAME) | ||
|
||
release: clean | ||
@rm -rf $(DISTDIR) | ||
@mkdir $(DISTDIR) | ||
@chmod 777 $(DISTDIR) | ||
@for file in $(DISTFILES); do \ | ||
if test -d $$file; then \ | ||
mkdir $(DISTDIR)/$$file; \ | ||
else \ | ||
cp -p $$file $(DISTDIR)/$$file; \ | ||
fi; \ | ||
done | ||
@tar -c $(DISTDIR) | bzip2 -9 > $(RELEASE_NAME).tar.bz2 | ||
@rm -rf $(DISTDIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
BCM43xx Linux Driver Project | ||
============================ | ||
|
||
About this software | ||
------------------- | ||
|
||
The goal of this project is to develop a linux driver for Broadcom | ||
BCM43xx chips, based on the specification at | ||
http://bcm-specs.sipsolutions.net/ | ||
|
||
The project page is http://bcm43xx.berlios.de/ | ||
|
||
|
||
Requirements | ||
------------ | ||
|
||
1) Linux Kernel 2.6.15 or later | ||
http://www.kernel.org/ | ||
|
||
You may want to configure your kernel with: | ||
|
||
CONFIG_DEBUG_FS (optional): | ||
-> Kernel hacking | ||
-> Debug Filesystem | ||
|
||
2) SoftMAC IEEE 802.11 Networking Stack extension and patched ieee80211 | ||
modules: | ||
http://softmac.sipsolutions.net/ | ||
|
||
3) Firmware Files | ||
|
||
Please try fwcutter. Fwcutter can extract the firmware from various | ||
binary driver files. It supports driver files from Windows, MacOS and | ||
Linux. You can get fwcutter from http://bcm43xx.berlios.de/. | ||
Also, fwcutter comes with a README file for further instructions. |
Oops, something went wrong.