File:  [Early Linux] / linux / kernel / blk_drv / scsi / st.c
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:13:39 2018 UTC (8 years, 3 months ago) by root
Branches: linus, MAIN
CVS tags: linux098, linux097, HEAD
linux 0.97

/*
	The st.c file is a sub-stub file.  I just wanted to have all the detect code, etc in the
	mid level driver present and working.  If no one else volunteers for this, I'll
	do it - but it's low on my list of priorities.
*/
#include <linux/config.h>

#ifdef CONFIG_BLK_DEV_ST
#include "scsi.h"
#include "st.h"

#define MAJOR_NR 9
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include "../blk.h" 

Scsi_Tape scsi_tapes[MAX_ST];
static int st_sizes[MAX_ST];
int NR_ST=0;

void do_st_request(void)
{
	panic("There is no st driver.\n\r");
}

void st_init(void)
{
	blk_dev[MAJOR_NR].request_fn = do_st_request;
	blk_size[MAJOR_NR] = st_sizes;
}
#endif	

unix.superglobalmegacorp.com

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