[PATCH] mm: clean up pagecache allocation
[pv_ops_mirror.git] / drivers / char / ftape / zftape / zftape-ctl.h
blob8e6f2d7ac74ec26f29f59a906dd2ca3b73ed40be
1 #ifndef _ZFTAPE_CTL_H
2 #define _ZFTAPE_CTL_H
4 /*
5 * Copyright (C) 1996, 1997 Claus-Justus Heine.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 * $Source: /homes/cvs/ftape-stacked/ftape/zftape/zftape-ctl.h,v $
23 * $Revision: 1.2 $
24 * $Date: 1997/10/05 19:19:02 $
26 * This file contains the non-standard IOCTL related definitions
27 * for the QIC-40/80 floppy-tape driver for Linux.
30 #include <linux/ioctl.h>
31 #include <linux/mtio.h>
33 #include "../zftape/zftape-rw.h"
35 #ifdef CONFIG_ZFTAPE_MODULE
36 #define ftape_status (*zft_status)
37 #endif
39 extern int zft_offline;
40 extern int zft_mt_compression;
41 extern int zft_write_protected;
42 extern int zft_header_read;
43 extern unsigned int zft_unit;
44 extern int zft_resid;
46 extern void zft_reset_position(zft_position *pos);
47 extern int zft_check_write_access(zft_position *pos);
48 extern int zft_def_idle_state(void);
50 /* hooks for the VFS interface
52 extern int _zft_open(unsigned int dev_minor, unsigned int access_mode);
53 extern int _zft_close(void);
54 extern int _zft_ioctl(unsigned int command, void __user *arg);
55 #endif