|
@@ -40,7 +40,7 @@ struct ci13xxx_td {
|
|
#define TD_CURR_OFFSET (0x0FFFUL << 0)
|
|
#define TD_CURR_OFFSET (0x0FFFUL << 0)
|
|
#define TD_FRAME_NUM (0x07FFUL << 0)
|
|
#define TD_FRAME_NUM (0x07FFUL << 0)
|
|
#define TD_RESERVED_MASK (0x0FFFUL << 0)
|
|
#define TD_RESERVED_MASK (0x0FFFUL << 0)
|
|
-} __attribute__ ((packed));
|
|
|
|
|
|
+} __attribute__ ((packed, aligned(4)));
|
|
|
|
|
|
/* DMA layout of queue heads */
|
|
/* DMA layout of queue heads */
|
|
struct ci13xxx_qh {
|
|
struct ci13xxx_qh {
|
|
@@ -57,7 +57,7 @@ struct ci13xxx_qh {
|
|
/* 9 */
|
|
/* 9 */
|
|
u32 RESERVED;
|
|
u32 RESERVED;
|
|
struct usb_ctrlrequest setup;
|
|
struct usb_ctrlrequest setup;
|
|
-} __attribute__ ((packed));
|
|
|
|
|
|
+} __attribute__ ((packed, aligned(4)));
|
|
|
|
|
|
/**
|
|
/**
|
|
* struct ci13xxx_req - usb request representation
|
|
* struct ci13xxx_req - usb request representation
|