> - u8 status; /* status returned from ep_response after command completion */
> + u8 status __atribute__((aligned(INCOHERENT_DMA))); /* status returned from
>ep_response after command completion */
How about
(a) spelling "attribute" right, and
(b) making the #define do more of the annoying typing like
#define DMA_ALIGNED __attribute__((aligned(SMP_CACHE_BYTES))
So one can just do things like
struct ... {
...
/* stuff we'll use with DMA goes at the end */
char buffer [SIZE] DMA_ALIGNED;
} DMA_ALIGNED;
and have it work out correctly?
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel