Root/target/linux/generic/patches-3.7/726-phy_rtl8366.patch

1--- a/drivers/net/phy/Kconfig
2+++ b/drivers/net/phy/Kconfig
3@@ -215,6 +215,30 @@ config MDIO_BUS_MUX_MMIOREG
4 
5       Currently, only 8-bit registers are supported.
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 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@@ -23,6 +23,9 @@ obj-$(CONFIG_IP17XX_PHY) += ip17xx.o
37 obj-$(CONFIG_REALTEK_PHY) += realtek.o
38 obj-$(CONFIG_AR8216_PHY) += ar8216.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.o
45 obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
46

Archive Download this file



interactive