ramips: update wlan firmware hotplug script for new eeprom size
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Jul 2013 11:04:21 +0000 (11:04 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 15 Jul 2013 11:04:21 +0000 (11:04 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r37112

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@37333 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

index 28e9301..bc4ea02 100644 (file)
@@ -36,21 +36,21 @@ case "$FIRMWARE" in
        dir-600-b1 | \
        dir-600-b2 | \
        dir-615-d)
-               rt2x00_eeprom_extract "devdata" 16384 272
+               rt2x00_eeprom_extract "devdata" 16384 512
                ;;
 
        dap-1350)
-               rt2x00_eeprom_extract "devdata" 0 272
+               rt2x00_eeprom_extract "devdata" 0 512
                ;;
 
        rt-n10-plus | \
        rt-g32-b1)
-               rt2x00_eeprom_extract "devconf" 0 272
+               rt2x00_eeprom_extract "devconf" 0 512
                ;;
 
        f5d8235-v1 | \
        f5d8235-v2)
-               rt2x00_eeprom_extract "u-boot" 262144 272
+               rt2x00_eeprom_extract "u-boot" 262144 512
                ;;
 
        3g-6200n | \
@@ -90,11 +90,11 @@ case "$FIRMWARE" in
        wr6202 | \
        ur-336un | \
        xdxrn502j)
-               rt2x00_eeprom_extract "factory" 0 272
+               rt2x00_eeprom_extract "factory" 0 512
                ;;
 
        wl341v3)
-               rt2x00_eeprom_extract "board-nvram" 64880 272
+               rt2x00_eeprom_extract "board-nvram" 64880 512
                ;;
 
        *)
@@ -106,7 +106,7 @@ case "$FIRMWARE" in
 "rt2x00pci_1_0.eeprom")
        case $board in
        rt-n56u)
-               rt2x00_eeprom_extract "factory" 32768 272
+               rt2x00_eeprom_extract "factory" 32768 512
                ;;
        esac
        ;;