Changeset 44710


Ignore:
Timestamp:
2015-03-13T03:58:37+01:00 (3 years ago)
Author:
nbd
Message:

atheros: v3.18: remove eth platform device unused field

Ethernet controller driver don't use boarddata directly, so remove
corresponding field from its platform device structure.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@…>

Location:
trunk/target/linux/atheros/patches-3.18
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/atheros/patches-3.18/100-board.patch

    r44709 r44710  
    350350--- /dev/null 
    351351+++ b/arch/mips/include/asm/mach-ath25/ath25_platform.h 
    352 @@ -0,0 +1,85 @@ 
     352@@ -0,0 +1,84 @@ 
    353353+#ifndef __ASM_MACH_ATH25_PLATFORM_H 
    354354+#define __ASM_MACH_ATH25_PLATFORM_H 
     
    431431+       u32 reset_mac; 
    432432+       u32 reset_phy; 
    433 +       struct ar231x_board_config *config; 
    434433+       char *macaddr; 
    435434+}; 
     
    15001499--- /dev/null 
    15011500+++ b/arch/mips/ath25/ar5312.c 
    1502 @@ -0,0 +1,476 @@ 
     1501@@ -0,0 +1,474 @@ 
    15031502+/* 
    15041503+ * This file is subject to the terms and conditions of the GNU General Public 
     
    16761675+       .reset_mac = AR5312_RESET_ENET0, 
    16771676+       .reset_phy = AR5312_RESET_EPHY0, 
    1678 +       .config = &ar231x_board, 
    16791677+}; 
    16801678+ 
     
    16841682+       .reset_mac = AR5312_RESET_ENET1, 
    16851683+       .reset_phy = AR5312_RESET_EPHY1, 
    1686 +       .config = &ar231x_board, 
    16871684+}; 
    16881685+ 
     
    19791976--- /dev/null 
    19801977+++ b/arch/mips/ath25/ar2315.c 
    1981 @@ -0,0 +1,431 @@ 
     1978@@ -0,0 +1,430 @@ 
    19821979+/* 
    19831980+ * This file is subject to the terms and conditions of the GNU General Public 
     
    21492146+       .reset_mac = AR2315_RESET_ENET0, 
    21502147+       .reset_phy = AR2315_RESET_EPHY0, 
    2151 +       .config = &ar231x_board, 
    21522148+}; 
    21532149+ 
  • trunk/target/linux/atheros/patches-3.18/102-ar5312_gpio.patch

    r44707 r44710  
    1111--- a/arch/mips/ath25/ar5312.c 
    1212+++ b/arch/mips/ath25/ar5312.c 
    13 @@ -192,6 +192,22 @@ static struct platform_device ar5312_phy 
     13@@ -190,6 +190,22 @@ static struct platform_device ar5312_phy 
    1414        .num_resources = 1, 
    1515 }; 
     
    3434 static struct gpio_led ar5312_leds[] = { 
    3535        { .name = "wlan", .gpio = 0, .active_low = 1, }, 
    36 @@ -282,6 +298,8 @@ int __init ar5312_init_devices(void) 
     36@@ -280,6 +296,8 @@ int __init ar5312_init_devices(void) 
    3737  
    3838        platform_device_register(&ar5312_physmap_flash); 
  • trunk/target/linux/atheros/patches-3.18/103-ar2315_gpio.patch

    r44707 r44710  
    99--- a/arch/mips/ath25/ar2315.c 
    1010+++ b/arch/mips/ath25/ar2315.c 
    11 @@ -212,6 +212,34 @@ static struct platform_device ar2315_wdt 
     11@@ -211,6 +211,34 @@ static struct platform_device ar2315_wdt 
    1212        .num_resources = ARRAY_SIZE(ar2315_wdt_res) 
    1313 }; 
     
    4444  * NB: We use mapping size that is larger than the actual flash size, 
    4545  * but this shouldn't be a problem here, because the flash will simply 
    46 @@ -277,6 +305,7 @@ ar2315_init_devices(void) 
     46@@ -276,6 +304,7 @@ ar2315_init_devices(void) 
    4747        ar231x_find_config(ar2315_flash_limit()); 
    4848        ar2315_eth_data.macaddr = ar231x_board.config->enet0_mac; 
  • trunk/target/linux/atheros/patches-3.18/105-ar2315_pci.patch

    r44708 r44710  
    383383                do_IRQ(AR2315_IRQ_MISC_INTRS); 
    384384        else if (pending & CAUSEF_IP7) 
    385 @@ -458,3 +462,18 @@ ar2315_plat_setup(void) 
     385@@ -457,3 +461,18 @@ ar2315_plat_setup(void) 
    386386        ar231x_serial_setup(AR2315_UART0, AR2315_MISC_IRQ_UART0, 
    387387                            ar2315_apb_frequency()); 
Note: See TracChangeset for help on using the changeset viewer.