Hi Alan,
the following patch of usb-ohci.h
which is part of your patch-2.4.9ac18
is wrong.
EDs always has to be 16 Bytes alligned. So
__attribute((aligned(16))); is ok for EDs.
TDs hast to be 32 Byte alligned for ISOC
so the comment should stay there.
Please remove the whole patch for usb-ohci.h
-----------
Wrong patch:
diff -u --new-file --recursive --exclude-from /usr/src/exclude
linux.vanilla/drivers/usb/usb-ohci.h linux.ac/drivers/usb/usb-ohci.h
--- linux.vanilla/drivers/usb/usb-ohci.h Sun Aug 26 20:45:58 2001
+++ linux.ac/drivers/usb/usb-ohci.h Tue Sep 18 17:00:24 2001
@@ -58,7 +58,7 @@
dma_addr_t dma;
__u32 unused[3];
-} __attribute((aligned(16)));
+} __attribute((aligned(32))); /* normally 16, iso needs 32 */
typedef struct ed ed_t;
@@ -116,7 +116,7 @@
dma_addr_t td_dma;
dma_addr_t data_dma;
__u32 unused2[2];
-} __attribute((aligned(32))); /* normally 16, iso needs 32 */
+} __attribute((aligned(32)));
typedef struct td td_t;
#define OHCI_ED_SKIP (1 << 14)
---------
Regards
Roman
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel