aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-03-15 14:35:50 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-03-15 14:35:50 +0000
commit9f44658f89e0166b36d8d904bae23b6a22579267 (patch)
tree35e764fe1efffed91d8763129d2583f1e6ce2cf0 /target
parent7f077a5381c075f9f73f0fdc32add3948c24abf9 (diff)
downloadupstream-9f44658f89e0166b36d8d904bae23b6a22579267.tar.gz
upstream-9f44658f89e0166b36d8d904bae23b6a22579267.tar.bz2
upstream-9f44658f89e0166b36d8d904bae23b6a22579267.zip
ar71xx: rw2458n - Use eeprom (art) from wifi card
Use eeprom (art) from included wifi card, not hard coded in flash. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36037 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c
index b4a014f48a..bb7c2475bd 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c
@@ -1,7 +1,7 @@
/*
* Redwave RW2458N support
*
- * Copyright (C) 2011-2012 Cezary Jackiewicz <cezary@eko.one.pl>
+ * Copyright (C) 2011-2013 Cezary Jackiewicz <cezary@eko.one.pl>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
@@ -17,6 +17,7 @@
#include "dev-m25p80.h"
#include "dev-usb.h"
#include "machtypes.h"
+#include "pci.h"
#define RW2458N_GPIO_LED_D3 1
#define RW2458N_GPIO_LED_D4 0
@@ -64,7 +65,6 @@ static void __init rw2458n_setup(void)
{
u8 *mac1 = (u8 *) KSEG1ADDR(0x1fff0000);
u8 *mac2 = (u8 *) KSEG1ADDR(0x1fff0000 + ETH_ALEN);
- u8 *ee = (u8 *) KSEG1ADDR(0x1fff1000);
ath79_register_m25p80(NULL);
@@ -76,8 +76,6 @@ static void __init rw2458n_setup(void)
ath79_register_eth(0);
ath79_register_eth(1);
- ap91_pci_init(ee, NULL);
-
ath79_register_leds_gpio(-1, ARRAY_SIZE(rw2458n_leds_gpio),
rw2458n_leds_gpio);
@@ -85,6 +83,8 @@ static void __init rw2458n_setup(void)
ARRAY_SIZE(rw2458n_gpio_keys),
rw2458n_gpio_keys);
ath79_register_usb();
+
+ ath79_register_pci();
}
MIPS_MACHINE(ATH79_MACH_RW2458N, "RW2458N", "Redwave RW2458N",