From: Andy P. <at...@us...> - 2002-04-11 19:11:03
|
Update of /cvsroot/linux-vax/kernel-2.4/drivers/s390/misc In directory usw-pr-cvs1:/tmp/cvs-serv8509/s390/misc Modified Files: Makefile chandev.c Log Message: synch 2.4.15 commit 52 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/drivers/s390/misc/Makefile,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- Makefile 25 Feb 2001 23:15:14 -0000 1.1.1.2 +++ Makefile 11 Apr 2002 12:55:54 -0000 1.2 @@ -1,9 +1,10 @@ -all: s390-misc.o +# +# S/390 miscellaneous devices +# -CFLAFS += O_TARGET := s390-misc.o obj-$(CONFIG_CHANDEV) += chandev.o +export-objs += chandev.o include $(TOPDIR)/Rules.make - Index: chandev.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/drivers/s390/misc/chandev.c,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -u -r1.1.1.2 -r1.2 --- chandev.c 25 Feb 2001 23:15:14 -0000 1.1.1.2 +++ chandev.c 11 Apr 2002 12:55:54 -0000 1.2 @@ -6,7 +6,10 @@ * * Generic channel device initialisation support. */ +#define TRUE 1 +#define FALSE 0 #define __KERNEL_SYSCALLS__ +#include <linux/module.h> #include <linux/config.h> #include <linux/types.h> #include <linux/ctype.h> @@ -20,6 +23,15 @@ [...3228 lines suppressed...] + + +int chandev_persist(chandev_type chan_type) +{ + return((chandev_persistent&chan_type) ? TRUE:FALSE); +} + +EXPORT_SYMBOL(chandev_register_and_probe); +EXPORT_SYMBOL(chandev_request_irq); +EXPORT_SYMBOL(chandev_unregister); +EXPORT_SYMBOL(chandev_initdevice); +EXPORT_SYMBOL(chandev_build_device_name); +EXPORT_SYMBOL(chandev_initnetdevice); +EXPORT_SYMBOL(chandev_init_netdev); +EXPORT_SYMBOL(chandev_use_devno_names); +EXPORT_SYMBOL(chandev_free_irq); +EXPORT_SYMBOL(chandev_add_model); +EXPORT_SYMBOL(chandev_del_model); +EXPORT_SYMBOL(chandev_persist); |