From 1ce49c0e00096dc06e8c85748c28feac89d11d98 Mon Sep 17 00:00:00 2001 From: Dinh Nguyen Date: Wed, 16 Sep 2009 11:31:02 -0500 Subject: [PATCH] usb: add ehci otg support Add OTG support to ehci host controllers Signed-off-by: Dinh Nguyen --- drivers/usb/host/ehci.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h index 3ffb27f472c2..9b9701fc1acc 100644 --- a/drivers/usb/host/ehci.h +++ b/drivers/usb/host/ehci.h @@ -152,6 +152,11 @@ struct ehci_hcd { /* one per controller */ unsigned has_ppcd:1; /* support per-port change bits */ u8 sbrn; /* packed release number */ + /* + * OTG controllers and transceivers need software interaction; + * other external transceivers should be software-transparent + */ + struct otg_transceiver *transceiver; /* irq statistics */ #ifdef EHCI_STATS struct ehci_stats stats; -- 2.39.5