brcm47xx: various fixes and code cleanups for irq code
[openwrt.git] / target / linux / brcm47xx / modules.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define KernelPackage/usb-brcm47xx
9   SUBMENU:=$(USB_MENU)
10   TITLE:=Support for USB on bcm47xx
11   DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
12   KCONFIG:= \
13         CONFIG_USB_HCD_BCMA \
14         CONFIG_USB_HCD_SSB
15   FILES:= \
16         $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
17         $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
18   AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
19   $(call AddDepends/usb)
20 endef
21
22 $(eval $(call KernelPackage,usb-brcm47xx))
23
24
25 define KernelPackage/ocf-ubsec-ssb
26   TITLE:=BCM5365P IPSec Core driver
27   DEPENDS:=@TARGET_brcm47xx +kmod-crypto-ocf
28   KCONFIG:=CONFIG_OCF_UBSEC_SSB
29   FILES:=$(LINUX_DIR)/crypto/ocf/ubsec_ssb/ubsec_ssb.ko
30   AUTOLOAD:=$(call AutoLoad,10,ubsec_ssb)
31   $(call AddDepends/crypto)
32 endef
33
34 define KernelPackage/ocf-ubsec-ssb/description
35   This package contains the OCF driver for the BCM5365p IPSec Core
36 endef
37
38 $(eval $(call KernelPackage,ocf-ubsec-ssb))
39
40 define KernelPackage/bgmac
41   TITLE:=Broadcom bgmac driver
42   KCONFIG:=CONFIG_BGMAC
43   DEPENDS:=@TARGET_brcm47xx
44   SUBMENU:=$(NETWORK_DEVICES_MENU)
45   FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
46   AUTOLOAD:=$(call AutoLoad,50,bgmac)
47 endef
48
49 define KernelPackage/bgmac/description
50  Kernel modules for Broadcom bgmac Ethernet adapters.
51 endef
52
53 $(eval $(call KernelPackage,bgmac))