lantiq: several a803 related fixes
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index e58ca34de489bfcbe306073cd471b81fbcc4e437..7ec8d6fd21437daf73276ff657f5f9f75bcc99dd 100644 (file)
@@ -12,7 +12,7 @@ rt2x00_eeprom_extract() {
        local count=$3
        local mtd
 
-       . /etc/functions.sh
+       . /lib/functions.sh
 
        mtd=$(find_mtd_part $part)
        [ -n "$mtd" ] || \
@@ -29,8 +29,8 @@ case "$FIRMWARE" in
 "RT2860.eeprom" )
        local board=$(lantiq_board_id)
        case $board in
-       ARV7525PW|ARV752DPW)
-               rt2x00_eeprom_extract "board_config" 1040 272
+       ARV7525PW|ARV752DPW|ARV752DPW22)
+               rt2x00_eeprom_extract "board_config" 1040 512
                ;;
        *)
                rt2x00_eeprom_die "board $board is not supported yet"