Ticket #6438: bridge-vlan-modules.3.patch

File bridge-vlan-modules.3.patch, 1.7 KB (added by acoul <alex at ozo.com>, 8 years ago)

add dependency modules

  • package/kernel/modules/netsupport.mk

    old new  
    637637 
    638638$(eval $(call KernelPackage,pktgen)) 
    639639 
     640 
     641define KernelPackage/bridge 
     642  SUBMENU:=$(NETWORK_SUPPORT_MENU) 
     643  TITLE:=802.1d Ethernet Bridging 
     644  DEPENDS:=@LINUX_2_6 
     645  KCONFIG:=CONFIG_BRIDGE CONFIG_LLC CONFIG_STP 
     646  FILES:= \ 
     647        $(LINUX_DIR)/net/llc/llc.$(LINUX_KMOD_SUFFIX) \ 
     648        $(LINUX_DIR)/net/802/stp.$(LINUX_KMOD_SUFFIX) \ 
     649        $(LINUX_DIR)/net/bridge/bridge.$(LINUX_KMOD_SUFFIX) 
     650  AUTOLOAD:=$(call AutoLoad,10,llc stp bridge) 
     651endef 
     652 
     653define KernelPackage/bridge/description 
     654 Select this and your Linux box will be able to act as an 
     655 Ethernet bridge, which means that the different Ethernet segments  
     656 it is connected to will appear as one Ethernet to the participants. 
     657 Several such bridges can work together to create even larger 
     658 networks of Ethernets using the IEEE 802.1 spanning tree algorithm. 
     659 As this is a standard, Linux bridges will cooperate properly with 
     660 other third party bridge products. 
     661endef 
     662 
     663$(eval $(call KernelPackage,bridge)) 
     664 
     665 
     666define KernelPackage/8021q 
     667  SUBMENU:=$(NETWORK_SUPPORT_MENU) 
     668  TITLE:=802.1Q VLAN Support 
     669  DEPENDS:=@LINUX_2_6 kmod-bridge 
     670  KCONFIG:=CONFIG_VLAN_8021Q 
     671  FILES:=$(LINUX_DIR)/net/8021q/8021q.$(LINUX_KMOD_SUFFIX) 
     672  AUTOLOAD:=$(call AutoLoad,11,8021q) 
     673endef 
     674 
     675define KernelPackage/8021q/description 
     676 Select this and you will be able to create 802.1Q VLAN interfaces 
     677 on your ethernet interfaces.  802.1Q VLAN supports almost 
     678 everything a regular ethernet interface does, including 
     679 firewalling, bridging, and of course IP traffic. 
     680endef 
     681 
     682$(eval $(call KernelPackage,8021q)) 
     683