Changeset 6297465 in mainline
- Timestamp:
- 2013-12-31T07:45:34Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c14b88
- Parents:
- 2c24983
- Location:
- uspace/drv/bus/usb/ehci
- Files:
-
- 7 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/Makefile
r2c24983 r6297465 31 31 LIBS = \ 32 32 $(LIBUSBHOST_PREFIX)/libusbhost.a \ 33 $(LIBUSBVIRT_PREFIX)/libusbvirt.a \ 33 34 $(LIBUSB_PREFIX)/libusb.a \ 34 35 $(LIBDRV_PREFIX)/libdrv.a … … 36 37 EXTRA_CFLAGS += \ 37 38 -I$(LIBUSB_PREFIX)/include \ 39 -I$(LIBUSBDEV_PREFIX)/include \ 38 40 -I$(LIBUSBHOST_PREFIX)/include \ 41 -I$(LIBUSBVIRT_PREFIX)/include \ 39 42 -I$(LIBDRV_PREFIX)/include 40 43 … … 42 45 43 46 SOURCES = \ 47 ehci.c \ 48 ehci_rh.c \ 49 hc.c \ 44 50 main.c \ 45 51 res.c -
uspace/drv/bus/usb/ehci/main.c
r2c24983 r6297465 44 44 45 45 #include "res.h" 46 #include "ehci.h" 46 47 47 48 #define NAME "ehci" … … 91 92 92 93 /* High Speed, no bandwidth */ 93 ret = hcd_ddf_setup_hc(device, USB_SPEED_HIGH, 0, NULL);94 ret = device_setup_ehci(device); 94 95 if (ret != EOK) { 95 usb_log_error("Failed to init generci hcddriver: %s\n",96 usb_log_error("Failed to init ehci driver: %s\n", 96 97 str_error(ret)); 97 98 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.