1 From: Giuseppe Iuculano <iuculano@debian.org>
2 Date: Thu, 27 Sep 2018 19:03:07 +0800
3 Subject: _remove-pragma
6 atacmds.h | 15 ---------------
7 1 file changed, 15 deletions(-)
9 diff --git a/atacmds.h b/atacmds.h
10 index cbb20b6..15e54d4 100644
13 @@ -130,7 +130,6 @@ typedef enum {
15 // Needed parts of the ATA DRIVE IDENTIFY Structure. Those labeled
16 // word* are NOT used.
18 struct ata_identify_device {
19 unsigned short words000_009[10];
20 unsigned char serial_no[20];
21 @@ -152,7 +151,6 @@ struct ata_identify_device {
22 ASSERT_SIZEOF_STRUCT(ata_identify_device, 512);
24 /* ata_smart_attribute is the vendor specific in SFF-8035 spec */
26 struct ata_smart_attribute {
28 // meaning of flag bits: see MACROS just below
29 @@ -213,7 +211,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_attribute, 12);
31 // Format of data returned by SMART READ DATA
32 // Table 62 of T13/1699-D (ATA8-ACS) Revision 6a, September 2008
34 struct ata_smart_values {
35 unsigned short int revnumber;
36 struct ata_smart_attribute vendor_attributes [NUMBER_ATA_SMART_ATTRIBUTES];
37 @@ -246,7 +243,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_values, 512);
40 /* Vendor attribute of SMART Threshold (compare to ata_smart_attribute above) */
42 struct ata_smart_threshold_entry {
44 unsigned char threshold;
45 @@ -257,7 +253,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_threshold_entry, 12);
47 /* Format of Read SMART THreshold Command */
48 /* Compare to ata_smart_values above */
50 struct ata_smart_thresholds_pvt {
51 unsigned short int revnumber;
52 struct ata_smart_threshold_entry thres_entries[NUMBER_ATA_SMART_ATTRIBUTES];
53 @@ -269,7 +264,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_thresholds_pvt, 512);
56 // Table 42 of T13/1321D Rev 1 spec (Error Data Structure)
58 struct ata_smart_errorlog_error_struct {
59 unsigned char reserved;
60 unsigned char error_register;
61 @@ -288,7 +282,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_errorlog_error_struct, 30);
64 // Table 41 of T13/1321D Rev 1 spec (Command Data Structure)
66 struct ata_smart_errorlog_command_struct {
67 unsigned char devicecontrolreg;
68 unsigned char featuresreg;
69 @@ -304,7 +297,6 @@ struct ata_smart_errorlog_command_struct {
70 ASSERT_SIZEOF_STRUCT(ata_smart_errorlog_command_struct, 12);
72 // Table 40 of T13/1321D Rev 1 spec (Error log data structure)
74 struct ata_smart_errorlog_struct {
75 struct ata_smart_errorlog_command_struct commands[5];
76 struct ata_smart_errorlog_error_struct error_struct;
77 @@ -313,7 +305,6 @@ struct ata_smart_errorlog_struct {
78 ASSERT_SIZEOF_STRUCT(ata_smart_errorlog_struct, 90);
80 // Table 39 of T13/1321D Rev 1 spec (SMART error log sector)
82 struct ata_smart_errorlog {
83 unsigned char revnumber;
84 unsigned char error_log_pointer;
85 @@ -410,7 +401,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_exterrlog, 512);
88 // Table 45 of T13/1321D Rev 1 spec (Self-test log descriptor entry)
90 struct ata_smart_selftestlog_struct {
91 unsigned char selftestnumber; // Sector number register
92 unsigned char selfteststatus;
93 @@ -423,7 +413,6 @@ struct ata_smart_selftestlog_struct {
94 ASSERT_SIZEOF_STRUCT(ata_smart_selftestlog_struct, 24);
96 // Table 44 of T13/1321D Rev 1 spec (Self-test log data structure)
98 struct ata_smart_selftestlog {
99 unsigned short int revnumber;
100 struct ata_smart_selftestlog_struct selftest_struct[21];
101 @@ -472,7 +461,6 @@ struct ata_smart_extselftestlog
102 ASSERT_SIZEOF_STRUCT(ata_smart_extselftestlog, 512);
104 // SMART LOG DIRECTORY Table 52 of T13/1532D Vol 1 Rev 1a
106 struct ata_smart_log_entry {
107 unsigned char numsectors;
108 unsigned char reserved;
109 @@ -480,7 +468,6 @@ struct ata_smart_log_entry {
111 ASSERT_SIZEOF_STRUCT(ata_smart_log_entry, 2);
114 struct ata_smart_log_directory {
115 unsigned short int logversion;
116 struct ata_smart_log_entry entry[255];
117 @@ -490,7 +477,6 @@ ASSERT_SIZEOF_STRUCT(ata_smart_log_directory, 512);
119 // SMART SELECTIVE SELF-TEST LOG Table 61 of T13/1532D Volume 1
125 @@ -498,7 +484,6 @@ struct test_span {
127 ASSERT_SIZEOF_STRUCT(test_span, 16);
130 struct ata_selective_self_test_log {
131 unsigned short logversion;
132 struct test_span span[5];