kernel: split patches folder up into backport, pending and hack folders
[openwrt/openwrt.git] / target / linux / generic / pending-4.4 / 726-phy_rtl8366.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -299,6 +299,30 @@ config MDIO_BCM_IPROC
4 This module provides a driver for the MDIO busses found in the
5 Broadcom iProc SoC's.
6
7 +config RTL8366_SMI
8 + tristate "Driver for the RTL8366 SMI interface"
9 + depends on GPIOLIB
10 + ---help---
11 + This module implements the SMI interface protocol which is used
12 + by some RTL8366 ethernet switch devices via the generic GPIO API.
13 +
14 +if RTL8366_SMI
15 +
16 +config RTL8366_SMI_DEBUG_FS
17 + bool "RTL8366 SMI interface debugfs support"
18 + depends on DEBUG_FS
19 + default n
20 +
21 +config RTL8366S_PHY
22 + tristate "Driver for the Realtek RTL8366S switch"
23 + select SWCONFIG
24 +
25 +config RTL8366RB_PHY
26 + tristate "Driver for the Realtek RTL8366RB switch"
27 + select SWCONFIG
28 +
29 +endif # RTL8366_SMI
30 +
31 endif # PHYLIB
32
33 config MICREL_KS8995MA
34 --- a/drivers/net/phy/Makefile
35 +++ b/drivers/net/phy/Makefile
36 @@ -28,6 +28,9 @@ obj-$(CONFIG_IP17XX_PHY) += ip17xx.o
37 obj-$(CONFIG_REALTEK_PHY) += realtek.o
38 obj-$(CONFIG_AR8216_PHY) += ar8216.o ar8327.o
39 obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
40 +obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
41 +obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
42 +obj-$(CONFIG_RTL8366RB_PHY) += rtl8366rb.o
43 obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
44 obj-$(CONFIG_FIXED_PHY) += fixed_phy.o
45 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o