ftape-init.h 1.3 KB

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