brute-forced more changes from MontaVista's tree. SCSI partition table read still...
[linux-2.4.git] / drivers / s390 / char / tapeblock.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 TAPEBLOCK_H
17 #define TAPEBLOCK_H
18 #include <linux/config.h>
19 #define PARTN_BITS 0
20
21 #define TAPEBLOCK_READAHEAD 30
22 #define TAPEBLOCK_MAJOR 0
23
24 #define TAPEBLOCK_DEFAULTMODE 0060644
25
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);
33 #endif
34 int tapeblock_init (void);
35 void tapeblock_uninit (void);
36 #endif