PERFORCE change 221676 for review

Bjoern A. Zeeb bz at FreeBSD.org
Fri Feb 1 16:12:34 UTC 2013


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

Change 221676 by bz at 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 at 0x74000000 {
+			compatible = "intel,strataflash";
+			reg = <0x74000000 0x2000000>;
+		};
+
+		flash at 0x76000000 {
+			compatible = "intel,strataflash";
+			reg = <0x76000000 0x2000000>;
+		};
+
 		ethernet at 7f007000 {
 			compatible = "altera,atse";
 			/* MAC, RX+RXC, TX+TXC. */
@@ -124,16 +138,6 @@
 			       0x70177000 0x2000>;
 		};
 
-		flash at 0x74000000 {
-			compatible = "intel,strataflash";
-			reg = <0x74000000 0x2000000>;
-		};
-
-		flash at 0x76000000 {
-			compatible = "intel,strataflash";
-			reg = <0x76000000 0x2000000>;
-		};
-
 		avgen at 0x7f009000 {
 			compatible = "sri-cambridge,avgen";
 			reg = <0x7f009000 0x2>;	


More information about the p4-projects mailing list