On 28/05/13 13:12, Daniel Gimpelevich wrote:
This patch sets the ESI properly for the Lantiq ATM driver so that
things like DHCP over RFC1483 will work correctly.
Signed-off-by: Daniel Gimpelevich<[email protected]>
Index: target/linux/lantiq/ase/target.mk
===================================================================
--- a/target/linux/lantiq/ase/target.mk (revision 36739)
+++ b/target/linux/lantiq/ase/target.mk (working copy)
@@ -3,7 +3,7 @@
BOARDNAME:=Amazon-SE
FEATURES:=squashfs jffs2 atm
-DEFAULT_PACKAGES+=kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl
kmod-ltq-dsl-ase ltq-dsl-app
+DEFAULT_PACKAGES+=kmod-pppoa ppp-mod-pppoa linux-atm atm-esi atm-tools
br2684ctl kmod-ltq-dsl-ase ltq-dsl-app
esi is not a default package really. you are the first user in 6 years
that needs it. make it a board specific option. i dont mind it being
default for dgn3500 but other arv baords with 4mb flash dont need to
ship this.
define Target/Description
Lantiq ASE
Index: target/linux/lantiq/xway/target.mk
===================================================================
--- a/target/linux/lantiq/xway/target.mk (revision 36739)
+++ b/target/linux/lantiq/xway/target.mk (working copy)
@@ -3,7 +3,7 @@
BOARDNAME:=XWAY
FEATURES:=squashfs jffs2 atm
-DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug
+DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug linux-atm atm-esi
same as above
define Target/Description
Lantiq XWAY
Index: target/linux/lantiq/base-files/etc/init.d/esi
===================================================================
--- a/target/linux/lantiq/base-files/etc/init.d/esi (revision 0)
+++ b/target/linux/lantiq/base-files/etc/init.d/esi (revision 0)
@@ -0,0 +1,7 @@
+#!/bin/sh /etc/rc.common
+# Copyright (C) 2013 OpenWrt.org
+
+START=19
+start() {
+ esi $(printf '%X' $((1+0x$(tr -d :</sys/class/net/eth0/address))))
2>/dev/null || :
+}
this should be in the esi package and not the target folder
Property changes on: target/linux/lantiq/base-files/etc/init.d/esi
___________________________________________________________________
Added: svn:executable
+ *
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel