[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    svn commit: r309195 - head/sys/boot/fdt/dts/arm
From:       Ian Lepore <ian () FreeBSD ! org>
Date:       2016-11-26 17:55:46
Message-ID: 201611261755.uAQHtkDH027691 () repo ! freebsd ! org
[Download RAW message or body]

Author: ian
Date: Sat Nov 26 17:55:46 2016
New Revision: 309195
URL: https://svnweb.freebsd.org/changeset/base/309195

Log:
  Add an ethernet0 alias pointing to the /aix/usb/hub/ethernet node.  This
  is required for u-boot to locate the ethernet node when it's doing fixup
  of the mac-address property when the user has overridden the default addr.

Modified:
  head/sys/boot/fdt/dts/arm/rpi.dts
  head/sys/boot/fdt/dts/arm/rpi2.dts

Modified: head/sys/boot/fdt/dts/arm/rpi.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/rpi.dts	Sat Nov 26 15:49:59 2016	(r309194)
+++ head/sys/boot/fdt/dts/arm/rpi.dts	Sat Nov 26 17:55:46 2016	(r309195)
@@ -298,7 +298,7 @@
 				reg = <0x00000001>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				ethernet {
+				ethernet: ethernet {
 					compatible = "net,ethernet",
 						     "usb,device";
 					reg = <0x00000001>;
@@ -386,6 +386,7 @@
 
 	aliases {
 		uart0 = &uart0;
+		ethernet0 = &ethernet;
 	};
 
 	chosen {

Modified: head/sys/boot/fdt/dts/arm/rpi2.dts
==============================================================================
--- head/sys/boot/fdt/dts/arm/rpi2.dts	Sat Nov 26 15:49:59 2016	(r309194)
+++ head/sys/boot/fdt/dts/arm/rpi2.dts	Sat Nov 26 17:55:46 2016	(r309195)
@@ -315,7 +315,7 @@
 				reg = <0x00000001>;
 				#address-cells = <1>;
 				#size-cells = <0>;
-				ethernet {
+				ethernet: ethernet {
 					compatible = "net,ethernet",
 						     "usb,device";
 					reg = <0x00000001>;
@@ -397,6 +397,7 @@
 
 	aliases {
 		uart0 = &uart0;
+		ethernet0 = &ethernet;
 	};
 
 	chosen {
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic