root/drivers/char/ftape/kernel-interface.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _KERNEL_INTERFACE_H
   2 #define _KERNEL_INTERFACE_H
   3 
   4 /*
   5  * Copyright (C) 1993-1995 Bas Laarhoven.
   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/bas/distr/ftape-2.03b/RCS/kernel-interface.h,v $
  23  $Author: bas $
  24  *
  25  $Revision: 1.24 $
  26  $Date: 1995/04/30 13:15:14 $
  27  $State: Beta $
  28  *
  29  * ----Description----
  30  *
  31  */
  32 
  33 #include <linux/linkage.h>
  34 #include <linux/signal.h>
  35 
  36 #define _S(nr) (1<<((nr)-1))
  37 #define _NEVER_BLOCK    (_S(SIGKILL)|_S(SIGSTOP))
  38 #define _DONT_BLOCK     (_NEVER_BLOCK|_S(SIGINT))
  39 #define _DO_BLOCK       (_S(SIGPIPE))
  40 #define _BLOCK_ALL      (0xffffffffL)
  41 
  42 
  43 #ifndef QIC117_TAPE_MAJOR
  44 #define QIC117_TAPE_MAJOR 27
  45 #endif
  46 
  47 #define FTAPE_NO_REWIND 4       /* mask for minor nr */
  48 
  49 /*      kernel-interface.c defined global variables.
  50  */
  51 extern byte *tape_buffer[];
  52 extern char kernel_version[];
  53 
  54 /*      kernel-interface.c defined global functions.
  55  */
  56 asmlinkage extern int init_module(void);
  57 asmlinkage extern void cleanup_module(void);
  58 
  59 /*      kernel global functions not (yet) standard accessible
  60  *      (linked at load time by modules package).
  61  */
  62 asmlinkage extern sys_sgetmask(void);
  63 asmlinkage extern sys_ssetmask(int);
  64 
  65 #endif

/* [previous][next][first][last][top][bottom][index][help] */