Commit 803eb11e authored by Linus Torvalds's avatar Linus Torvalds

Merge http://linux-isdn.bkbits.net/linux-2.5.make

into home.transmeta.com:/home/torvalds/v2.5/linux
parents 7ae1fc3a 69d387d2
...@@ -16,6 +16,14 @@ if [ "$CONFIG_NET" != "n" ]; then ...@@ -16,6 +16,14 @@ if [ "$CONFIG_NET" != "n" ]; then
source drivers/isdn/i4l/Config.in source drivers/isdn/i4l/Config.in
fi fi
endmenu endmenu
comment 'CAPI subsystem'
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
fi fi
endmenu endmenu
......
...@@ -6,14 +6,15 @@ O_TARGET := vmlinux-obj.o ...@@ -6,14 +6,15 @@ O_TARGET := vmlinux-obj.o
# Object files in subdirectories # Object files in subdirectories
mod-subdirs := i4l hisax avmb1 eicon mod-subdirs := i4l hisax capi eicon
subdir-$(CONFIG_ISDN) += i4l subdir-$(CONFIG_ISDN) += i4l
subdir-$(CONFIG_ISDN_CAPI) += capi
subdir-$(CONFIG_ISDN_CAPI) += hardware
subdir-$(CONFIG_ISDN_DIVERSION) += divert subdir-$(CONFIG_ISDN_DIVERSION) += divert
subdir-$(CONFIG_ISDN_DRV_HISAX) += hisax subdir-$(CONFIG_ISDN_DRV_HISAX) += hisax
subdir-$(CONFIG_ISDN_DRV_ICN) += icn subdir-$(CONFIG_ISDN_DRV_ICN) += icn
subdir-$(CONFIG_ISDN_DRV_PCBIT) += pcbit subdir-$(CONFIG_ISDN_DRV_PCBIT) += pcbit
subdir-$(CONFIG_ISDN_DRV_SC) += sc subdir-$(CONFIG_ISDN_DRV_SC) += sc
subdir-$(CONFIG_ISDN_CAPI) += avmb1
subdir-$(CONFIG_ISDN_DRV_LOOP) += isdnloop subdir-$(CONFIG_ISDN_DRV_LOOP) += isdnloop
subdir-$(CONFIG_ISDN_DRV_ACT2000) += act2000 subdir-$(CONFIG_ISDN_DRV_ACT2000) += act2000
subdir-$(CONFIG_ISDN_DRV_EICON) += eicon subdir-$(CONFIG_ISDN_DRV_EICON) += eicon
......
...@@ -17,17 +17,3 @@ if [ "$CONFIG_ISDN_CAPI" != "n" ]; then ...@@ -17,17 +17,3 @@ if [ "$CONFIG_ISDN_CAPI" != "n" ]; then
fi fi
dep_tristate ' CAPI2.0 capidrv interface support' CONFIG_ISDN_CAPI_CAPIDRV $CONFIG_ISDN_CAPI $CONFIG_ISDN dep_tristate ' CAPI2.0 capidrv interface support' CONFIG_ISDN_CAPI_CAPIDRV $CONFIG_ISDN_CAPI $CONFIG_ISDN
fi fi
# CAPI drivers
if [ "$CONFIG_ISDN_CAPI" != "n" ]; then
dep_tristate ' AVM B1 ISA support' CONFIG_ISDN_DRV_AVMB1_B1ISA $CONFIG_ISDN_CAPI
dep_tristate ' AVM B1 PCI support' CONFIG_ISDN_DRV_AVMB1_B1PCI $CONFIG_ISDN_CAPI $CONFIG_PCI
dep_mbool ' AVM B1 PCI V4 support' CONFIG_ISDN_DRV_AVMB1_B1PCIV4 $CONFIG_ISDN_DRV_AVMB1_B1PCI
dep_tristate ' AVM T1/T1-B ISA support' CONFIG_ISDN_DRV_AVMB1_T1ISA $CONFIG_ISDN_CAPI
dep_tristate ' AVM B1/M1/M2 PCMCIA support' CONFIG_ISDN_DRV_AVMB1_B1PCMCIA $CONFIG_ISDN_CAPI
dep_tristate ' AVM B1/M1/M2 PCMCIA cs module' CONFIG_ISDN_DRV_AVMB1_AVM_CS $CONFIG_ISDN_DRV_AVMB1_B1PCMCIA $CONFIG_PCMCIA
dep_tristate ' AVM T1/T1-B PCI support' CONFIG_ISDN_DRV_AVMB1_T1PCI $CONFIG_ISDN_CAPI $CONFIG_PCI
dep_tristate ' AVM C4/C2 support' CONFIG_ISDN_DRV_AVMB1_C4 $CONFIG_ISDN_CAPI $CONFIG_PCI
fi
# Makefile for the CAPI subsystem.
# The target object and module list name.
O_TARGET := vmlinux-obj.o
# Objects that export symbols.
export-objs := kcapi.o capiutil.o capifs.o
# Multipart objects.
kernelcapi-objs := kcapi.o
# Ordering constraints: kernelcapi.o first
# Each configuration option enables a list of files.
obj-$(CONFIG_ISDN_CAPI) += kernelcapi.o capiutil.o
obj-$(CONFIG_ISDN_CAPI_CAPI20) += capi.o
obj-$(CONFIG_ISDN_CAPI_CAPIDRV) += capidrv.o
obj-$(CONFIG_ISDN_CAPI_CAPIFS) += capifs.o
# The global Rules.make.
include $(TOPDIR)/Rules.make
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
#include <linux/kernelcapi.h> #include <linux/kernelcapi.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/devfs_fs_kernel.h> #include <linux/devfs_fs_kernel.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#if defined(CONFIG_ISDN_CAPI_CAPIFS) || defined(CONFIG_ISDN_CAPI_CAPIFS_MODULE) #if defined(CONFIG_ISDN_CAPI_CAPIFS) || defined(CONFIG_ISDN_CAPI_CAPIFS_MODULE)
#include "capifs.h" #include "capifs.h"
#endif #endif
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
#include <linux/ctype.h> #include <linux/ctype.h>
#include <linux/init.h> #include <linux/init.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capidrv.h" #include "capidrv.h"
static char *revision = "$Revision: 1.39.6.7 $"; static char *revision = "$Revision: 1.39.6.7 $";
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/config.h> #include <linux/config.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
MODULE_DESCRIPTION("CAPI4Linux: CAPI message conversion support"); MODULE_DESCRIPTION("CAPI4Linux: CAPI message conversion support");
MODULE_AUTHOR("Carsten Paeth"); MODULE_AUTHOR("Carsten Paeth");
......
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
#include <linux/locks.h> #include <linux/locks.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#ifdef CONFIG_AVMB1_COMPAT #ifdef CONFIG_AVMB1_COMPAT
#include <linux/b1lli.h> #include <linux/b1lli.h>
#endif #endif
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include "eicon.h" #include "eicon.h"
#include "../avmb1/capicmd.h" /* this should be moved in a common place */ #include <linux/isdn/capicmd.h>
#undef N_DATA #undef N_DATA
#include "adapter.h" #include "adapter.h"
......
#
# ISDN hardware drivers
#
source drivers/isdn/hardware/avm/Config.in
# Makefile for the CAPI hardware drivers
# The target object and module list name.
O_TARGET := vmlinux-obj.o
# Object files in subdirectories
mod-subdirs := avm
subdir-$(CONFIG_CAPI_AVM) += avm
obj-y += $(addsuffix /vmlinux-obj.o, $(subdir-y))
# The global Rules.make.
include $(TOPDIR)/Rules.make
#
# ISDN AVM drivers
#
mainmenu_option next_comment
comment 'Drivers for active AVM cards'
bool 'Support AVM cards' CONFIG_CAPI_AVM
if [ "$CONFIG_CAPI_AVM" != "n" ]; then
dep_tristate ' AVM B1 ISA support' CONFIG_ISDN_DRV_AVMB1_B1ISA $CONFIG_ISDN_CAPI
dep_tristate ' AVM B1 PCI support' CONFIG_ISDN_DRV_AVMB1_B1PCI $CONFIG_ISDN_CAPI $CONFIG_PCI
dep_mbool ' AVM B1 PCI V4 support' CONFIG_ISDN_DRV_AVMB1_B1PCIV4 $CONFIG_ISDN_DRV_AVMB1_B1PCI
dep_tristate ' AVM T1/T1-B ISA support' CONFIG_ISDN_DRV_AVMB1_T1ISA $CONFIG_ISDN_CAPI
q
dep_tristate ' AVM B1/M1/M2 PCMCIA support' CONFIG_ISDN_DRV_AVMB1_B1PCMCIA $CONFIG_ISDN_CAPI
dep_tristate ' AVM B1/M1/M2 PCMCIA cs module' CONFIG_ISDN_DRV_AVMB1_AVM_CS $CONFIG_ISDN_DRV_AVMB1_B1PCMCIA $CONFIG_PCMCIA
dep_tristate ' AVM T1/T1-B PCI support' CONFIG_ISDN_DRV_AVMB1_T1PCI $CONFIG_ISDN_CAPI $CONFIG_PCI
dep_tristate ' AVM C4/C2 support' CONFIG_ISDN_DRV_AVMB1_C4 $CONFIG_ISDN_CAPI $CONFIG_PCI
fi
endmenu
# Makefile for the AVM ISDN device drivers and CAPI subsystem. # Makefile for the AVM ISDN device drivers
# The target object and module list name. # The target object and module list name.
...@@ -6,20 +6,10 @@ O_TARGET := vmlinux-obj.o ...@@ -6,20 +6,10 @@ O_TARGET := vmlinux-obj.o
# Objects that export symbols. # Objects that export symbols.
export-objs := kcapi.o capiutil.o b1dma.o b1pcmcia.o b1.o capifs.o export-objs := b1dma.o b1pcmcia.o b1.o
# Multipart objects.
kernelcapi-objs := kcapi.o
# Ordering constraints: kernelcapi.o first
# Each configuration option enables a list of files. # Each configuration option enables a list of files.
obj-$(CONFIG_ISDN_CAPI) += kernelcapi.o capiutil.o
obj-$(CONFIG_ISDN_CAPI_CAPI20) += capi.o
obj-$(CONFIG_ISDN_CAPI_CAPIDRV) += capidrv.o
obj-$(CONFIG_ISDN_CAPI_CAPIFS) += capifs.o
obj-$(CONFIG_ISDN_DRV_AVMB1_B1ISA) += b1isa.o b1.o obj-$(CONFIG_ISDN_DRV_AVMB1_B1ISA) += b1isa.o b1.o
obj-$(CONFIG_ISDN_DRV_AVMB1_B1PCI) += b1pci.o b1.o b1dma.o obj-$(CONFIG_ISDN_DRV_AVMB1_B1PCI) += b1pci.o b1.o b1dma.o
obj-$(CONFIG_ISDN_DRV_AVMB1_B1PCMCIA) += b1pcmcia.o b1.o obj-$(CONFIG_ISDN_DRV_AVMB1_B1PCMCIA) += b1pcmcia.o b1.o
......
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
#include <linux/init.h> #include <linux/init.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
static char *revision = "$Revision: 1.1.4.1.2.1 $"; static char *revision = "$Revision: 1.1.4.1.2.1 $";
......
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
#include <linux/init.h> #include <linux/init.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#if BITS_PER_LONG != 32 #if BITS_PER_LONG != 32
#error FIXME: driver requires 32-bit platform #error FIXME: driver requires 32-bit platform
......
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
#include <linux/capi.h> #include <linux/capi.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/io.h> #include <asm/io.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
static char *revision = "$Revision: 1.10.6.6 $"; static char *revision = "$Revision: 1.10.6.6 $";
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
#include <linux/capi.h> #include <linux/capi.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/init.h> #include <linux/init.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
static char *revision = "$Revision: 1.1.4.1.2.1 $"; static char *revision = "$Revision: 1.1.4.1.2.1 $";
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#include <asm/io.h> #include <asm/io.h>
#include <linux/capi.h> #include <linux/capi.h>
#include <linux/b1pcmcia.h> #include <linux/b1pcmcia.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
static char *revision = "$Revision: 1.12.6.5 $"; static char *revision = "$Revision: 1.12.6.5 $";
......
...@@ -24,9 +24,9 @@ ...@@ -24,9 +24,9 @@
#include <asm/io.h> #include <asm/io.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
static char *revision = "$Revision: 1.1.4.1.2.1 $"; static char *revision = "$Revision: 1.1.4.1.2.1 $";
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
#include <linux/kernelcapi.h> #include <linux/kernelcapi.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/io.h> #include <asm/io.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
static char *revision = "$Revision: 1.16.6.7 $"; static char *revision = "$Revision: 1.16.6.7 $";
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
#include <linux/capi.h> #include <linux/capi.h>
#include <linux/init.h> #include <linux/init.h>
#include <asm/io.h> #include <asm/io.h>
#include "capicmd.h" #include <linux/isdn/capicmd.h>
#include "capiutil.h" #include <linux/isdn/capiutil.h>
#include "capilli.h" #include <linux/isdn/capilli.h>
#include "avmcard.h" #include "avmcard.h"
static char *revision = "$Revision: 1.1.4.1.2.1 $"; static char *revision = "$Revision: 1.1.4.1.2.1 $";
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/init.h> #include <linux/init.h>
#include "hisax.h" #include "hisax.h"
#include "../avmb1/capicmd.h" /* this should be moved in a common place */ #include <linux/isdn/capicmd.h>
#ifdef MODULE #ifdef MODULE
#define MOD_USE_COUNT ( GET_USE_COUNT (&__this_module)) #define MOD_USE_COUNT ( GET_USE_COUNT (&__this_module))
......
...@@ -493,7 +493,7 @@ struct BCState { ...@@ -493,7 +493,7 @@ struct BCState {
u_char *conmsg; u_char *conmsg;
struct timer_list transbusy; struct timer_list transbusy;
struct tq_struct tqueue; struct tq_struct tqueue;
int event; unsigned long event;
int (*BC_SetStack) (struct PStack *, struct BCState *); int (*BC_SetStack) (struct PStack *, struct BCState *);
void (*BC_Close) (struct BCState *); void (*BC_Close) (struct BCState *);
#ifdef ERROR_STATISTIC #ifdef ERROR_STATISTIC
......
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
#ifdef CONFIG_HYSDN_CAPI #ifdef CONFIG_HYSDN_CAPI
#include <linux/capi.h> #include <linux/capi.h>
#include "../avmb1/capicmd.h" #include <linux/isdn/capicmd.h>
#include "../avmb1/capiutil.h" #include <linux/isdn/capiutil.h>
#include "../avmb1/capilli.h" #include <linux/isdn/capilli.h>
/***************************/ /***************************/
/* CAPI-Profile values. */ /* CAPI-Profile values. */
......
...@@ -39,7 +39,6 @@ source drivers/isdn/sc/Config.in ...@@ -39,7 +39,6 @@ source drivers/isdn/sc/Config.in
source drivers/isdn/act2000/Config.in source drivers/isdn/act2000/Config.in
source drivers/isdn/eicon/Config.in source drivers/isdn/eicon/Config.in
source drivers/isdn/tpam/Config.in source drivers/isdn/tpam/Config.in
source drivers/isdn/avmb1/Config.in
source drivers/isdn/hysdn/Config.in source drivers/isdn/hysdn/Config.in
endmenu endmenu
......
...@@ -402,7 +402,7 @@ isdn_all_eaz(int di, int ch) ...@@ -402,7 +402,7 @@ isdn_all_eaz(int di, int ch)
* Begin of a CAPI like LL<->HL interface, currently used only for * Begin of a CAPI like LL<->HL interface, currently used only for
* supplementary service (CAPI 2.0 part III) * supplementary service (CAPI 2.0 part III)
*/ */
#include "avmb1/capicmd.h" /* this should be moved in a common place */ #include <linux/isdn/capicmd.h>
int int
isdn_capi_rec_hl_msg(capi_msg *cm) { isdn_capi_rec_hl_msg(capi_msg *cm) {
......
...@@ -789,7 +789,7 @@ isdn_tty_modem_hup(modem_info * info, int local) ...@@ -789,7 +789,7 @@ isdn_tty_modem_hup(modem_info * info, int local)
* Begin of a CAPI like interface, currently used only for * Begin of a CAPI like interface, currently used only for
* supplementary service (CAPI 2.0 part III) * supplementary service (CAPI 2.0 part III)
*/ */
#include "avmb1/capicmd.h" /* this should be moved in a common place */ #include <linux/isdn/capicmd.h>
int int
isdn_tty_capi_facility(capi_msg *cm) { isdn_tty_capi_facility(capi_msg *cm) {
......
...@@ -1127,9 +1127,7 @@ nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp, ...@@ -1127,9 +1127,7 @@ nfsd_symlink(struct svc_rqst *rqstp, struct svc_fh *fhp,
iap->ia_valid |= ATTR_CTIME; iap->ia_valid |= ATTR_CTIME;
iap->ia_mode = (iap->ia_mode&S_IALLUGO) iap->ia_mode = (iap->ia_mode&S_IALLUGO)
| S_IFLNK; | S_IFLNK;
down(&dentry->d_inode->i_sem);
err = notify_change(dnew, iap); err = notify_change(dnew, iap);
up(&dentry->d_inode->i_sem);
if (!err && EX_ISSYNC(fhp->fh_export)) if (!err && EX_ISSYNC(fhp->fh_export))
write_inode_now(dentry->d_inode, 1); write_inode_now(dentry->d_inode, 1);
} }
......
...@@ -271,13 +271,8 @@ static void __init smp_init(void) ...@@ -271,13 +271,8 @@ static void __init smp_init(void)
#else #else
#define smp_init() do { } while (0) #define smp_init() do { } while (0)
#endif #endif
static inline void setup_per_cpu_areas(void)
{
}
static inline void setup_per_cpu_areas(void) static inline void setup_per_cpu_areas(void) { }
{
}
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment