summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-22 16:09:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-22 16:09:03 +0000
commit8105c6badd80899f0546c07dde91bf20dc9fb06a (patch)
treed6393fc364d5aca720ac1804d4f1838308a58530 /target/linux/ramips
parentc81b4475c91486b0734e39e1b60a0c67b2301341 (diff)
downloadmtk-20170518-8105c6badd80899f0546c07dde91bf20dc9fb06a.zip
mtk-20170518-8105c6badd80899f0546c07dde91bf20dc9fb06a.tar.gz
mtk-20170518-8105c6badd80899f0546c07dde91bf20dc9fb06a.tar.bz2
ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34860
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom4
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c2
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c3
-rw-r--r--target/linux/ramips/files/arch/mips/ralink/rt3883/devices.c2
4 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 21c9f5f..ace4c1a 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -28,9 +28,7 @@ rt2x00_eeprom_extract() {
board=$(ramips_board_name)
case "$FIRMWARE" in
-"RT288X.eeprom" | \
-"RT305X.eeprom" | \
-"RT3883.eeprom")
+"soc_wmac.eeprom")
case $board in
dir-300-b1 | \
dir-600-b1 | \
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c b/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c
index 7f4d450..196810a 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt288x/devices.c
@@ -134,7 +134,7 @@ static struct platform_device rt288x_wifi_device = {
void __init rt288x_register_wifi(void)
{
- rt288x_wifi_data.eeprom_file_name = "RT288X.eeprom";
+ rt288x_wifi_data.eeprom_file_name = "soc_wmac.eeprom";
platform_device_register(&rt288x_wifi_device);
}
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
index a8e0604..557eb10 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/devices.c
@@ -216,7 +216,8 @@ static struct platform_device rt305x_wifi_device = {
void __init rt305x_register_wifi(void)
{
u32 t;
- rt305x_wifi_data.eeprom_file_name = "RT305X.eeprom";
+
+ rt305x_wifi_data.eeprom_file_name = "soc_wmac.eeprom";
if (soc_is_rt3352() || soc_is_rt5350()) {
t = rt305x_sysc_rr(SYSC_REG_SYSTEM_CONFIG);
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.c b/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.c
index fef4cc5..3a1bf26 100644
--- a/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.c
+++ b/target/linux/ramips/files/arch/mips/ralink/rt3883/devices.c
@@ -319,7 +319,7 @@ static struct platform_device rt3883_wlan_device = {
void __init rt3883_register_wlan(void)
{
- rt3883_wlan_data.eeprom_file_name = "RT3883.eeprom",
+ rt3883_wlan_data.eeprom_file_name = "soc_wmac.eeprom",
platform_device_register(&rt3883_wlan_device);
}