summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/amireg.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/amireg.h b/sys/dev/ic/amireg.h
index e0f54c41162..cd670d093b3 100644
--- a/sys/dev/ic/amireg.h
+++ b/sys/dev/ic/amireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amireg.h,v 1.2 2001/03/27 01:10:18 mickey Exp $ */
+/* $OpenBSD: amireg.h,v 1.3 2001/04/30 15:26:44 mickey Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -274,6 +274,7 @@ struct ami_iocmd {
u_int8_t acc_cmplidl[AMI_MAXSTATACK];
u_int8_t acc_poll;
u_int8_t acc_ack;
+ u_int8_t acc_pad[0x3e]; /* pad to 128 bytes */
};
struct ami_sgent {
@@ -329,7 +330,8 @@ struct ami_iocmd64 {
u_int8_t acc_cmplidl[AMI_MAXSTATACK];
u_int8_t acc_poll;
u_int8_t acc_ack;
-} __attribute__((packed));
+ u_int8_t acc_pad[0x32]; /* pad to 128 bytes */
+};
struct ami_sgent64 {
u_int32_t asg_addr_l;