usb-serial: Use tty_port version console instead of usb_serial_port
[safe/jmp/linux-2.6] / drivers / usb / musb / musb_dma.h
index 0a2c4e3..916065b 100644 (file)
@@ -80,6 +80,17 @@ struct musb_hw_ep;
 #define tusb_dma_omap()                        0
 #endif
 
+/* Anomaly 05000456 - USB Receive Interrupt Is Not Generated in DMA Mode 1
+ *     Only allow DMA mode 1 to be used when the USB will actually generate the
+ *     interrupts we expect.
+ */
+#ifdef CONFIG_BLACKFIN
+# undef USE_MODE1
+# if !ANOMALY_05000456
+#  define USE_MODE1
+# endif
+#endif
+
 /*
  * DMA channel status ... updated by the dma controller driver whenever that
  * status changes, and protected by the overall controller spinlock.