2 /***************************************************************************
4 * drivers/s390/char/tapechar.h
5 * character device frontend for tape device driver
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>
13 ****************************************************************************
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 */
22 * Prototypes for tape_fops
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);
32 void tapechar_init (void);
33 void tapechar_uninit (void);
34 #endif /* TAPECHAR_H */