patch-2.4.19 linux-2.4.19/arch/mips64/kernel/ioctl32.c
Next file: linux-2.4.19/arch/mips64/kernel/irq.c
Previous file: linux-2.4.19/arch/mips64/kernel/i8259.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips64/kernel/ioctl32.c
- Orig date:
Sat Sep 1 11:01:28 2001
diff -urN linux-2.4.18/arch/mips64/kernel/ioctl32.c linux-2.4.19/arch/mips64/kernel/ioctl32.c
@@ -27,6 +27,10 @@
#include <linux/auto_fs.h>
#include <linux/ext2_fs.h>
#include <linux/raid/md_u.h>
+#include <scsi/scsi.h>
+#undef __KERNEL__ /* This file was born to be ugly ... */
+#include <scsi/scsi_ioctl.h>
+#define __KERNEL__
#include <asm/types.h>
#include <asm/uaccess.h>
@@ -619,6 +623,7 @@
IOCTL32_DEFAULT(FIONBIO),
IOCTL32_DEFAULT(FIONREAD),
+ /* Big K */
IOCTL32_DEFAULT(PIO_FONT),
IOCTL32_DEFAULT(GIO_FONT),
IOCTL32_DEFAULT(KDSIGACCEPT),
@@ -650,6 +655,17 @@
IOCTL32_DEFAULT(PIO_FONTRESET),
IOCTL32_DEFAULT(PIO_UNIMAPCLR),
+ /* Big S */
+ IOCTL32_DEFAULT(SCSI_IOCTL_GET_IDLUN),
+ IOCTL32_DEFAULT(SCSI_IOCTL_DOORLOCK),
+ IOCTL32_DEFAULT(SCSI_IOCTL_DOORUNLOCK),
+ IOCTL32_DEFAULT(SCSI_IOCTL_TEST_UNIT_READY),
+ IOCTL32_DEFAULT(SCSI_IOCTL_TAGGED_ENABLE),
+ IOCTL32_DEFAULT(SCSI_IOCTL_TAGGED_DISABLE),
+ IOCTL32_DEFAULT(SCSI_IOCTL_GET_BUS_NUMBER),
+ IOCTL32_DEFAULT(SCSI_IOCTL_SEND_COMMAND),
+
+ /* Big V */
IOCTL32_DEFAULT(VT_SETMODE),
IOCTL32_DEFAULT(VT_GETMODE),
IOCTL32_DEFAULT(VT_GETSTATE),
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)