patch-2.4.4 linux/drivers/s390/char/tapechar.h

Next file: linux/drivers/s390/char/tapedefs.h
Previous file: linux/drivers/s390/char/tapechar.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/s390/char/tapechar.h linux/drivers/s390/char/tapechar.h
@@ -4,24 +4,31 @@
  *  drivers/s390/char/tapechar.h
  *    character device frontend for tape device driver
  *
- *  S390 version
- *    Copyright (C) 2000 IBM Corporation
- *    Author(s): Tuan Ngo-Anh <ngoanh@de.ibm.com>
- *               Carsten Otte <cotte@de.ibm.com>
+ *  S390 and zSeries version
+ *    Copyright (C) 2001 IBM Corporation
+ *    Author(s): Carsten Otte <cotte@de.ibm.com>
+ *               Tuan Ngo-Anh <ngoanh@de.ibm.com>
+ *
  *
- *  UNDER CONSTRUCTION: Work in progress...:-)
  ****************************************************************************
  */
 
 #ifndef TAPECHAR_H
 #define TAPECHAR_H
+#include <linux/config.h>
+#define TAPECHAR_DEFAULTMODE 0020644
 #define  TAPE_MAJOR                    0        /* get dynamic major since no major officialy defined for tape */
 /*
  * Prototypes for tape_fops
  */
-static ssize_t tape_read(struct file *, char *, size_t, loff_t *);
-static ssize_t tape_write(struct file *, const char *, size_t, loff_t *);
-static int tape_ioctl(struct inode *,struct file *,unsigned int,unsigned long);
-static int tape_open (struct inode *,struct file *);
-static int tape_release (struct inode *,struct file *);
+ssize_t tape_read(struct file *, char *, size_t, loff_t *);
+ssize_t tape_write(struct file *, const char *, size_t, loff_t *);
+int tape_ioctl(struct inode *,struct file *,unsigned int,unsigned long);
+int tape_open (struct inode *,struct file *);
+int tape_release (struct inode *,struct file *);
+#ifdef CONFIG_DEVFS_FS
+void tapechar_mkdevfstree (tape_info_t* tape);
+#endif
+void tapechar_init (void);
+void tapechar_uninit (void);
 #endif /* TAPECHAR_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)