Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: scsi_ioctl.h
===================================================================
--- scsi_ioctl.h	(nonexistent)
+++ scsi_ioctl.h	(revision 5)
@@ -0,0 +1,50 @@
+
+#ifndef _SCSI_IOCTL_H
+#define _SCSI_IOCTL_H
+
+#define SCSI_IOCTL_SEND_COMMAND      1
+#define SCSI_IOCTL_TEST_UNIT_READY   2
+#define SCSI_IOCTL_BENCHMARK_COMMAND 3
+#define SCSI_IOCTL_SYNC              4 /* Request synchronous parameters */
+#define SCSI_IOCTL_START_UNIT        5
+#define SCSI_IOCTL_STOP_UNIT         6
+/*
+  The door lock/unlock constants are compatible with Sun constants for the cdrom
+ */
+#define SCSI_IOCTL_DOORLOCK     0x5380 /* lock the eject mechanism */
+#define SCSI_IOCTL_DOORUNLOCK   0x5381 /* unlock the mechanism	  */
+
+#define	SCSI_REMOVAL_PREVENT         1
+#define	SCSI_REMOVAL_ALLOW           0
+
+#ifdef __KERNEL__
+
+struct scsi_device;
+
+/*
+ * Structures used for scsi_ioctl et al.
+ */
+
+typedef struct scsi_ioctl_command {
+  unsigned int  inlen;
+  unsigned int  outlen;
+  unsigned char data[0];
+} Scsi_Ioctl_Command;
+
+typedef struct scsi_idlun {
+  __u32 dev_id;
+  __u32 host_unique_id;
+} Scsi_Idlun;
+
+/* Fibre Channel WWN, port_id struct */
+typedef struct scsi_fctargaddress {
+  __u32 host_port_id;
+  unsigned char host_wwn[8]; /* include NULL term. */
+} Scsi_FCTargAddress;
+
+extern int scsi_ioctl( struct scsi_device *, int, void __user * );
+extern int scsi_nonblockable_ioctl( struct scsi_device *sdev, int cmd,
+                                    void __user *arg, struct file *filp );
+
+#endif /* __KERNEL__    */
+#endif /* _SCSI_IOCTL_H */
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~