Changeset 31915


Ignore:
Timestamp:
2012-05-27T19:09:43+02:00 (6 years ago)
Author:
juhosg
Message:

generic: rtl8366_smi: rename debugfs Kconfig symbol

Location:
trunk/target/linux/generic
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/config-3.3

    r31774 r31915  
    23062306# CONFIG_RTL8366RB_PHY is not set 
    23072307# CONFIG_RTL8366S_PHY is not set 
    2308 # CONFIG_RTL8366S_PHY_DEBUG_FS is not set 
    23092308# CONFIG_RTL8366_SMI is not set 
     2309# CONFIG_RTL8366_SMI_DEBUG_FS is not set 
    23102310# CONFIG_RTL8367_PHY is not set 
    23112311# CONFIG_RTS_PSTOR is not set 
  • trunk/target/linux/generic/files/drivers/net/phy/rtl8366_smi.c

    r31536 r31915  
    1818#include <linux/rtl8366.h> 
    1919 
    20 #ifdef CONFIG_RTL8366S_PHY_DEBUG_FS 
     20#ifdef CONFIG_RTL8366_SMI_DEBUG_FS 
    2121#include <linux/debugfs.h> 
    2222#endif 
     
    580580} 
    581581 
    582 #ifdef CONFIG_RTL8366S_PHY_DEBUG_FS 
     582#ifdef CONFIG_RTL8366_SMI_DEBUG_FS 
    583583int rtl8366_debugfs_open(struct inode *inode, struct file *file) 
    584584{ 
     
    891891static inline void rtl8366_debugfs_init(struct rtl8366_smi *smi) {} 
    892892static inline void rtl8366_debugfs_remove(struct rtl8366_smi *smi) {} 
    893 #endif /* CONFIG_RTL8366S_PHY_DEBUG_FS */ 
     893#endif /* CONFIG_RTL8366_SMI_DEBUG_FS */ 
    894894 
    895895static int rtl8366_smi_mii_init(struct rtl8366_smi *smi) 
  • trunk/target/linux/generic/files/drivers/net/phy/rtl8366_smi.h

    r31536 r31915  
    5353 
    5454        char                    buf[4096]; 
    55 #ifdef CONFIG_RTL8366S_PHY_DEBUG_FS 
     55#ifdef CONFIG_RTL8366_SMI_DEBUG_FS 
    5656        struct dentry           *debugfs_root; 
    5757        u16                     dbg_reg; 
     
    113113int rtl8366_enable_all_ports(struct rtl8366_smi *smi, int enable); 
    114114 
    115 #ifdef CONFIG_RTL8366S_PHY_DEBUG_FS 
     115#ifdef CONFIG_RTL8366_SMI_DEBUG_FS 
    116116int rtl8366_debugfs_open(struct inode *inode, struct file *file); 
    117117#endif 
  • trunk/target/linux/generic/patches-3.3/726-phy_rtl8366.patch

    r31637 r31915  
    11--- a/drivers/net/phy/Kconfig 
    22+++ b/drivers/net/phy/Kconfig 
    3 @@ -168,6 +168,31 @@ config MDIO_OCTEON 
     3@@ -168,6 +168,30 @@ config MDIO_OCTEON 
    44  
    55          If in doubt, say Y. 
     
    1414+if RTL8366_SMI 
    1515+ 
     16+config RTL8366_SMI_DEBUG_FS 
     17+       bool "RTL8366 SMI interface debugfs support" 
     18+        depends on DEBUG_FS 
     19+        default n 
     20+ 
    1621+config RTL8366S_PHY 
    1722+       tristate "Driver for the Realtek RTL8366S switch" 
     
    2126+       tristate "Driver for the Realtek RTL8366RB switch" 
    2227+       select SWCONFIG 
    23 + 
    24 +config RTL8366S_PHY_DEBUG_FS 
    25 +       bool "RTL8366 switch driver DEBUG_FS support" 
    26 +       depends on RTL8366S_PHY || RTL8366RB_PHY 
    27 +       depends on DEBUG_FS 
    28 +       default n 
    2928+ 
    3029+endif # RTL8366_SMI 
  • trunk/target/linux/generic/patches-3.3/727-phy-rtl8367.patch

    r31637 r31915  
    11--- a/drivers/net/phy/Kconfig 
    22+++ b/drivers/net/phy/Kconfig 
    3 @@ -185,6 +185,10 @@ config RTL8366RB_PHY 
     3@@ -190,6 +190,10 @@ config RTL8366RB_PHY 
    44        tristate "Driver for the Realtek RTL8366RB switch" 
    55        select SWCONFIG 
     
    99+       select SWCONFIG 
    1010+ 
    11  config RTL8366S_PHY_DEBUG_FS 
    12         bool "RTL8366 switch driver DEBUG_FS support" 
    13         depends on RTL8366S_PHY || RTL8366RB_PHY 
     11 endif # RTL8366_SMI 
     12  
     13 endif # PHYLIB 
    1414--- a/drivers/net/phy/Makefile 
    1515+++ b/drivers/net/phy/Makefile 
Note: See TracChangeset for help on using the changeset viewer.