[ssb] Add support for pcmcia to ssb.

b43 will build now with pcmcia support.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15784 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2009-05-11 20:51:38 +00:00
parent 04367e7a32
commit 1fc1bf88f2
5 changed files with 34 additions and 5 deletions

View File

@ -121,6 +121,7 @@ endef
$(eval $(call KernelPackage,pcspkr)) $(eval $(call KernelPackage,pcspkr))
# This activates PCMCIA support in ssb. This will be included in kmod-ssb.
define KernelPackage/pcmcia-core define KernelPackage/pcmcia-core
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=PCMCIA/CardBus support TITLE:=PCMCIA/CardBus support
@ -131,6 +132,9 @@ define KernelPackage/pcmcia-core
CONFIG_PCCARD \ CONFIG_PCCARD \
CONFIG_YENTA \ CONFIG_YENTA \
CONFIG_PCCARD_NONSTATIC \ CONFIG_PCCARD_NONSTATIC \
CONFIG_SSB_PCMCIAHOST=y \
CONFIG_SSB_PCMCIAHOST_POSSIBLE=y \
CONFIG_SSB_BLOCKIO=y \
PCMCIA_DEBUG=n PCMCIA_DEBUG=n
endef endef
@ -141,7 +145,7 @@ define KernelPackage/pcmcia-core/2.4
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,40,pcmcia_core ds) AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds)
endef endef
define KernelPackage/pcmcia-core/2.6 define KernelPackage/pcmcia-core/2.6
@ -155,7 +159,7 @@ define KernelPackage/pcmcia-core/2.6
$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic) AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia rsrc_nonstatic)
endef endef
define KernelPackage/pcmcia-core/description define KernelPackage/pcmcia-core/description

View File

@ -400,7 +400,7 @@ BUILDFLAGS:= \
$(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS) \ $(if $(CONFIG_LEDS_TRIGGERS), -DCONFIG_MAC80211_LEDS -DCONFIG_LEDS_TRIGGERS -DCONFIG_B43_LEDS -DCONFIG_B43LEGACY_LEDS) \
$(if $(CONFIG_RFKILL),-DCONFIG_B43_RFKILL -DCONFIG_B43LEGACY_RFKILL) \ $(if $(CONFIG_RFKILL),-DCONFIG_B43_RFKILL -DCONFIG_B43LEGACY_RFKILL) \
$(if $(CONFIG_HW_RANDOM),-DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG) \ $(if $(CONFIG_HW_RANDOM),-DCONFIG_B43_HWRNG -DCONFIG_B43LEGACY_HWRNG) \
$(if $(CONFIG_PCMCIA),-DCONFIG_SSB_PCMCIAHOST_POSSIBLE -DCONFIG_SSB_PCMCIAHOST -DCONFIG_B43_PCMCIA -DCONFIG_B43_PIO) \ $(if $(CONFIG_PCMCIA),-DCONFIG_B43_PCMCIA -DCONFIG_B43_PIO) \
$(if $(CONFIG_DEBUG_FS), -DCONFIG_MAC80211_DEBUGFS) \ $(if $(CONFIG_DEBUG_FS), -DCONFIG_MAC80211_DEBUGFS) \
-D__CONFIG_MAC80211_RC_DEFAULT=minstrel \ -D__CONFIG_MAC80211_RC_DEFAULT=minstrel \
@ -420,8 +420,6 @@ MAKE_OPTS:= \
$(if $(CONFIG_PCI),CONFIG_SSB_DRIVER_PCICORE=y,CONFIG_SSB_DRIVER_PCICORE=n) \ $(if $(CONFIG_PCI),CONFIG_SSB_DRIVER_PCICORE=y,CONFIG_SSB_DRIVER_PCICORE=n) \
$(if $(CONFIG_PCI),CONFIG_SSB_PCIHOST_POSSIBLE=y,CONFIG_SSB_PCIHOST_POSSIBLE=n) \ $(if $(CONFIG_PCI),CONFIG_SSB_PCIHOST_POSSIBLE=y,CONFIG_SSB_PCIHOST_POSSIBLE=n) \
$(if $(CONFIG_PCI),CONFIG_SSB_PCIHOST=y,CONFIG_SSB_PCIHOST=n) \ $(if $(CONFIG_PCI),CONFIG_SSB_PCIHOST=y,CONFIG_SSB_PCIHOST=n) \
$(if $(CONFIG_PCMCIA),CONFIG_SSB_PCMCIAHOST_POSSIBLE=y,CONFIG_SSB_PCMCIAHOST_POSSIBLE=n) \
$(if $(CONFIG_PCMCIA),CONFIG_SSB_PCMCIAHOST=y,CONFIG_SSB_PCMCIAHOST=n) \
$(if $(CONFIG_PCMCIA),CONFIG_B43_PCMCIA=y,CONFIG_B43_PCMCIA=n) \ $(if $(CONFIG_PCMCIA),CONFIG_B43_PCMCIA=y,CONFIG_B43_PCMCIA=n) \
$(if $(CONFIG_PCMCIA),CONFIG_B43_PIO=y,CONFIG_B43_PIO=n) \ $(if $(CONFIG_PCMCIA),CONFIG_B43_PIO=y,CONFIG_B43_PIO=n) \
$(if $(CONFIG_RFKILL),CONFIG_B43_RFKILL=y,CONFIG_B43_RFKILL=n) \ $(if $(CONFIG_RFKILL),CONFIG_B43_RFKILL=y,CONFIG_B43_RFKILL=n) \

View File

@ -1,5 +1,14 @@
--- a/drivers/ssb/Kconfig --- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig
@@ -26,7 +26,7 @@ config SSB_SPROM
# Support for Block-I/O. SELECT this from the driver that needs it.
config SSB_BLOCKIO
- bool
+ bool "add SSB_BLOCKIO support"
depends on SSB
config SSB_PCIHOST_POSSIBLE
@@ -48,7 +48,7 @@ config SSB_PCIHOST @@ -48,7 +48,7 @@ config SSB_PCIHOST
config SSB_B43_PCI_BRIDGE config SSB_B43_PCI_BRIDGE
bool bool

View File

@ -1,5 +1,14 @@
--- a/drivers/ssb/Kconfig --- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig
@@ -27,7 +27,7 @@ config SSB_SPROM
# Support for Block-I/O. SELECT this from the driver that needs it.
config SSB_BLOCKIO
- bool
+ bool "add SSB_BLOCKIO support"
depends on SSB
config SSB_PCIHOST_POSSIBLE
@@ -49,7 +49,7 @@ config SSB_PCIHOST @@ -49,7 +49,7 @@ config SSB_PCIHOST
config SSB_B43_PCI_BRIDGE config SSB_B43_PCI_BRIDGE
bool bool

View File

@ -1,5 +1,14 @@
--- a/drivers/ssb/Kconfig --- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig
@@ -27,7 +27,7 @@ config SSB_SPROM
# Support for Block-I/O. SELECT this from the driver that needs it.
config SSB_BLOCKIO
- bool
+ bool "add SSB_BLOCKIO support"
depends on SSB
config SSB_PCIHOST_POSSIBLE
@@ -49,7 +49,7 @@ config SSB_PCIHOST @@ -49,7 +49,7 @@ config SSB_PCIHOST
config SSB_B43_PCI_BRIDGE config SSB_B43_PCI_BRIDGE
bool bool