root/drivers/char/ftape/fdc-isr.h

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

INCLUDED FROM


   1 #ifndef _FDC_ISR_H
   2 #define _FDC_ISR_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/fdc-isr.h,v $
  23  $Author: bas $
  24  *
  25  $Revision: 1.8 $
  26  $Date: 1995/04/22 07:30:15 $
  27  $State: Beta $
  28  *
  29  *      This file contains the low level functions
  30  *      that communicate with the floppy disk controller,
  31  *      for the QIC-40/80 floppy-tape driver for Linux.
  32  */
  33 
  34 /*
  35  *      fdc-isr.c defined public variables
  36  */
  37 extern volatile int expected_stray_interrupts;  /* masks stray interrupts */
  38 extern volatile int seek_completed;     /* flag set by isr */
  39 extern volatile int interrupt_seen;     /* flag set by isr */
  40 extern volatile int expect_stray_interrupt;
  41 
  42 /*
  43  *      fdc-io.c defined public functions
  44  */
  45 extern void fdc_isr(void);
  46 
  47 /*
  48  *      A kernel hook that steals one interrupt from the floppy
  49  *      driver (Should be fixed when the new fdc driver gets ready)
  50  *      See the linux kernel source files:
  51  *          drivers/block/floppy.c & drivers/block/blk.h
  52  *      for the details.
  53  */
  54 extern void (*do_floppy) (void);
  55 
  56 #endif

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