root/kernel/blk_drv/scsi/st.c

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

DEFINITIONS

This source file includes following definitions.
  1. do_st_request
  2. st_init

   1 /*
   2         The st.c file is a sub-stub file.  I just wanted to have all the detect code, etc in the
   3         mid level driver present and working.  If no one else volunteers for this, I'll
   4         do it - but it's low on my list of priorities.
   5 */
   6 #include <linux/config.h>
   7 
   8 #ifdef CONFIG_BLK_DEV_ST
   9 #include "scsi.h"
  10 #include "st.h"
  11 
  12 #define MAJOR_NR 9
  13 #include <linux/fs.h>
  14 #include <linux/kernel.h>
  15 #include <linux/sched.h>
  16 #include "../blk.h" 
  17 
  18 Scsi_Tape scsi_tapes[MAX_ST];
  19 static int st_sizes[MAX_ST];
  20 int NR_ST=0;
  21 
  22 void do_st_request(void)
     /* [previous][next][first][last][top][bottom][index][help] */
  23 {
  24         panic("There is no st driver.\n\r");
  25 }
  26 
  27 unsigned long st_init(unsigned long memory_start, unsigned long memory_end)
     /* [previous][next][first][last][top][bottom][index][help] */
  28 {
  29         blk_dev[MAJOR_NR].request_fn = do_st_request;
  30         blk_size[MAJOR_NR] = st_sizes;
  31         return memory_start;
  32 }
  33 #endif  
  34 

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