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

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: /*
        !            19: static const char RCSid[] = "$Header: /usr/src/linux/kernel/blk_drv/scsi/RCS/st.c,v 1.1 1992/04/24 18:01:50 root Exp root $";
        !            20: */
        !            21: 
        !            22: Scsi_Tape scsi_tapes[MAX_ST];
        !            23: static int st_sizes[MAX_ST];
        !            24: int NR_ST=0;
        !            25: 
        !            26: void do_st_request(void)
        !            27: {
        !            28:        panic("There is no st driver.\n\r");
        !            29: }
        !            30: 
        !            31: void st_init(void)
        !            32: {
        !            33:        blk_dev[MAJOR_NR].request_fn = do_st_request;
        !            34:        blk_size[MAJOR_NR] = st_sizes;
        !            35: }
        !            36: #endif 

unix.superglobalmegacorp.com

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