lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20091109185644.GA15159@caffeine.csclub.uwaterloo.ca>
Date:	Mon, 9 Nov 2009 18:56:44 +0000
From:	lsorense@...lub.uwaterloo.ca (Lennart Sorensen)
To:	linux-kernel@...r.kernel.org
Cc:	Kumar Gala <galak@...nel.crashing.org>,
	Len Sorensen <lsorense@...lub.uwaterloo.ca>,
	netdev@...r.kernel.org
Subject: Fix syntax of mdio.txt to match actual syntax.

The syntax in Documentation/powerpc/dts-bindings/gpio/mdio.txt is not
up to date and no longer works.  Fix this as well as actually show how
to represent a PHY on the gpio-bitbang bus.

Tested with 2.6.31 on a RuggedCom RX5000 (mpc8360e based).

Signed-off-by: Lennart Sorensen <lsorense@...lub.uwaterloo.ca>

diff --git a/Documentation/powerpc/dts-bindings/gpio/mdio.txt b/Documentation/powerpc/dts-bindings/gpio/mdio.txt
index bc95495..7a84f25 100644
--- a/Documentation/powerpc/dts-bindings/gpio/mdio.txt
+++ b/Documentation/powerpc/dts-bindings/gpio/mdio.txt
@@ -14,6 +14,15 @@ mdio {
 	compatible = "virtual,mdio-gpio";
 	#address-cells = <1>;
 	#size-cells = <0>;
-	gpios = <&qe_pio_a 11
-		 &qe_pio_c 6>;
+	gpios = <&qe_pio_a 11 0
+		 &qe_pio_c 6 0>;
+
+	phy0: ethernet-phy@00 {
+		reg = <0x18>;
+		device_type = "ethernet-phy";
+	};
+	phy1: ethernet-phy@01 {
+		reg = <0x0f>;
+		device_type = "ethernet-phy";
+	};
 };
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ