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>
21 #define TAPEBLOCK_READAHEAD 30
22 #define TAPEBLOCK_MAJOR 0
24 #define TAPEBLOCK_DEFAULTMODE 0060644
26 int tapeblock_open(struct inode *, struct file *);
27 int tapeblock_release(struct inode *, struct file *);
28 void tapeblock_setup(tape_info_t* ti);
29 void schedule_tapeblock_exec_IO (tape_info_t *ti);
30 int tapeblock_mediumdetect(tape_info_t* ti);
31 #ifdef CONFIG_DEVFS_FS
32 void tapeblock_mkdevfstree (tape_info_t* ti);
34 int tapeblock_init (void);
35 void tapeblock_uninit (void);