From 592863ce2b10fe41562ec402106d81f1b008b54c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 13 Aug 2013 15:03:46 -0600 Subject: [PATCH] Separate wait() and enumerate() methods from struct usbhost_driver_s and move to new interface, struct usbhost_connection_s. This is part of the necessary restructuring of the USB host interface to support multiple root hub ports. --- Documentation/NuttxPortingGuide.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html index 71bb5842c70..adfc5d36e9e 100644 --- a/Documentation/NuttxPortingGuide.html +++ b/Documentation/NuttxPortingGuide.html @@ -12,7 +12,7 @@

NuttX RTOS Porting Guide

-

Last Updated: August 12, 2013

+

Last Updated: August 13, 2013

@@ -3426,9 +3426,11 @@ extern void up_ledoff(int led);
  • - struct usbhost_driver_s. - Each USB host controller driver must implement an instance of struct usbhost_driver_s. - This structure is defined in include/nuttx/usb/usbhost.h. + struct usbhost_driver_s and struct usbhost_connection_s. + Each USB host controller driver must implement an instance of struct usbhost_driver_s and struct usbhost_connection_s: + struct usbhost_driver_s provides the interface between the USB host driver and the USB class driver; + struct usbhost_connection_s provides the interface between the USB host driver and platform-specific connection management and device enumeration logoc. + These structures are defined in include/nuttx/usb/usbhost.h.

    Examples: @@ -3471,7 +3473,7 @@ extern void up_ledoff(int led);