Annotation of linux/kernel/blk_drv/scsi/st.c, revision 1.1.1.2

1.1       root        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)
                     23: {
                     24:        panic("There is no st driver.\n\r");
                     25: }
                     26: 
                     27: void st_init(void)
                     28: {
                     29:        blk_dev[MAJOR_NR].request_fn = do_st_request;
                     30:        blk_size[MAJOR_NR] = st_sizes;
                     31: }
                     32: #endif 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.