[PATCH 1/1] at91: set dhcp vendor id on Atmel Reference board
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue Mar 13 13:43:15 EDT 2012
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
arch/arm/boards/at91sam9260ek/env/config | 7 +++++++
arch/arm/boards/at91sam9261ek/env/config | 7 +++++++
arch/arm/boards/at91sam9263ek/env/config | 1 +
arch/arm/boards/at91sam9m10g45ek/env/config | 1 +
arch/arm/boards/usb-a926x/env/config | 1 +
5 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/at91sam9260ek/env/config b/arch/arm/boards/at91sam9260ek/env/config
index 8db18ef..74e793c 100644
--- a/arch/arm/boards/at91sam9260ek/env/config
+++ b/arch/arm/boards/at91sam9260ek/env/config
@@ -4,6 +4,13 @@
# use 'none' if you want to skip kernel ip autoconfiguration
ip=dhcp
+if [ x$armlinux_architecture = x1099 ]
+then
+ dhcp_vendor_id=barebox-at91sam9260ek
+else
+ dhcp_vendor_id=barebox-at91sam9g20ek
+fi
+
# or set your networking parameters here
#eth0.ipaddr=a.b.c.d
#eth0.netmask=a.b.c.d
diff --git a/arch/arm/boards/at91sam9261ek/env/config b/arch/arm/boards/at91sam9261ek/env/config
index de13010..fca5184 100644
--- a/arch/arm/boards/at91sam9261ek/env/config
+++ b/arch/arm/boards/at91sam9261ek/env/config
@@ -4,6 +4,13 @@
# use 'none' if you want to skip kernel ip autoconfiguration
ip=dhcp
+if [ x$armlinux_architecture = x848 ]
+then
+ dhcp_vendor_id=barebox-at91sam9261ek
+else
+ dhcp_vendor_id=barebox-at91sam9g10ek
+fi
+
# or set your networking parameters here
#eth0.ipaddr=a.b.c.d
#eth0.netmask=a.b.c.d
diff --git a/arch/arm/boards/at91sam9263ek/env/config b/arch/arm/boards/at91sam9263ek/env/config
index 388a939..95eb8af 100644
--- a/arch/arm/boards/at91sam9263ek/env/config
+++ b/arch/arm/boards/at91sam9263ek/env/config
@@ -3,6 +3,7 @@
# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
ip=dhcp
+dhcp_vendor_id=barebox-at91sam9263ek
# or set your networking parameters here
#eth0.ipaddr=a.b.c.d
diff --git a/arch/arm/boards/at91sam9m10g45ek/env/config b/arch/arm/boards/at91sam9m10g45ek/env/config
index 9be6331..6b96599 100644
--- a/arch/arm/boards/at91sam9m10g45ek/env/config
+++ b/arch/arm/boards/at91sam9m10g45ek/env/config
@@ -3,6 +3,7 @@
# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
ip=dhcp
+dhcp_vendor_id=barebox-at91sam9m10g45ek
# or set your networking parameters here
#eth0.ipaddr=a.b.c.d
diff --git a/arch/arm/boards/usb-a926x/env/config b/arch/arm/boards/usb-a926x/env/config
index 96a4524..ff097a0 100644
--- a/arch/arm/boards/usb-a926x/env/config
+++ b/arch/arm/boards/usb-a926x/env/config
@@ -3,6 +3,7 @@
# use 'dhcp' to do dhcp in barebox and in kernel
# use 'none' if you want to skip kernel ip autoconfiguration
ip=dhcp
+dhcp_vendor_id=barebox-at91sam9x5ek
# or set your networking parameters here
#eth0.ipaddr=a.b.c.d
--
1.7.7
More information about the barebox
mailing list