gemini: fix bus ids for PHY devices (closes: #12082)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33288 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Gabor Juhos 2012-08-27 18:09:57 +00:00
parent 6a0998c459
commit aa7c6a730e
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
+}; +};
+ +
+static struct gemini_gmac_platform_data gmac_data = { +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, + .interface[0] = PHY_INTERFACE_MODE_MII,
+}; +};
+ +

View File

@ -23,9 +23,9 @@
+}; +};
+ +
+static struct gemini_gmac_platform_data gmac_data = { +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, + .interface[0] = PHY_INTERFACE_MODE_MII,
+ .bus_id[1] = "0:03", + .bus_id[1] = "gpio-0:03",
+ .interface[1] = PHY_INTERFACE_MODE_MII, + .interface[1] = PHY_INTERFACE_MODE_MII,
+}; +};
+ +

View File

@ -29,7 +29,7 @@
+}; +};
+ +
+static struct gemini_gmac_platform_data gmac_data = { +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, + .interface[0] = PHY_INTERFACE_MODE_MII,
+}; +};
+ +