1 #ifndef _FTAPE_INIT_H
2 #define _FTAPE_INIT_H
3 
4 /*
5  * Copyright (C) 1993-1996 Bas Laarhoven,
6  *           (C) 1996-1997 Claus-Justus Heine.
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2, or (at your option)
11  any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program; see the file COPYING.  If not, write to
20  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 
22  *
23  * $Source: /homes/cvs/ftape-stacked/ftape/lowlevel/ftape-init.h,v $
24  * $Revision: 1.2 $
25  * $Date: 1997/10/05 19:18:16 $
26  *
27  * This file contains the definitions for the interface to
28  * the Linux kernel for floppy tape driver ftape.
29  *
30  */
31 
32 #include <linux/linkage.h>
33 #include <linux/signal.h>
34 
35 #define _NEVER_BLOCK    (sigmask(SIGKILL) | sigmask(SIGSTOP))
36 #define _DONT_BLOCK     (_NEVER_BLOCK | sigmask(SIGINT))
37 #define _DO_BLOCK       (sigmask(SIGPIPE))
38 
39 #ifndef QIC117_TAPE_MAJOR
40 #define QIC117_TAPE_MAJOR 27
41 #endif
42 
43 /*      ftape-init.c defined global variables.
44  */
45 
46 
47 /*      ftape-init.c defined global functions not defined in ftape.h
48  */
49 #ifdef MODULE
50 asmlinkage extern int  init_module   (void);
51 asmlinkage extern void cleanup_module(void);
52 #endif
53 
54 #endif
55