Changes in / [c113056:a09128c] in mainline
- Files:
-
- 12 added
- 11 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
.bzrignore
rc113056 ra09128c 86 86 ./uspace/drv/uhci/uhci 87 87 ./uspace/drv/usbhub/usbhub 88 ./uspace/drv/usb kbd/usbkbd88 ./uspace/drv/usbhid/usbhid 89 89 ./uspace/drv/vhc/vhc 90 90 ./uspace/srv/bd/ata_bd/ata_bd -
boot/arch/amd64/Makefile.inc
rc113056 ra09128c 45 45 uhci \ 46 46 usbhub \ 47 usb kbd \47 usbhid \ 48 48 vhc 49 49 -
uspace/Makefile
rc113056 ra09128c 118 118 srv/hw/irc/i8259 \ 119 119 drv/uhci \ 120 drv/usbhid \ 120 121 drv/usbhub \ 121 drv/usbkbd \122 122 drv/vhc 123 123 endif … … 132 132 srv/hw/irc/i8259 \ 133 133 drv/uhci \ 134 drv/usbhid \ 134 135 drv/usbhub \ 135 drv/usbkbd \136 136 drv/vhc 137 137 endif -
uspace/app/usbinfo/dump.c
rc113056 ra09128c 27 27 */ 28 28 29 /** @addtogroup usb 29 /** @addtogroup usbinfo 30 30 * @{ 31 31 */ 32 32 /** 33 33 * @file 34 * @briefUSB querying.34 * USB querying. 35 35 */ 36 36 -
uspace/app/usbinfo/info.c
rc113056 ra09128c 27 27 */ 28 28 29 /** @addtogroup usb 29 /** @addtogroup usbinfo 30 30 * @{ 31 31 */ 32 32 /** 33 33 * @file 34 * @brief34 * Dumping of generic device properties. 35 35 */ 36 36 #include <stdio.h> -
uspace/app/usbinfo/main.c
rc113056 ra09128c 27 27 */ 28 28 29 /** @addtogroup usb 29 /** @addtogroup usbinfo 30 30 * @{ 31 31 */ 32 32 /** 33 33 * @file 34 * @briefUSB querying.34 * USB querying. 35 35 */ 36 36 -
uspace/app/usbinfo/usbinfo.h
rc113056 ra09128c 27 27 */ 28 28 29 /** @addtogroup usb 29 /** @addtogroup usbinfo 30 30 * @{ 31 31 */ 32 32 /** @file 33 * @briefCommon header for usbinfo application.33 * Common header for usbinfo application. 34 34 */ 35 35 #ifndef USBINFO_USBINFO_H_ -
uspace/doc/doxygroups.h
rc113056 ra09128c 210 210 */ 211 211 212 /** 213 * @defgroup drvusbhub USB hub driver 214 * @ingroup usb 215 * @brief USB hub driver. 216 */ 217 218 /** 219 * @defgroup drvusbhid USB HID driver 220 * @ingroup usb 221 * @brief USB driver for HID devices. 222 */ 223 224 /** 225 * @defgroup drvusbuhci UHCI driver 226 * @ingroup usb 227 * @brief Driver for USB host controller UHCI. 228 */ 229 212 /** 213 * @defgroup usbinfo USB info application 214 * @ingroup usb 215 * @brief Application for querying USB devices. 216 * @details 217 * The intended usage of this application is to query new USB devices 218 * for their descriptors etc. to simplify driver writing. 219 */ 220 221 /** 222 * @defgroup drvusbhub USB hub driver 223 * @ingroup usb 224 * @brief USB hub driver. 225 */ 226 227 /** 228 * @defgroup drvusbhid USB HID driver 229 * @ingroup usb 230 * @brief USB driver for HID devices. 231 */ 232 233 /** 234 * @defgroup drvusbuhci UHCI driver 235 * @ingroup usb 236 * @brief Driver for USB host controller UHCI. 237 */ 238 -
uspace/drv/uhci/Makefile
rc113056 ra09128c 34 34 SOURCES = \ 35 35 main.c \ 36 pci.c \ 36 37 transfers.c 37 38 -
uspace/drv/uhci/main.c
rc113056 ra09128c 30 30 #include <usb/debug.h> 31 31 #include <errno.h> 32 #include <str_error.h> 32 33 #include <driver.h> 33 34 #include "uhci.h" … … 55 56 usb_dprintf(NAME, 1, "uhci_add_device() called\n"); 56 57 device->ops = &uhci_ops; 58 59 uintptr_t io_reg_base; 60 size_t io_reg_size; 61 int irq; 62 63 int rc = pci_get_my_registers(device, 64 &io_reg_base, &io_reg_size, &irq); 65 66 if (rc != EOK) { 67 fprintf(stderr, 68 NAME ": failed to get I/O registers addresses: %s.\n", 69 str_error(rc)); 70 return rc; 71 } 72 73 usb_dprintf(NAME, 2, "I/O regs at 0x%X (size %zu), IRQ %d.\n", 74 io_reg_base, io_reg_size, irq); 57 75 58 76 /* -
uspace/drv/uhci/uhci.h
rc113056 ra09128c 27 27 */ 28 28 29 /** @addtogroup usb29 /** @addtogroup drvusbuhci 30 30 * @{ 31 31 */ … … 42 42 usbhc_iface_t uhci_iface; 43 43 44 int pci_get_my_registers(device_t *, uintptr_t *, size_t *, int *); 45 44 46 #endif 45 47 /**
Note:
See TracChangeset
for help on using the changeset viewer.