source: trunk/target/linux/generic/patches-3.2/726-phy_rtl8366.patch @ 30944

Last change on this file since 30944 was 30944, checked in by juhosg, 5 years ago

linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected

File size: 1.2 KB
  • drivers/net/phy/Kconfig

    a b config MDIO_OCTEON 
    166166 
    167167          If in doubt, say Y. 
    168168 
     169config RTL8366_SMI 
     170        tristate "Driver for the RTL8366 SMI interface" 
     171        depends on GENERIC_GPIO 
     172        ---help--- 
     173          This module implements the SMI interface protocol which is used 
     174          by some RTL8366 ethernet switch devices via the generic GPIO API. 
     175 
     176if RTL8366_SMI 
     177 
     178config RTL8366S_PHY 
     179        tristate "Driver for the Realtek RTL8366S switch" 
     180        select SWCONFIG 
     181 
     182config RTL8366RB_PHY 
     183        tristate "Driver for the Realtek RTL8366RB switch" 
     184        select SWCONFIG 
     185 
     186config RTL8366S_PHY_DEBUG_FS 
     187        bool "RTL8366 switch driver DEBUG_FS support" 
     188        depends on RTL8366S_PHY || RTL8366RB_PHY 
     189        depends on DEBUG_FS 
     190        default n 
     191 
     192endif # RTL8366_SMI 
     193 
    169194endif # PHYLIB 
  • drivers/net/phy/Makefile

    a b obj-$(CONFIG_IP17XX_PHY) += ip17xx.o 
    2222obj-$(CONFIG_REALTEK_PHY)       += realtek.o 
    2323obj-$(CONFIG_AR8216_PHY)        += ar8216.o 
    2424obj-$(CONFIG_RTL8306_PHY)       += rtl8306.o 
     25obj-$(CONFIG_RTL8366_SMI)       += rtl8366_smi.o 
     26obj-$(CONFIG_RTL8366S_PHY)      += rtl8366s.o 
     27obj-$(CONFIG_RTL8366RB_PHY)     += rtl8366rb.o 
    2528obj-$(CONFIG_LSI_ET1011C_PHY)   += et1011c.o 
    2629obj-$(CONFIG_FIXED_PHY)         += fixed.o 
    2730obj-$(CONFIG_MDIO_BITBANG)      += mdio-bitbang.o 
Note: See TracBrowser for help on using the repository browser.