Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 16:12:33 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 221676 for review
Message-ID:  <201302011612.r11GCXJw060072@skunkworks.freebsd.org>

index | next in thread | raw e-mail

http://p4web.freebsd.org/@@221676?ac=10

Change 221676 by bz@bz_zenith on 2013/02/01 16:12:08

	Change order so that isf(4) is always probed and attached
	before atse(4) will be, so that we can find the device and
	read the Ethernet addresses.
	
	This is hackish but a good workaround for now until a loader
	will fix it for us.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/boot/fdt/dts/beripad-de4.dts#14 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/boot/fdt/dts/beripad-de4.dts#14 (text+ko) ====

@@ -95,6 +95,20 @@
 			reg = <0x7f006000 0x1>;
 		};
 
+		/*
+		 * XXX-BZ keep flash before ethernet so that atse can read the
+		 * Ethernet addresses for now.
+		 */
+		flash@0x74000000 {
+			compatible = "intel,strataflash";
+			reg = <0x74000000 0x2000000>;
+		};
+
+		flash@0x76000000 {
+			compatible = "intel,strataflash";
+			reg = <0x76000000 0x2000000>;
+		};
+
 		ethernet@7f007000 {
 			compatible = "altera,atse";
 			/* MAC, RX+RXC, TX+TXC. */
@@ -124,16 +138,6 @@
 			       0x70177000 0x2000>;
 		};
 
-		flash@0x74000000 {
-			compatible = "intel,strataflash";
-			reg = <0x74000000 0x2000000>;
-		};
-
-		flash@0x76000000 {
-			compatible = "intel,strataflash";
-			reg = <0x76000000 0x2000000>;
-		};
-
 		avgen@0x7f009000 {
 			compatible = "sri-cambridge,avgen";
 			reg = <0x7f009000 0x2>;	


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302011612.r11GCXJw060072>