Changeset 29e479f in mainline for uspace/lib/usb/src/hc.c
- Timestamp:
- 2011-12-11T17:16:41Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c046942
- Parents:
- 7d5ef94
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hc.c
r7d5ef94 r29e479f 27 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 28 */ 29 30 29 /** @addtogroup libusb 31 30 * @{ … … 34 33 * General communication with host controller driver (implementation). 35 34 */ 36 #include <devman.h> 37 #include <async.h> 38 #include <dev_iface.h> 35 #include <usb/debug.h> 36 37 #include <assert.h> 38 #include <errno.h> 39 39 #include <usbhc_iface.h> 40 #include <usb/dev.h> 40 41 #include <usb/hc.h> 41 #include <usb/debug.h>42 #include <usb/dev.h>43 #include <errno.h>44 #include <assert.h>45 42 46 43 static int usb_hc_connection_add_ref(usb_hc_connection_t *connection) … … 133 130 } 134 131 /*----------------------------------------------------------------------------*/ 135 /** Tells whether connection to host controller is opened.136 *137 * @param connection Connection to the host controller.138 * @return Whether connection is opened.139 */140 bool usb_hc_connection_is_open(const usb_hc_connection_t *connection)141 {142 assert(connection);143 return (connection->hc_sess != NULL);144 }145 /*----------------------------------------------------------------------------*/146 132 /** Close connection to the host controller. 147 133 *
Note:
See TracChangeset
for help on using the changeset viewer.