usb: renesas_usbhs: fifo became independent from pipe.
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 6 Jun 2011 05:18:03 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 16:10:07 +0000 (09:10 -0700)
commite8d548d549688d335236f7f6f8bcee141a207ff8
tree6adc569824995e4e8e6cf21ed1428a89da9a8118
parentad6f2a8bc53b7cc104f481a648ce357528cc08eb
usb: renesas_usbhs: fifo became independent from pipe.

Current renesas_usbhs has PIO data transfer mode which controls CFIFO.
And it was implemented in pipe.c.
But, fifo control method needs more flexible implementation
to support DMAEngine.
This patch create fifo.c, and it became independent from pipe.c.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/renesas_usbhs/Makefile
drivers/usb/renesas_usbhs/common.h
drivers/usb/renesas_usbhs/fifo.c [new file with mode: 0644]
drivers/usb/renesas_usbhs/fifo.h [new file with mode: 0644]
drivers/usb/renesas_usbhs/mod_gadget.c
drivers/usb/renesas_usbhs/pipe.c
drivers/usb/renesas_usbhs/pipe.h