generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
authorGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 12:12:35 +0000 (12:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 22 Dec 2012 12:12:35 +0000 (12:12 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34846

target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c
target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1041n-v2.c
target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c
target/linux/ar71xx/patches-3.6/605-MIPS-ath79-db120-fixes.patch
target/linux/ar71xx/patches-3.6/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
target/linux/ar71xx/patches-3.6/609-MIPS-ath79-ap136-fixes.patch
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/include/linux/ar8216_platform.h

index c7b985863f00207b858f68f6afaccf2e7c02dad6..60baae9b79b4f18ff76f60a94408559ab119eab0 100644 (file)
@@ -106,7 +106,7 @@ static struct ar8327_pad_cfg rb2011_ar8327_pad0_cfg = {
 
 static struct ar8327_platform_data rb2011_ar8327_data = {
        .pad0_cfg = &rb2011_ar8327_pad0_cfg,
-       .cpuport_cfg = {
+       .port0_cfg = {
                .force_link = 1,
                .speed = AR8327_PORT_SPEED_1000,
                .duplex = 1,
index 71d48679d2f5d82477f52c45ca3e598a026cdb2b..22d1680519c06542282170375b693fc32661dfd5 100644 (file)
@@ -184,7 +184,7 @@ static struct ar8327_pad_cfg rb750gr3_ar8327_pad0_cfg = {
 
 static struct ar8327_platform_data rb750gr3_ar8327_data = {
        .pad0_cfg = &rb750gr3_ar8327_pad0_cfg,
-       .cpuport_cfg = {
+       .port0_cfg = {
                .force_link = 1,
                .speed = AR8327_PORT_SPEED_1000,
                .duplex = 1,
index 7be29555ddabc04f3e6202269e09c7434ee7a41a..bf4cf4629efd1413355f634300a68c89bc5de4ab 100644 (file)
@@ -121,7 +121,7 @@ static struct ar8327_led_cfg wdr4300_ar8327_led_cfg = {
 
 static struct ar8327_platform_data wdr4300_ar8327_data = {
        .pad0_cfg = &wdr4300_ar8327_pad0_cfg,
-       .cpuport_cfg = {
+       .port0_cfg = {
                .force_link = 1,
                .speed = AR8327_PORT_SPEED_1000,
                .duplex = 1,
index 163dc6fa631a1dd4eca202f4094ca90c368a1a60..fa8c4749cd7fd01399386fdc13e7ece8f8e3729f 100644 (file)
@@ -84,7 +84,7 @@ static struct ar8327_pad_cfg db120_ar8327_pad0_cfg = {
 
 static struct ar8327_platform_data db120_ar8327_data = {
        .pad0_cfg = &db120_ar8327_pad0_cfg,
-       .cpuport_cfg = {
+       .port0_cfg = {
                .force_link = 1,
                .speed = AR8327_PORT_SPEED_1000,
                .duplex = 1,
index ea692af60b8ab5cdaad4c417ec0e801a30ad1580..715fb064fee4a6d5bad528c0a2c3cb16840e1770 100644 (file)
@@ -131,7 +131,7 @@ static struct ar8327_led_cfg wndr4300_ar8327_led_cfg = {
 
 static struct ar8327_platform_data wndr4300_ar8327_data = {
        .pad0_cfg = &wndr4300_ar8327_pad0_cfg,
-       .cpuport_cfg = {
+       .port0_cfg = {
                .force_link = 1,
                .speed = AR8327_PORT_SPEED_1000,
                .duplex = 1,
index 97d8b539bb36c2962080df6fc17fd28537be121f..0ca786124f4f9ffd9c0cea6cb80a63a247f87def 100644 (file)
@@ -99,7 +99,7 @@
 -      .num_chipselect = 1,
 +static struct ar8327_platform_data db120_ar8327_data = {
 +      .pad0_cfg = &db120_ar8327_pad0_cfg,
-+      .cpuport_cfg = {
++      .port0_cfg = {
 +              .force_link = 1,
 +              .speed = AR8327_PORT_SPEED_1000,
 +              .duplex = 1,
index 65576b652a614758a5fd7bed2dcfc5bf8f7267fa..2e8fbdc93fad75bb2e7222183a1a39a7d87a394b 100644 (file)
 +
 +static struct ar8327_platform_data uap_pro_ar8327_data = {
 +      .pad0_cfg = &uap_pro_ar8327_pad0_cfg,
-+      .cpuport_cfg = {
++      .port0_cfg = {
 +              .force_link = 1,
 +              .speed = AR8327_PORT_SPEED_1000,
 +              .duplex = 1,
index b378888bfdc153f0c912e57997cf116f38b07b4d..33d807392107b321b370e8311269b343766bebdb 100644 (file)
@@ -93,7 +93,7 @@
 +static struct ar8327_platform_data ap136_ar8327_data = {
 +      .pad0_cfg = &ap136_ar8327_pad0_cfg,
 +      .pad6_cfg = &ap136_ar8327_pad6_cfg,
-+      .cpuport_cfg = {
++      .port0_cfg = {
 +              .force_link = 1,
 +              .speed = AR8327_PORT_SPEED_1000,
 +              .duplex = 1,
index 9cbe3a838cedfcad7275303ae62f2c0090f2f9a2..f20cc281bf06481ff5096f4dd09afe9809a3b0e9 100644 (file)
@@ -1084,7 +1084,7 @@ ar8327_init_cpuport(struct ar8216_priv *priv)
        if (!pdata)
                return;
 
-       cfg = &pdata->cpuport_cfg;
+       cfg = &pdata->port0_cfg;
        if (!cfg->force_link) {
                priv->write(priv, AR8327_REG_PORT_STATUS(AR8216_PORT_CPU),
                            AR8216_PORT_STATUS_LINK_AUTO);
index f5c2ef065f6a4154671171ece6ece50ef2b6bf37..f1673dbb53d4dd0777fe9a6b6dd3a4dd7367f6b4 100644 (file)
@@ -74,7 +74,7 @@ struct ar8327_platform_data {
        struct ar8327_pad_cfg *pad0_cfg;
        struct ar8327_pad_cfg *pad5_cfg;
        struct ar8327_pad_cfg *pad6_cfg;
-       struct ar8327_port_cfg cpuport_cfg;
+       struct ar8327_port_cfg port0_cfg;
        struct ar8327_led_cfg *led_cfg;
 };