| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # |
| 3 | # Copyright (C) 2010 OpenWrt.org |
| 4 | |
| 5 | define KernelPackage/pcmcia-bcm63xx |
| 6 | SUBMENU:=$(PCMCIA_MENU) |
| 7 | TITLE:=Broadcom BCM63xx PCMCIA support |
| 8 | DEPENDS:=@TARGET_bcm63xx +kmod-pcmcia-rsrc |
| 9 | KCONFIG:=CONFIG_PCMCIA_BCM63XX |
| 10 | FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.ko |
| 11 | AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia) |
| 12 | endef |
| 13 | |
| 14 | define KernelPackage/pcmcia-bcm63xx/description |
| 15 | Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC |
| 16 | endef |
| 17 | |
| 18 | $(eval $(call KernelPackage,pcmcia-bcm63xx)) |
| 19 | |
| 20 | define KernelPackage/bcm63xx-udc |
| 21 | SUBMENU:=$(USB_MENU) |
| 22 | TITLE:=Broadcom BCM63xx UDC support |
| 23 | DEPENDS:=@TARGET_bcm63xx +kmod-usb-gadget |
| 24 | KCONFIG:=CONFIG_USB_BCM63XX_UDC |
| 25 | FILES:= \ |
| 26 | $(LINUX_DIR)/drivers/usb/gadget/udc/bcm63xx_udc.ko |
| 27 | AUTOLOAD:=$(call AutoLoad,51,bcm63xx_udc) |
| 28 | $(call AddDepends/usb) |
| 29 | endef |
| 30 | |
| 31 | define KernelPackage/bcm63xx-udc/description |
| 32 | Kernel support for the USB gadget (device) controller on the BCM63xx SoC |
| 33 | endef |
| 34 | |
| 35 | $(eval $(call KernelPackage,bcm63xx-udc)) |