Skip to contentSkip to conversation

Capi config Patch for 2.4.20-dj2

PATCH Carsten Rietzschel 1 participant 1 message Jun 5, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

this fixes the problem when configuring the ISDN-Section f.e. with make menuconfig. So Capi can be enabled and can be compiled.
Without this patch 2.5.20-dj2 (and a few -dj-Patches before) won't compile Capi-Drivers.

(Note: I don't know why DJ dropped these lines, but in the 2.4.20 they are)

This patch is against 2.5.20-dj2

Carsten Rietzschel

isdn/Config.in.org2 renamed from isdn/Config.in +5 -2
@@ -19,8 +19,11 @@
 
       comment 'CAPI subsystem'
 
-      source drivers/isdn/capi/Config.in
-      source drivers/isdn/hardware/Config.in
+      tristate 'CAPI2.0 support' CONFIG_ISDN_CAPI
+      if [ "$CONFIG_ISDN_CAPI" != "n" ]; then
+         source drivers/isdn/capi/Config.in
+         source drivers/isdn/hardware/Config.in
+      fi
    fi
 fi
 endmenu