package/kernel: create packages for the rtl8366* drivers
This allows to enable rtl8366 switches family support, which are optional (present on few boards). Based on a patch by Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29388 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
0aaf068e51
commit
4f7cf5fe4b
|
@ -157,6 +157,51 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,switch-ip17xx))
|
||||
|
||||
define KernelPackage/switch-rtl8366_smi
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Realtek RTL8366 SMI switch interface support
|
||||
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig
|
||||
KCONFIG:=CONFIG_RTL8366_SMI
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
|
||||
AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
|
||||
endef
|
||||
|
||||
define KernelPackage/switch-rtl8366_smi/description
|
||||
Realtek RTL8366 series SMI switch interface support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,switch-rtl8366_smi))
|
||||
|
||||
define KernelPackage/switch-rtl8366rb
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Realtek RTL8366RB switch support
|
||||
DEPENDS:=+kmod-switch-rtl8366_smi
|
||||
KCONFIG:=CONFIG_RTL8366RB_PHY
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
|
||||
AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
|
||||
endef
|
||||
|
||||
define KernelPackage/switch-rtl8366rb/description
|
||||
Realtek RTL8366RB switch support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,switch-rtl8366rb))
|
||||
|
||||
define KernelPackage/switch-rtl8366s
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=Realtek RTL8366S switch support
|
||||
DEPENDS:=+kmod-switch-rtl8366_smi
|
||||
KCONFIG:=CONFIG_RTL8366S_PHY
|
||||
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
|
||||
AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
|
||||
endef
|
||||
|
||||
define KernelPackage/switch-rtl8366s/description
|
||||
Realtek RTL8366S switch support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,switch-rtl8366s))
|
||||
|
||||
define KernelPackage/natsemi
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
TITLE:=National Semiconductor DP8381x series
|
||||
|
|
Loading…
Reference in New Issue