From 4405faae26cbddd63447a307200d928109286595 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Mon, 27 Aug 2012 18:09:57 +0000
Subject: [PATCH] gemini: fix bus ids for PHY devices (closes: #12082)

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33288
---
 .../patches-3.3/122-arm-gemini-wbd111-register-ethernet.patch | 2 +-
 .../patches-3.3/123-arm-gemini-wbd222-register-eth.patch      | 4 ++--
 .../patches-3.3/124-arm-gemini-rut100-register-ethernet.patch | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/gemini/patches-3.3/122-arm-gemini-wbd111-register-ethernet.patch b/target/linux/gemini/patches-3.3/122-arm-gemini-wbd111-register-ethernet.patch
index da2eefc077..aa54ade742 100644
--- a/target/linux/gemini/patches-3.3/122-arm-gemini-wbd111-register-ethernet.patch
+++ b/target/linux/gemini/patches-3.3/122-arm-gemini-wbd111-register-ethernet.patch
@@ -23,7 +23,7 @@
 +};
 +
 +static struct gemini_gmac_platform_data gmac_data = {
-+	.bus_id[0] = "0:01",
++	.bus_id[0] = "gpio-0:01",
 +	.interface[0] = PHY_INTERFACE_MODE_MII,
 +};
 +
diff --git a/target/linux/gemini/patches-3.3/123-arm-gemini-wbd222-register-eth.patch b/target/linux/gemini/patches-3.3/123-arm-gemini-wbd222-register-eth.patch
index 6318af86a5..621a9ab8b4 100644
--- a/target/linux/gemini/patches-3.3/123-arm-gemini-wbd222-register-eth.patch
+++ b/target/linux/gemini/patches-3.3/123-arm-gemini-wbd222-register-eth.patch
@@ -23,9 +23,9 @@
 +};
 +
 +static struct gemini_gmac_platform_data gmac_data = {
-+	.bus_id[0] = "0:01",
++	.bus_id[0] = "gpio-0:01",
 +	.interface[0] = PHY_INTERFACE_MODE_MII,
-+	.bus_id[1] = "0:03",
++	.bus_id[1] = "gpio-0:03",
 +        .interface[1] = PHY_INTERFACE_MODE_MII,
 +};
 +
diff --git a/target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch b/target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch
index 36cafed648..e1e57ee75f 100644
--- a/target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch
+++ b/target/linux/gemini/patches-3.3/124-arm-gemini-rut100-register-ethernet.patch
@@ -29,7 +29,7 @@
 +};
 +
 +static struct gemini_gmac_platform_data gmac_data = {
-+	.bus_id[0] = "0:01",
++	.bus_id[0] = "gpio-0:01",
 +	.interface[0] = PHY_INTERFACE_MODE_MII,
 +};
 +
-- 
2.30.2