aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/base-files/lib/preinit/.svn
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/lantiq/base-files/lib/preinit/.svn')
-rw-r--r--target/linux/lantiq/base-files/lib/preinit/.svn/entries62
-rw-r--r--target/linux/lantiq/base-files/lib/preinit/.svn/text-base/42_athfix.svn-base19
2 files changed, 81 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/preinit/.svn/entries b/target/linux/lantiq/base-files/lib/preinit/.svn/entries
new file mode 100644
index 0000000..3a0e72c
--- /dev/null
+++ b/target/linux/lantiq/base-files/lib/preinit/.svn/entries
@@ -0,0 +1,62 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/lantiq/base-files/lib/preinit
+svn://svn.openwrt.org/openwrt
+
+
+
+2012-12-15T02:01:00.513352Z
+34698
+blogic
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+42_athfix
+file
+
+
+
+
+2013-03-17T12:12:42.000000Z
+8beea68c08d58bb604099bc2f63ad1f3
+2012-12-15T02:01:00.513352Z
+34698
+blogic
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+379
+
diff --git a/target/linux/lantiq/base-files/lib/preinit/.svn/text-base/42_athfix.svn-base b/target/linux/lantiq/base-files/lib/preinit/.svn/text-base/42_athfix.svn-base
new file mode 100644
index 0000000..d182fbf
--- /dev/null
+++ b/target/linux/lantiq/base-files/lib/preinit/.svn/text-base/42_athfix.svn-base
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+. /lib/functions/lantiq.sh
+
+init_atheeprom() {
+ local board=$(lantiq_board_name)
+ case $board in
+ "Netgear DGN3500B")
+ echo "- loading eeprom -"
+ dd if=/dev/mtd2 of=/sys/firmware/ath_eeprom bs=1k skip=60 count=4
+ echo 0 > /sys/bus/pci/slots/0000\:00\:0e.0/power
+ sleep 1
+ echo 1 > /sys/bus/pci/rescan
+ ;;
+ esac
+}
+
+boot_hook_add preinit_essential init_atheeprom
+