patch-2.4.6 linux/drivers/usb/usb-ohci.h

Next file: linux/drivers/usb/usb-uhci.c
Previous file: linux/drivers/usb/usb-ohci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/usb/usb-ohci.h linux/drivers/usb/usb-ohci.h
@@ -116,7 +116,7 @@
 	dma_addr_t td_dma;
 	dma_addr_t data_dma;
 	__u32 unused2[2];
-} __attribute((aligned(16)));
+} __attribute((aligned(32)));	/* normally 16, iso needs 32 */
 typedef struct td td_t;
 
 #define OHCI_ED_SKIP	(1 << 14)
@@ -562,7 +562,7 @@
 {
 	ohci->td_cache = pci_pool_create ("ohci_td", ohci->ohci_dev,
 		sizeof (struct td),
-		16 /* byte alignment */,
+		32 /* byte alignment */,
 		0 /* no page-crossing issues */,
 		GFP_KERNEL | OHCI_MEM_FLAGS);
 	if (!ohci->td_cache)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)