mirror of https://github.com/hak5/openwrt.git
Package bcm63xx-pcmcia kernel module and fix compilation
SVN-Revision: 13212lede-17.01
parent
9bbc37d26b
commit
cb126cd576
|
@ -140,6 +140,20 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,pcmcia-core))
|
||||
|
||||
define KernelPackage/pcmcia-bcm63xx
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=Broadcom BCM63xx PCMCIA support
|
||||
DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
|
||||
KCONFIG:=CONFIG_PCMCIA_BCM63XX
|
||||
FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
|
||||
AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcmcia-bcm63xx/description
|
||||
Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcmcia-bcm63xx))
|
||||
|
||||
define KernelPackage/pcmcia-serial
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
|
|
|
@ -188,7 +188,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
|
|||
obj-$(CONFIG_OMAP_CF) += omap_cf.o
|
||||
--- /dev/null
|
||||
+++ b/drivers/pcmcia/bcm63xx_pcmcia.c
|
||||
@@ -0,0 +1,521 @@
|
||||
@@ -0,0 +1,522 @@
|
||||
+/*
|
||||
+ * This file is subject to the terms and conditions of the GNU General Public
|
||||
+ * License. See the file "COPYING" in the main directory of this archive
|
||||
|
@ -670,6 +670,7 @@ Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
|
|||
+ .class = PCI_CLASS_BRIDGE_CARDBUS << 8,
|
||||
+ .class_mask = ~0,
|
||||
+ },
|
||||
+ {}
|
||||
+};
|
||||
+
|
||||
+MODULE_DEVICE_TABLE(pci, bcm63xx_cb_table);
|
||||
|
|
Loading…
Reference in New Issue