use b44/switch driver on 2.4-brcm and 2.6-brcm
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Sun, 25 Dec 2005 18:28:26 +0000 (18:28 +0000)
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>
Sun, 25 Dec 2005 18:28:26 +0000 (18:28 +0000)
SVN-Revision: 2780

openwrt/target/linux/Config.in
openwrt/target/linux/package/switch/Config.in
openwrt/target/linux/package/switch/Makefile

index 8be01a1e647edf118bf4da1774d6470b47100f63..9442c9fc98b2b904e59b737440c7a174e3251833 100644 (file)
@@ -62,10 +62,10 @@ comment "Device specific modules"
 config BR2_PACKAGE_KMOD_BRCM_ET
        prompt "kmod-brcm-et...................... Broadcom Ethernet Driver"
        tristate
-       depends BR2_LINUX_2_4_BRCM
-       default y
+       depends BR2_LINUX_2_4_BRCM || BR2_LINUX_2_6_BRCM
+       default m
        help
-         Proprietary driver for Broadcom Ethernet chipsets
+         Proprietary driver for Broadcom Ethernet chipsets (obsolete)
 
 config BR2_PACKAGE_KMOD_BRCM_WL
        prompt "kmod-brcm-wl...................... Broadcom Wireless Network Driver"
@@ -546,7 +546,7 @@ config BR2_PACKAGE_KMOD_NET_E100
 config BR2_PACKAGE_KMOD_NET_B44
        prompt "kmod-net-b44...................... Broadcom 44XX, 47XX ethernet driver"
        tristate
-       default y if BR2_LINUX_2_6_BRCM
+       default y if BR2_LINUX_2_6_BRCM || BR2_LINUX_2_4_BRCM
        default m
        help
          Free driver for Broadcom Ethernet chipsets (without switch support)
index dcf73a32c8b35e40b6e35bfac5fb82154ee0e398..5f7d7dc867508124ebe3ee4872c9cd8c4c7c7506 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_KMOD_SWITCH
        prompt "kmod-switch....................... Kernel driver for ROBO and ADMTEK SWITCH"
        tristate
+       default y if BR2_LINUX_2_6_BRCM || BR2_LINUX_2_4_BRCM
        default m if CONFIG_DEVEL
        help
          Kernel driver for ROBO and ADMTEK switches.
index 0db826d64a64f08bb28a9544012b433e573028c9..75b35954ec5b587e341d490f3947a5d0e0dd1673 100644 (file)
@@ -25,7 +25,7 @@ $(PKG_BUILD_DIR)/.configured:
        touch $@
 
 $(PKG_BUILD_DIR)/.built:
-       $(MAKE) -C "$(LINUX_DIR)" \
+       $(MAKE) -C "$(KERNEL_DIR)" \
                CROSS_COMPILE="$(TARGET_CROSS)" \
                ARCH="$(LINUX_KARCH)" \
                PATH="$(TARGET_PATH)" \