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

1.1       root        1: #include <linux/config.h>
                      2: #ifdef CONFIG_BLK_DEV_ST
                      3: #include <linux/kernel.h>
                      4: #include <linux/sched.h>
                      5: #include <linux/fs.h>
                      6: #include "st.h"
                      7: 
1.1.1.2 ! root        8: extern int scsi_ioctl(Scsi_Device *dev, int cmd, void *arg);
1.1       root        9: 
1.1.1.2 ! root       10: int st_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
1.1       root       11: {
                     12:        int dev = inode->i_rdev;
                     13: 
                     14:        switch (cmd) {
                     15:                default:
1.1.1.2 ! root       16:                        return scsi_ioctl(scsi_tapes[MINOR(dev)].device, cmd, (void *) arg);
1.1       root       17:        }
                     18: }
                     19: #endif

unix.superglobalmegacorp.com

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