diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-28 21:54:06 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-28 21:54:06 +0200 |
commit | be441a7f64db3c6f8cf4b66c4fba685ebde32916 (patch) | |
tree | a388117e7d4c637078dfa0df4a3d12d1d2fcfd79 /target/linux | |
parent | 7d21e25fc4ac3c3bb24204c8fc8c694ccda2b4c8 (diff) | |
parent | 3182a995a0cda63c6988243a64c929395736257e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/config/Config.in.netdevice | 12 | ||||
-rw-r--r-- | target/linux/patches/2.6.37/brcm.patch | 17 |
2 files changed, 20 insertions, 9 deletions
diff --git a/target/linux/config/Config.in.netdevice b/target/linux/config/Config.in.netdevice index f942046ac..590a466c4 100644 --- a/target/linux/config/Config.in.netdevice +++ b/target/linux/config/Config.in.netdevice @@ -343,6 +343,18 @@ config ADK_KERNEL_ATH5K_DEBUG config ADK_KPACKAGE_KMOD_B43 prompt "kmod-b43..................... Broadcom B43xx wireless cards" tristate + select ADK_PACKAGE_B43_FIRMWARE + select ADK_KPACKAGE_KMOD_FW_LOADER + select ADK_KPACKAGE_KMOD_MAC80211 + depends on ADK_TARGET_WITH_SSB || ADK_TARGET_WITH_MINIPCI + default n + help + Driver for Broadcom B43xx wireless chips. + +config ADK_KPACKAGE_KMOD_B43LEGACY + prompt "kmod-b43legacy............... Broadcom B43xx (legacy) wireless cards" + tristate + select ADK_PACKAGE_B43_FIRMWARE select ADK_KPACKAGE_KMOD_FW_LOADER select ADK_KPACKAGE_KMOD_MAC80211 depends on ADK_TARGET_WITH_SSB || ADK_TARGET_WITH_MINIPCI diff --git a/target/linux/patches/2.6.37/brcm.patch b/target/linux/patches/2.6.37/brcm.patch index c484dc838..e1f0ecbde 100644 --- a/target/linux/patches/2.6.37/brcm.patch +++ b/target/linux/patches/2.6.37/brcm.patch @@ -9,8 +9,8 @@ diff -Nur linux-2.6.37.orig/arch/mips/bcm47xx/Makefile linux-2.6.37/arch/mips/bc +obj-y := gpio.o irq.o nvram.o prom.o serial.o setup.o time.o platform.o diff -Nur linux-2.6.37.orig/arch/mips/bcm47xx/platform.c linux-2.6.37/arch/mips/bcm47xx/platform.c --- linux-2.6.37.orig/arch/mips/bcm47xx/platform.c 1970-01-01 01:00:00.000000000 +0100 -+++ linux-2.6.37/arch/mips/bcm47xx/platform.c 2011-04-26 21:54:17.727672777 +0200 -@@ -0,0 +1,147 @@ ++++ linux-2.6.37/arch/mips/bcm47xx/platform.c 2011-04-27 09:51:38.177664121 +0200 +@@ -0,0 +1,146 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive @@ -28,7 +28,6 @@ diff -Nur linux-2.6.37.orig/arch/mips/bcm47xx/platform.c linux-2.6.37/arch/mips/ +#include <asm/mach-bcm47xx/bcm47xx.h> +#include <asm/mach-bcm47xx/nvram.h> + -+#define NVRAM_FLASH_SIZE 0x10000 +#define CFGFS_FLASH_SIZE (128 * 1024) + +static struct mtd_partition bcm47xx_partitions[] = { @@ -36,8 +35,8 @@ diff -Nur linux-2.6.37.orig/arch/mips/bcm47xx/platform.c linux-2.6.37/arch/mips/ + { + .name = "cfe", + .offset = 0, -+ .size = 0x40000, /* 256k */ -+ .mask_flags = MTD_WRITEABLE /* force read-only */ ++ .size = BCM47XX_OVERRIDE_CFESIZE, ++ .mask_flags = MTD_WRITEABLE /* force read-only */ + }, +#define SLOT_LINUX 1 + { @@ -108,7 +107,7 @@ diff -Nur linux-2.6.37.orig/arch/mips/bcm47xx/platform.c linux-2.6.37/arch/mips/ + struct ssb_mipscore *mcore = &ssb_bcm47xx.mipscore; + struct bcm47xx_trx_header *trx_hdr; + -+ trx_hdr = (void *)KSEG1ADDR(mcore->flash_window + 0x40000); ++ trx_hdr = (void *)KSEG1ADDR(mcore->flash_window + BCM47XX_OVERRIDE_CFESIZE); + + /* devices might have 2, 4 or 8 MB flash size */ +#ifdef BCM47XX_OVERRIDE_FLASHSIZE @@ -122,11 +121,11 @@ diff -Nur linux-2.6.37.orig/arch/mips/bcm47xx/platform.c linux-2.6.37/arch/mips/ + printk(KERN_INFO "FLASH SIZE%s: %x\n", BCM47XX_OVERRODE_FLASHSIZE, + flash_size); + -+ left = flash_size - 0x40000; ++ left = flash_size - BCM47XX_OVERRIDE_CFESIZE; + posn = flash_size; -+ UPTODOWN(SLOT_NVRAM, NVRAM_FLASH_SIZE); ++ UPTODOWN(SLOT_NVRAM, BCM47XX_OVERRIDE_NVRAMSIZE); + UPTODOWN(SLOT_CFGFS, CFGFS_FLASH_SIZE); -+ bcm47xx_partitions[SLOT_LINUX].offset = 0x40000; ++ bcm47xx_partitions[SLOT_LINUX].offset = BCM47XX_OVERRIDE_CFESIZE; + bcm47xx_partitions[SLOT_LINUX].size = left; + + if (trx_hdr->magic == BCM47XX_TRX_MAGIC) { |