generic: add driver for the the RTL8367R{B,-VB} switches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33839
This commit is contained in:
		@@ -2323,6 +2323,7 @@ CONFIG_RTC_LIB=y
 | 
				
			|||||||
# CONFIG_RTL8366_SMI is not set
 | 
					# CONFIG_RTL8366_SMI is not set
 | 
				
			||||||
# CONFIG_RTL8366_SMI_DEBUG_FS is not set
 | 
					# CONFIG_RTL8366_SMI_DEBUG_FS is not set
 | 
				
			||||||
# CONFIG_RTL8367_PHY is not set
 | 
					# CONFIG_RTL8367_PHY is not set
 | 
				
			||||||
 | 
					# CONFIG_RTL8367B_PHY is not set
 | 
				
			||||||
# CONFIG_RTS_PSTOR is not set
 | 
					# CONFIG_RTS_PSTOR is not set
 | 
				
			||||||
CONFIG_RT_MUTEXES=y
 | 
					CONFIG_RT_MUTEXES=y
 | 
				
			||||||
# CONFIG_RT_MUTEX_TESTER is not set
 | 
					# CONFIG_RT_MUTEX_TESTER is not set
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1546
									
								
								target/linux/generic/files/drivers/net/phy/rtl8367b.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1546
									
								
								target/linux/generic/files/drivers/net/phy/rtl8367b.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -12,6 +12,7 @@
 | 
				
			|||||||
#define _RTL8367_H
 | 
					#define _RTL8367_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define RTL8367_DRIVER_NAME	"rtl8367"
 | 
					#define RTL8367_DRIVER_NAME	"rtl8367"
 | 
				
			||||||
 | 
					#define RTL8367B_DRIVER_NAME	"rtl8367b"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum rtl8367_port_speed {
 | 
					enum rtl8367_port_speed {
 | 
				
			||||||
	RTL8367_PORT_SPEED_10 = 0,
 | 
						RTL8367_PORT_SPEED_10 = 0,
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										23
									
								
								target/linux/generic/patches-3.3/729-phy-rtl8367b.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								target/linux/generic/patches-3.3/729-phy-rtl8367b.patch
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					--- a/drivers/net/phy/Kconfig
 | 
				
			||||||
 | 
					+++ b/drivers/net/phy/Kconfig
 | 
				
			||||||
 | 
					@@ -199,6 +199,10 @@ config RTL8367_PHY
 | 
				
			||||||
 | 
					 	tristate "Driver for the Realtek RTL8367R/M switches"
 | 
				
			||||||
 | 
					 	select SWCONFIG
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					+config RTL8367B_PHY
 | 
				
			||||||
 | 
					+	tristate "Driver fot the Realtek RTL8367R-VB switch"
 | 
				
			||||||
 | 
					+	select SWCONFIG
 | 
				
			||||||
 | 
					+
 | 
				
			||||||
 | 
					 endif # RTL8366_SMI
 | 
				
			||||||
 | 
					 
 | 
				
			||||||
 | 
					 endif # PHYLIB
 | 
				
			||||||
 | 
					--- a/drivers/net/phy/Makefile
 | 
				
			||||||
 | 
					+++ b/drivers/net/phy/Makefile
 | 
				
			||||||
 | 
					@@ -26,6 +26,7 @@ obj-$(CONFIG_RTL8366_SMI)	+= rtl8366_smi
 | 
				
			||||||
 | 
					 obj-$(CONFIG_RTL8366S_PHY)	+= rtl8366s.o
 | 
				
			||||||
 | 
					 obj-$(CONFIG_RTL8366RB_PHY)	+= rtl8366rb.o
 | 
				
			||||||
 | 
					 obj-$(CONFIG_RTL8367_PHY)	+= rtl8367.o
 | 
				
			||||||
 | 
					+obj-$(CONFIG_RTL8367B_PHY)	+= rtl8367b.o
 | 
				
			||||||
 | 
					 obj-$(CONFIG_LSI_ET1011C_PHY)	+= et1011c.o
 | 
				
			||||||
 | 
					 obj-$(CONFIG_MICREL_PHY)	+= micrel.o
 | 
				
			||||||
 | 
					 obj-$(CONFIG_FIXED_PHY)		+= fixed.o
 | 
				
			||||||
		Reference in New Issue
	
	Block a user