adds 2 ASC related patches to lantiq
[openwrt.git] / target / linux / generic / patches-2.6.38 / 726-phy_rtl8366.patch
1 --- a/drivers/net/phy/Kconfig
2 +++ b/drivers/net/phy/Kconfig
3 @@ -158,4 +158,29 @@ config MDIO_OCTEON
4
5 If in doubt, say Y.
6
7 +config RTL8366_SMI
8 + tristate "Driver for the RTL8366 SMI interface"
9 + depends on GENERIC_GPIO
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 RTL8366S_PHY
17 + tristate "Driver for the Realtek RTL8366S switch"
18 + select SWCONFIG
19 +
20 +config RTL8366RB_PHY
21 + tristate "Driver for the Realtek RTL8366RB switch"
22 + 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
29 +
30 +endif # RTL8366_SMI
31 +
32 endif # PHYLIB
33 --- a/drivers/net/phy/Makefile
34 +++ b/drivers/net/phy/Makefile
35 @@ -20,6 +20,9 @@ obj-$(CONFIG_IP17XX_PHY) += ip17xx.o
36 obj-$(CONFIG_REALTEK_PHY) += realtek.o
37 obj-$(CONFIG_AR8216_PHY) += ar8216.o
38 obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
39 +obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
40 +obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
41 +obj-$(CONFIG_RTL8366RB_PHY) += rtl8366rb.o
42 obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
43 obj-$(CONFIG_FIXED_PHY) += fixed.o
44 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
This page took 0.045366 seconds and 5 git commands to generate.