summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-25 15:13:38 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-25 15:13:38 +0000
commit49c4df54876253b4f3c3d74f788c947c4982bc4c (patch)
treedb8df3176012b2fed18e120d665e02bc5ef4bba1
parentaa196516d5d51cef19f4ccd5f8c68c028b14eb8f (diff)
downloadmtk-20170518-49c4df54876253b4f3c3d74f788c947c4982bc4c.zip
mtk-20170518-49c4df54876253b4f3c3d74f788c947c4982bc4c.tar.gz
mtk-20170518-49c4df54876253b4f3c3d74f788c947c4982bc4c.tar.bz2
rtl8366: make it available on all platforms
SVN-Revision: 19329
-rw-r--r--target/linux/ar71xx/patches-2.6.30/101-ksz8041_phy_driver.patch6
-rw-r--r--target/linux/ar71xx/patches-2.6.31/101-ksz8041_phy_driver.patch6
-rw-r--r--target/linux/ar71xx/patches-2.6.32/101-ksz8041_phy_driver.patch6
-rw-r--r--target/linux/generic-2.6/config-2.6.303
-rw-r--r--target/linux/generic-2.6/config-2.6.313
-rw-r--r--target/linux/generic-2.6/config-2.6.323
-rw-r--r--target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.c (renamed from target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c)0
-rw-r--r--target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.h (renamed from target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.h)0
-rw-r--r--target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c (renamed from target/linux/ar71xx/files/drivers/net/phy/rtl8366s.c)0
-rw-r--r--target/linux/generic-2.6/files/include/linux/rtl8366s.h (renamed from target/linux/ar71xx/files/include/linux/rtl8366s.h)0
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/691-phy_rtl8366.patch (renamed from target/linux/ar71xx/patches-2.6.30/204-rtl8366-smi-driver.patch)4
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/691-phy_rtl8366.patch (renamed from target/linux/ar71xx/patches-2.6.31/204-rtl8366-smi-driver.patch)4
-rw-r--r--target/linux/generic-2.6/patches-2.6.32/691-phy_rtl8366.patch (renamed from target/linux/ar71xx/patches-2.6.32/204-rtl8366-smi-driver.patch)4
13 files changed, 24 insertions, 15 deletions
diff --git a/target/linux/ar71xx/patches-2.6.30/101-ksz8041_phy_driver.patch b/target/linux/ar71xx/patches-2.6.30/101-ksz8041_phy_driver.patch
index d02addb..2a09911 100644
--- a/target/linux/ar71xx/patches-2.6.30/101-ksz8041_phy_driver.patch
+++ b/target/linux/ar71xx/patches-2.6.30/101-ksz8041_phy_driver.patch
@@ -14,9 +14,9 @@
depends on PHYLIB=y
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
-@@ -20,6 +20,7 @@ obj-$(CONFIG_REALTEK_PHY) += realtek.o
- obj-$(CONFIG_AR8216_PHY) += ar8216.o
- obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
+@@ -22,6 +22,7 @@ obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
+ obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
+ obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
+obj-$(CONFIG_MICREL) += micrel.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
diff --git a/target/linux/ar71xx/patches-2.6.31/101-ksz8041_phy_driver.patch b/target/linux/ar71xx/patches-2.6.31/101-ksz8041_phy_driver.patch
index d02addb..2a09911 100644
--- a/target/linux/ar71xx/patches-2.6.31/101-ksz8041_phy_driver.patch
+++ b/target/linux/ar71xx/patches-2.6.31/101-ksz8041_phy_driver.patch
@@ -14,9 +14,9 @@
depends on PHYLIB=y
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
-@@ -20,6 +20,7 @@ obj-$(CONFIG_REALTEK_PHY) += realtek.o
- obj-$(CONFIG_AR8216_PHY) += ar8216.o
- obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
+@@ -22,6 +22,7 @@ obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
+ obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
+ obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
+obj-$(CONFIG_MICREL) += micrel.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
diff --git a/target/linux/ar71xx/patches-2.6.32/101-ksz8041_phy_driver.patch b/target/linux/ar71xx/patches-2.6.32/101-ksz8041_phy_driver.patch
index 866b503..94193e8 100644
--- a/target/linux/ar71xx/patches-2.6.32/101-ksz8041_phy_driver.patch
+++ b/target/linux/ar71xx/patches-2.6.32/101-ksz8041_phy_driver.patch
@@ -14,9 +14,9 @@
depends on PHYLIB=y
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
-@@ -21,6 +21,7 @@ obj-$(CONFIG_REALTEK_PHY) += realtek.o
- obj-$(CONFIG_AR8216_PHY) += ar8216.o
- obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
+@@ -23,6 +23,7 @@ obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
+ obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
+ obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
+obj-$(CONFIG_MICREL) += micrel.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
diff --git a/target/linux/generic-2.6/config-2.6.30 b/target/linux/generic-2.6/config-2.6.30
index d5e82a2..db44fd7 100644
--- a/target/linux/generic-2.6/config-2.6.30
+++ b/target/linux/generic-2.6/config-2.6.30
@@ -1707,6 +1707,9 @@ CONFIG_RTC_LIB=y
# CONFIG_RTL8180 is not set
# CONFIG_RTL8187 is not set
# CONFIG_RTL8306_PHY is not set
+# CONFIG_RTL8366S_PHY is not set
+# CONFIG_RTL8366S_PHY_DEBUG_FS is not set
+# CONFIG_RTL8366_SMI is not set
CONFIG_RT_MUTEXES=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_S2IO is not set
diff --git a/target/linux/generic-2.6/config-2.6.31 b/target/linux/generic-2.6/config-2.6.31
index 9e56c5d..afb387e 100644
--- a/target/linux/generic-2.6/config-2.6.31
+++ b/target/linux/generic-2.6/config-2.6.31
@@ -1759,6 +1759,9 @@ CONFIG_RTC_LIB=y
# CONFIG_RTL8187SE is not set
# CONFIG_RTL8192SU is not set
# CONFIG_RTL8306_PHY is not set
+# CONFIG_RTL8366S_PHY is not set
+# CONFIG_RTL8366S_PHY_DEBUG_FS is not set
+# CONFIG_RTL8366_SMI is not set
CONFIG_RT_MUTEXES=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_S2IO is not set
diff --git a/target/linux/generic-2.6/config-2.6.32 b/target/linux/generic-2.6/config-2.6.32
index 3c355fa..d23d8ff 100644
--- a/target/linux/generic-2.6/config-2.6.32
+++ b/target/linux/generic-2.6/config-2.6.32
@@ -1787,6 +1787,9 @@ CONFIG_RTC_LIB=y
# CONFIG_RTL8192E is not set
# CONFIG_RTL8192SU is not set
# CONFIG_RTL8306_PHY is not set
+# CONFIG_RTL8366S_PHY is not set
+# CONFIG_RTL8366S_PHY_DEBUG_FS is not set
+# CONFIG_RTL8366_SMI is not set
CONFIG_RT_MUTEXES=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_S2IO is not set
diff --git a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.c
index 70218fc..70218fc 100644
--- a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c
+++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.c
diff --git a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.h b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.h
index e68fa9a..e68fa9a 100644
--- a/target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.h
+++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.h
diff --git a/target/linux/ar71xx/files/drivers/net/phy/rtl8366s.c b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c
index 833e455..833e455 100644
--- a/target/linux/ar71xx/files/drivers/net/phy/rtl8366s.c
+++ b/target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c
diff --git a/target/linux/ar71xx/files/include/linux/rtl8366s.h b/target/linux/generic-2.6/files/include/linux/rtl8366s.h
index 09173ec..09173ec 100644
--- a/target/linux/ar71xx/files/include/linux/rtl8366s.h
+++ b/target/linux/generic-2.6/files/include/linux/rtl8366s.h
diff --git a/target/linux/ar71xx/patches-2.6.30/204-rtl8366-smi-driver.patch b/target/linux/generic-2.6/patches-2.6.30/691-phy_rtl8366.patch
index 6de4af0..6223f00 100644
--- a/target/linux/ar71xx/patches-2.6.30/204-rtl8366-smi-driver.patch
+++ b/target/linux/generic-2.6/patches-2.6.30/691-phy_rtl8366.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
-@@ -140,4 +140,25 @@ config MDIO_GPIO
+@@ -135,4 +135,25 @@ config MDIO_GPIO
To compile this driver as a module, choose M here: the module
will be called mdio-gpio.
@@ -35,5 +35,5 @@
+obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
+obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
- obj-$(CONFIG_MICREL) += micrel.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
+ obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
diff --git a/target/linux/ar71xx/patches-2.6.31/204-rtl8366-smi-driver.patch b/target/linux/generic-2.6/patches-2.6.31/691-phy_rtl8366.patch
index 6de4af0..6223f00 100644
--- a/target/linux/ar71xx/patches-2.6.31/204-rtl8366-smi-driver.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/691-phy_rtl8366.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
-@@ -140,4 +140,25 @@ config MDIO_GPIO
+@@ -135,4 +135,25 @@ config MDIO_GPIO
To compile this driver as a module, choose M here: the module
will be called mdio-gpio.
@@ -35,5 +35,5 @@
+obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
+obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
- obj-$(CONFIG_MICREL) += micrel.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
+ obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o
diff --git a/target/linux/ar71xx/patches-2.6.32/204-rtl8366-smi-driver.patch b/target/linux/generic-2.6/patches-2.6.32/691-phy_rtl8366.patch
index fbd52c3..2f6b3c4 100644
--- a/target/linux/ar71xx/patches-2.6.32/204-rtl8366-smi-driver.patch
+++ b/target/linux/generic-2.6/patches-2.6.32/691-phy_rtl8366.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
-@@ -146,4 +146,25 @@ config MDIO_GPIO
+@@ -141,4 +141,25 @@ config MDIO_GPIO
To compile this driver as a module, choose M here: the module
will be called mdio-gpio.
@@ -35,5 +35,5 @@
+obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
+obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
- obj-$(CONFIG_MICREL) += micrel.o
obj-$(CONFIG_FIXED_PHY) += fixed.o
+ obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o