1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 18:50:49 +02:00

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
This commit is contained in:
juhosg 2012-08-27 18:09:57 +00:00
parent 8bdd622adf
commit c4f6306026
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,
+}; +};
+ +