OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [char/] [ftape/] [zftape/] [zftape-ctl.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ZFTAPE_CTL_H
2
#define _ZFTAPE_CTL_H
3
 
4
/*
5
 * Copyright (C) 1996, 1997 Claus-Justus Heine.
6
 
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.
11
 
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.
16
 
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.
20
 
21
 *
22
 * $Source: /home/marcus/revision_ctrl_test/oc_cvs/cvs/or1k/linux/linux-2.4/drivers/char/ftape/zftape/zftape-ctl.h,v $
23
 * $Revision: 1.1.1.1 $
24
 * $Date: 2004-04-15 02:02:29 $
25
 *
26
 *      This file contains the non-standard IOCTL related definitions
27
 *      for the QIC-40/80 floppy-tape driver for Linux.
28
 */
29
 
30
#include <linux/config.h>
31
#include <linux/ioctl.h>
32
#include <linux/mtio.h>
33
 
34
#include "../zftape/zftape-rw.h"
35
 
36
#ifdef CONFIG_ZFTAPE_MODULE
37
#define ftape_status (*zft_status)
38
#endif
39
 
40
extern int zft_offline;
41
extern int zft_mt_compression;
42
extern int zft_write_protected;
43
extern int zft_header_read;
44
extern unsigned int zft_unit;
45
extern int zft_resid;
46
 
47
extern void zft_reset_position(zft_position *pos);
48
extern int  zft_check_write_access(zft_position *pos);
49
extern int  zft_def_idle_state(void);
50
extern int  zft_dirty(void);
51
 
52
/*  hooks for the VFS interface
53
 */
54
extern int  _zft_open(unsigned int dev_minor, unsigned int access_mode);
55
extern int  _zft_close(void);
56
extern int  _zft_ioctl(unsigned int command, void *arg);
57
#endif
58
 
59
 
60
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.