diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2014-03-12 13:37:40 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2014-03-12 13:37:40 +0000 |
commit | 68022cac6423111f5eaea8f1e8b297f1ed282a28 (patch) | |
tree | 506dd49aa00313f5598577da7a06a41eac0e7235 /target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h | |
parent | 47dfbb5bc62c74b9685e6f243f31e768cae1a868 (diff) | |
download | mtk-20170518-68022cac6423111f5eaea8f1e8b297f1ed282a28.zip mtk-20170518-68022cac6423111f5eaea8f1e8b297f1ed282a28.tar.gz mtk-20170518-68022cac6423111f5eaea8f1e8b297f1ed282a28.tar.bz2 |
various dwc (OTG) driver fixups
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39892
Diffstat (limited to 'target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h')
-rw-r--r-- | target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h b/target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h index 463214b..d1a4993 100644 --- a/target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h +++ b/target/linux/cns3xxx/files/drivers/usb/dwc/otg_cil.h @@ -45,6 +45,8 @@ #include "linux/timer.h" #endif +struct dwc_otg_hcd; + /** * @file * This file contains the interface to the Core Interface Layer. @@ -402,7 +404,7 @@ typedef struct dwc_otg_core_params */ int32_t dma_burst_size; /* Translate this to GAHBCFG values */ //#define dwc_param_dma_burst_size_default 32 -#define dwc_param_dma_burst_size_default 1 +#define dwc_param_dma_burst_size_default 32 /** * Specifies the maximum speed of operation in host and device mode. @@ -876,7 +878,7 @@ extern void dwc_otg_iso_ep_start_buf_transfer(dwc_otg_core_if_t *core_if, dwc_ep */ /**@{*/ extern void dwc_otg_hc_init(dwc_otg_core_if_t *_core_if, dwc_hc_t *_hc); -extern void dwc_otg_hc_halt(dwc_otg_core_if_t *_core_if, +extern void dwc_otg_hc_halt(struct dwc_otg_hcd *_hcd, dwc_hc_t *_hc, dwc_otg_halt_status_e _halt_status); extern void dwc_otg_hc_cleanup(dwc_otg_core_if_t *_core_if, dwc_hc_t *_hc); |