root/kernel/blk_drv/scsi/st_ioctl.c

/* [previous][next][first][last][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. st_ioctl

   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 
   8 extern int scsi_ioctl(Scsi_Device *dev, int cmd, void *arg);
   9 
  10 int st_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
     /* [previous][next][first][last][top][bottom][index][help] */
  11 {
  12         int dev = inode->i_rdev;
  13 
  14         switch (cmd) {
  15                 default:
  16                         return scsi_ioctl(scsi_tapes[MINOR(dev)].device, cmd, (void *) arg);
  17         }
  18 }
  19 #endif

/* [previous][next][first][last][top][bottom][index][help] */