summaryrefslogtreecommitdiffstats
path: root/main/musl/0003-add-legacy-scsi-scsi_ioctl.h-header.patch
blob: fe67990a450773e305a31002a6bedba9af3cd27e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 5ece469f37e5cdddb86871b56f4f74674690fbe4 Mon Sep 17 00:00:00 2001
From: rofl0r <retnyg@gmx.net>
Date: Wed, 3 Jul 2013 17:52:44 +0200
Subject: [PATCH 3/9] add legacy scsi/scsi_ioctl.h header

---
 include/scsi/scsi_ioctl.h | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 include/scsi/scsi_ioctl.h

diff --git a/include/scsi/scsi_ioctl.h b/include/scsi/scsi_ioctl.h
new file mode 100644
index 0000000..22df7fe
--- /dev/null
+++ b/include/scsi/scsi_ioctl.h
@@ -0,0 +1,11 @@
+#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
+#define SCSI_IOCTL_START_UNIT 5
+#define SCSI_IOCTL_STOP_UNIT 6
+#define SCSI_IOCTL_DOORLOCK 0x5380
+#define SCSI_IOCTL_DOORUNLOCK 0x5381
+#endif
-- 
1.8.3.2