All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Do not use fixed MAC address in dts file
@ 2013-12-02 14:33 Tudor Florea
  2013-12-02 15:17 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Tudor Florea @ 2013-12-02 14:33 UTC (permalink / raw)
  To: meta-ti

Do not use fixed MAC address in dts file to avoid duplicate MAC
address in the same LAN segment


Signed-off-by: Tudor Florea <tudor.florea@enea.com>
---
 .../avoid_duplicate_mac_addr.patch                 |   30 ++++++++++++++++++++
 recipes-kernel/linux/linux-keystone_3.8.4.bb       |    1 +
 2 files changed, 31 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch

diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch b/recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch
new file mode 100644
index 0000000..d29b76c
--- /dev/null
+++ b/recipes-kernel/linux/linux-keystone-3.8.4/avoid_duplicate_mac_addr.patch
@@ -0,0 +1,30 @@
+diff --git a/arch/arm/boot/dts/k2hk-evm.dts b/arch/arm/boot/dts/k2hk-evm.dts
+index 50e7fe6..ae46287 100644
+--- a/arch/arm/boot/dts/k2hk-evm.dts
++++ b/arch/arm/boot/dts/k2hk-evm.dts
+@@ -2462,7 +2462,7 @@
+ 					rx-channel = "netrx1";
+ 					rx-queue-depth = <128 128 0 0>;
+ 					rx-buffer-size = <1500 4096 0 0>;
+					efuse-mac = <0>;
+-					local-mac-address = [02 18 31 7e 3e 6f];
++					/*local-mac-address = [02 18 31 7e 3e 6f]; */
+ 				};
+ 			};
+ 
+@@ -2721,13 +2721,13 @@
+ 					rx-channel = "xgerx0";
+ 					rx-queue-depth = <128 0 0 0>;
+ 					rx-buffer-size = <1500 0 0 0>;
+-					local-mac-address = [02 18 31 7e 3e 5e]; /*+++FIXME*/
++					/* local-mac-address = [02 18 31 7e 3e 5e]; */
+ 				};
+ 				interface-1 {
+ 					rx-channel = "xgerx1";
+ 					rx-queue-depth = <128 128 0 0>;
+ 					rx-buffer-size = <1500 4096 0 0>;
+-					local-mac-address = [02 18 31 7e 3e 5f]; /*+++FIXME*/
++					/* local-mac-address = [02 18 31 7e 3e 5f]; */
+ 				};
+ 			};
+ 
diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb b/recipes-kernel/linux/linux-keystone_3.8.4.bb
index 709ef8f..17c3b1b 100644
--- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
+++ b/recipes-kernel/linux/linux-keystone_3.8.4.bb
@@ -26,4 +26,5 @@ PR = "${MACHINE_KERNEL_PR}"
 SRC_URI = "git://arago-project.org/git/projects/linux-keystone.git;protocol=git;branch=${BRANCH}\
            file://defconfig\
            file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-in-Makefile.patch\
+           file://avoid_duplicate_mac_addr.patch\
           "
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-02 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 14:33 [PATCH] Do not use fixed MAC address in dts file Tudor Florea
2013-12-02 15:17 ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.