summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/rtwreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rtwreg.h b/sys/dev/ic/rtwreg.h
index 42d00c893f4..8641f04dc60 100644
--- a/sys/dev/ic/rtwreg.h
+++ b/sys/dev/ic/rtwreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rtwreg.h,v 1.21 2006/11/26 17:31:32 dyoung Exp $ */
+/* $NetBSD: rtwreg.h,v 1.22 2007/01/06 06:09:03 dyoung Exp $ */
/*-
* Copyright (c) 2004, 2005 David Young. All rights reserved.
*
@@ -840,7 +840,7 @@ struct rtw_txdesc {
volatile uint32_t td_len;
volatile uint32_t td_next;
volatile uint32_t td_rsvd[3];
-};
+} __attribute__((__packed__, __aligned__(4)));
#define td_stat td_ctl0
@@ -901,7 +901,7 @@ struct rtw_rxdesc {
volatile uint32_t rd_rsvd0;
volatile uint32_t rd_buf;
volatile uint32_t rd_rsvd1;
-};
+} __attribute__((__packed__, __aligned__(4)));
#define rd_stat rd_ctl
#define rd_rssi rd_rsvd0