All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Tudor Florea <tudor.florea@enea.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] Do not use fixed MAC address in dts file
Date: Mon, 2 Dec 2013 10:17:09 -0500	[thread overview]
Message-ID: <20131202151708.GG690@edge> (raw)
In-Reply-To: <1385994786-41789-1-git-send-email-tudor.florea@enea.com>

On Mon, Dec 02, 2013 at 03:33:06PM +0100, Tudor Florea wrote:
> Do not use fixed MAC address in dts file to avoid duplicate MAC
> address in the same LAN segment

Should be updated to 3.10 anyway...

-- 
Denys


> 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
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


      reply	other threads:[~2013-12-02 15:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131202151708.GG690@edge \
    --to=denys@ti.com \
    --cc=meta-ti@yoctoproject.org \
    --cc=tudor.florea@enea.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.