/branches/18.06.1/target/linux/brcm63xx/patches-4.14/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch |
@@ -18,17 +18,17 @@ |
--- a/arch/mips/bcm63xx/Makefile |
+++ b/arch/mips/bcm63xx/Makefile |
@@ -3,7 +3,7 @@ obj-y += clk.o cpu.o cs.o gpio.o irq.o |
setup.o timer.o dev-enet.o dev-flash.o dev-pcmcia.o \ |
dev-rng.o dev-wdt.o \ |
dev-usb-ehci.o dev-usb-ohci.o dev-usb-usbd.o usb-common.o \ |
- pci-ath9k-fixup.o sprom.o |
+ pci-ath9k-fixup.o pci-rt2x00-fixup.o sprom.o |
setup.o timer.o dev-dsp.o dev-enet.o dev-flash.o \ |
dev-pcmcia.o dev-rng.o \ |
dev-wdt.o dev-usb-ehci.o dev-usb-ohci.o dev-usb-usbd.o \ |
- pci-ath9k-fixup.o usb-common.o sprom.o |
+ pci-ath9k-fixup.o pci-rt2x00-fixup.o usb-common.o sprom.o |
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
|
obj-y += boards/ |
--- a/arch/mips/bcm63xx/boards/board_common.c |
+++ b/arch/mips/bcm63xx/boards/board_common.c |
@@ -32,6 +32,7 @@ |
@@ -33,6 +33,7 @@ |
#include <bcm63xx_dev_usb_usbd.h> |
#include <board_bcm963xx.h> |
#include <pci_ath9k_fixup.h> |
@@ -36,7 +36,7 @@ |
|
#include "board_common.h" |
|
@@ -244,9 +245,19 @@ int __init board_register_devices(void) |
@@ -248,9 +249,19 @@ int __init board_register_devices(void) |
} |
|
/* register any fixups */ |
@@ -136,8 +136,8 @@ |
+ |
--- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h |
+++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h |
@@ -10,6 +10,7 @@ |
#include <bcm63xx_dev_usb_usbd.h> |
@@ -11,6 +11,7 @@ |
#include <bcm63xx_dev_dsp.h> |
#include <bcm63xx_fallback_sprom.h> |
#include <pci_ath9k_fixup.h> |
+#include <pci_rt2x00_fixup.h> |
@@ -144,7 +144,7 @@ |
|
/* |
* flash mapping |
@@ -17,12 +18,16 @@ |
@@ -18,12 +19,16 @@ |
#define BCM963XX_CFE_VERSION_OFFSET 0x570 |
#define BCM963XX_NVRAM_OFFSET 0x580 |
|
@@ -162,7 +162,7 @@ |
}; |
|
/* |
@@ -45,7 +50,7 @@ struct board_info { |
@@ -47,7 +52,7 @@ struct board_info { |
unsigned int has_caldata:2; |
|
/* wifi calibration data config */ |