aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ida
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-09-23 18:54:32 +0000
commit4f492bfab53a4732222656e2be91c50a2df9e13c (patch)
tree8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/dev/ida
parentb8581e0d567d1cdf5ddb03df7e535ffd181347f7 (diff)
use __packed.
Notes
svn path=/head/; revision=103870
Diffstat (limited to 'sys/dev/ida')
-rw-r--r--sys/dev/ida/idareg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ida/idareg.h b/sys/dev/ida/idareg.h
index c07ff7690c3b..e06e4d4d11b6 100644
--- a/sys/dev/ida/idareg.h
+++ b/sys/dev/ida/idareg.h
@@ -123,13 +123,13 @@ struct ida_drive_info {
u_int8_t nsectors;
u_int8_t checksum;
u_int8_t mirror;
-} __attribute__ ((packed));
+} __packed;
struct ida_controller_info {
u_int8_t num_drvs;
u_int32_t signature;
u_int8_t firm_rev[4];
-} __attribute__ ((packed));
+} __packed;
struct ida_drive_status {
@@ -155,4 +155,4 @@ struct ida_drive_status {
u_int8_t big_spare_repl_map[128];
u_int16_t big_repl_ok_map[8];
u_int8_t big_rebuilding;
-} __attribute__ ((packed));
+} __packed;