brute-forced more changes from MontaVista's tree. SCSI partition table read still...
[linux-2.4.git] / drivers / s390 / char / tapechar.h
1
2 /***************************************************************************
3  *
4  *  drivers/s390/char/tapechar.h
5  *    character device frontend for tape device driver
6  *
7  *  S390 and zSeries version
8  *    Copyright (C) 2001 IBM Corporation
9  *    Author(s): Carsten Otte <cotte@de.ibm.com>
10  *               Tuan Ngo-Anh <ngoanh@de.ibm.com>
11  *
12  *
13  ****************************************************************************
14  */
15
16 #ifndef TAPECHAR_H
17 #define TAPECHAR_H
18 #include <linux/config.h>
19 #define TAPECHAR_DEFAULTMODE 0020644
20 #define  TAPE_MAJOR                    0        /* get dynamic major since no major officialy defined for tape */
21 /*
22  * Prototypes for tape_fops
23  */
24 ssize_t tape_read(struct file *, char *, size_t, loff_t *);
25 ssize_t tape_write(struct file *, const char *, size_t, loff_t *);
26 int tape_ioctl(struct inode *,struct file *,unsigned int,unsigned long);
27 int tape_open (struct inode *,struct file *);
28 int tape_release (struct inode *,struct file *);
29 #ifdef CONFIG_DEVFS_FS
30 void tapechar_mkdevfstree (tape_info_t* ti);
31 #endif
32 void tapechar_init (void);
33 void tapechar_uninit (void);
34 #endif /* TAPECHAR_H */