rtl8366: make it available on all platforms
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Jan 2010 15:13:38 +0000 (15:13 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 25 Jan 2010 15:13:38 +0000 (15:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19329 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 files changed:
target/linux/ar71xx/patches-2.6.30/101-ksz8041_phy_driver.patch
target/linux/ar71xx/patches-2.6.31/101-ksz8041_phy_driver.patch
target/linux/ar71xx/patches-2.6.32/101-ksz8041_phy_driver.patch
target/linux/generic-2.6/config-2.6.30
target/linux/generic-2.6/config-2.6.31
target/linux/generic-2.6/config-2.6.32
target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.c [moved from target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.c with 100% similarity]
target/linux/generic-2.6/files/drivers/net/phy/rtl8366_smi.h [moved from target/linux/ar71xx/files/drivers/net/phy/rtl8366_smi.h with 100% similarity]
target/linux/generic-2.6/files/drivers/net/phy/rtl8366s.c [moved from target/linux/ar71xx/files/drivers/net/phy/rtl8366s.c with 100% similarity]
target/linux/generic-2.6/files/include/linux/rtl8366s.h [moved from target/linux/ar71xx/files/include/linux/rtl8366s.h with 100% similarity]
target/linux/generic-2.6/patches-2.6.30/691-phy_rtl8366.patch [moved from target/linux/ar71xx/patches-2.6.30/204-rtl8366-smi-driver.patch with 92% similarity]
target/linux/generic-2.6/patches-2.6.31/691-phy_rtl8366.patch [moved from target/linux/ar71xx/patches-2.6.31/204-rtl8366-smi-driver.patch with 92% similarity]
target/linux/generic-2.6/patches-2.6.32/691-phy_rtl8366.patch [moved from target/linux/ar71xx/patches-2.6.32/204-rtl8366-smi-driver.patch with 92% similarity]

index d02addb8790b0c19e9339ef249da1aba0d48a29c..2a09911e1ded1ce9661b7077bfaea2007a4cb218 100644 (file)
@@ -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
index d02addb8790b0c19e9339ef249da1aba0d48a29c..2a09911e1ded1ce9661b7077bfaea2007a4cb218 100644 (file)
@@ -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
index 866b50386a582ea31f9ce14a7f16294c8816b967..94193e85549a9c74637818ccc6e776d24030e2a5 100644 (file)
@@ -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
index d5e82a2a2d8fc9002dacd52b1e0ca3409e25e417..db44fd792af40ed1608a5ae7baca791e0f846e7a 100644 (file)
@@ -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
index 9e56c5d3df666bc185cc2c32072925334bf569c5..afb387e8992be82b2808c48184a22e9994509773 100644 (file)
@@ -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
index 3c355fa48f3e9c75db254c19d7cca961c3eb1ae5..d23d8ffc8da61bcebfc7835045800088600ff896 100644 (file)
@@ -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
similarity index 92%
rename from target/linux/ar71xx/patches-2.6.30/204-rtl8366-smi-driver.patch
rename to target/linux/generic-2.6/patches-2.6.30/691-phy_rtl8366.patch
index 6de4af032662439c1e86166a8f93a1393b32fe6f..6223f00fe7355c3545adacf3488d641058b1323f 100644 (file)
@@ -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
similarity index 92%
rename from target/linux/ar71xx/patches-2.6.31/204-rtl8366-smi-driver.patch
rename to target/linux/generic-2.6/patches-2.6.31/691-phy_rtl8366.patch
index 6de4af032662439c1e86166a8f93a1393b32fe6f..6223f00fe7355c3545adacf3488d641058b1323f 100644 (file)
@@ -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
similarity index 92%
rename from target/linux/ar71xx/patches-2.6.32/204-rtl8366-smi-driver.patch
rename to target/linux/generic-2.6/patches-2.6.32/691-phy_rtl8366.patch
index fbd52c3b78225efc5c2ded090ba20447a684cc86..2f6b3c49f7b60f20e72443ab619ef1b0bcab07d7 100644 (file)
@@ -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