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

#include <linux/config.h>
#ifdef CONFIG_BLK_DEV_ST
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include "st.h"

extern int scsi_ioctl(Scsi_Device *dev, int cmd, void *arg);

int st_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
{
	int dev = inode->i_rdev;

	switch (cmd) {
		default:
			return scsi_ioctl(scsi_tapes[MINOR(dev)].device, cmd, (void *) arg);
	}
}
#endif

unix.superglobalmegacorp.com

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