summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/modules.mk
blob: 305643f3302c8601f610bcbe075ff0ea0de5dc40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define KernelPackage/ocf-ubsec-ssb
  TITLE:=BCM5365P IPSec Core driver
  DEPENDS:=@TARGET_brcm47xx @!TARGET_brcm47xx_mips74k +kmod-crypto-ocf
  KCONFIG:=CONFIG_OCF_UBSEC_SSB
  FILES:=$(LINUX_DIR)/crypto/ocf/ubsec_ssb/ubsec_ssb.ko
  AUTOLOAD:=$(call AutoLoad,10,ubsec_ssb)
  $(call AddDepends/crypto)
endef

define KernelPackage/ocf-ubsec-ssb/description
  This package contains the OCF driver for the BCM5365p IPSec Core
endef

$(eval $(call KernelPackage,ocf-ubsec-ssb))

define KernelPackage/bgmac
  TITLE:=Broadcom bgmac driver
  KCONFIG:=CONFIG_BGMAC
  DEPENDS:=@TARGET_brcm47xx @!TARGET_brcm47xx_legacy
  SUBMENU:=$(NETWORK_DEVICES_MENU)
  FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac.ko
  AUTOLOAD:=$(call AutoLoad,19,bgmac,1)
endef

define KernelPackage/bgmac/description
 Kernel modules for Broadcom bgmac Ethernet adapters.
endef

$(eval $(call KernelPackage,bgmac))