diff options
author | John Crispin <john@openwrt.org> | 2011-07-17 19:27:44 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-07-17 19:27:44 +0000 |
commit | 59063773328e02631c611efc34cf574c0abbeb42 (patch) | |
tree | 898e2625ceeabbeb76bb0595d7e08cfa9cde9362 /target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch | |
parent | 4da4c491a6fc76f40022c96e2f142f8ed9656ab1 (diff) | |
download | upstream-59063773328e02631c611efc34cf574c0abbeb42.tar.gz upstream-59063773328e02631c611efc34cf574c0abbeb42.tar.bz2 upstream-59063773328e02631c611efc34cf574c0abbeb42.zip |
* add gigasx76x update
* rebase patches
* add arv752DPW arv7525PD
* fixes gpio_keys
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 27665
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch')
-rw-r--r-- | target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch b/target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch index 64c13b0670..faf30827fd 100644 --- a/target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch +++ b/target/linux/lantiq/patches-2.6.39/510-register_madwifi.patch @@ -1,17 +1,20 @@ --- a/arch/mips/lantiq/xway/devices.c +++ b/arch/mips/lantiq/xway/devices.c -@@ -144,6 +144,16 @@ ltq_register_gpio_ebu(unsigned int value +@@ -144,6 +144,19 @@ ltq_register_gpio_ebu(unsigned int value platform_device_register(<q_ebu); } +/* madwifi */ +int lantiq_emulate_madwifi_eep = 0; ++unsigned long long lantiq_madwifi_eep_addr = 0; +EXPORT_SYMBOL(lantiq_emulate_madwifi_eep); ++EXPORT_SYMBOL(lantiq_madwifi_eep_addr); + +void __init -+ltq_register_madwifi_eep(void) ++ltq_register_madwifi_eep(unsigned long long addr) +{ + lantiq_emulate_madwifi_eep = 1; ++ lantiq_madwifi_eep_addr = addr; +} + static struct resource ltq_spi_resources[] = { @@ -23,6 +26,6 @@ extern void ltq_register_ase_asc(void); extern void ltq_register_etop(struct ltq_eth_data *eth); extern void ltq_register_gpio_ebu(unsigned int value); -+extern void ltq_register_madwifi_eep(void); ++extern void ltq_register_madwifi_eep(unsigned long long addr); #endif |