summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-02-06 17:00:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-02-06 17:00:16 +0000
commitc7479020420857ed99f9aa7c460ec21989614e28 (patch)
tree23612f641523bc9bd3a8acae4d4be003b2e1f244
parent477add8d0fb08564f0b2feeabc6e7339735d8527 (diff)
downloadmtk-20170518-c7479020420857ed99f9aa7c460ec21989614e28.zip
mtk-20170518-c7479020420857ed99f9aa7c460ec21989614e28.tar.gz
mtk-20170518-c7479020420857ed99f9aa7c460ec21989614e28.tar.bz2
ar71xx: add missing fields to the ar71xx-ehci driver
SVN-Revision: 19534
-rw-r--r--target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c b/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c
index 5b929e1..01433c2 100644
--- a/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c
+++ b/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c
@@ -1,7 +1,7 @@
/*
* Bus Glue for Atheros AR71xx built-in EHCI controller.
*
- * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
+ * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* Parts of this file are based on Atheros' 2.6.15 BSP
@@ -152,6 +152,7 @@ static const struct hc_driver ehci_ar71xx_hc_driver = {
.urb_enqueue = ehci_urb_enqueue,
.urb_dequeue = ehci_urb_dequeue,
.endpoint_disable = ehci_endpoint_disable,
+ .endpoint_reset = ehci_endpoint_reset,
.get_frame_number = ehci_get_frame,
@@ -163,6 +164,8 @@ static const struct hc_driver ehci_ar71xx_hc_driver = {
#endif
.relinquish_port = ehci_relinquish_port,
.port_handed_over = ehci_port_handed_over,
+
+ .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete,
};
static const struct hc_driver ehci_ar91xx_hc_driver = {
@@ -180,6 +183,7 @@ static const struct hc_driver ehci_ar91xx_hc_driver = {
.urb_enqueue = ehci_urb_enqueue,
.urb_dequeue = ehci_urb_dequeue,
.endpoint_disable = ehci_endpoint_disable,
+ .endpoint_reset = ehci_endpoint_reset,
.get_frame_number = ehci_get_frame,
@@ -191,6 +195,8 @@ static const struct hc_driver ehci_ar91xx_hc_driver = {
#endif
.relinquish_port = ehci_relinquish_port,
.port_handed_over = ehci_port_handed_over,
+
+ .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete,
};
static int ehci_ar71xx_driver_probe(struct platform_device *pdev)