Changeset 291b8bc in mainline for uspace/drv/ohci/ohci.h
- Timestamp:
- 2011-03-26T13:28:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f62468c
- Parents:
- 889e8e3 (diff), c9f5e238 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/ohci.h
r889e8e3 r291b8bc 1 1 /* 2 * Copyright (c) 2011 Lubos Slovak2 * Copyright (c) 2011 Jan Vesely 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup drvusb hid29 /** @addtogroup drvusbohci 30 30 * @{ 31 31 */ 32 32 /** @file 33 * USB HID keyboard autorepeat facilities33 * @brief OHCI driver main structure for both host controller and root-hub. 34 34 */ 35 #ifndef DRV_OHCI_OHCI_H 36 #define DRV_OHCI_OHCI_H 37 #include <ddi.h> 38 #include <ddf/driver.h> 35 39 36 #i fndef USBHID_KBDREPEAT_H_37 # define USBHID_KBDREPEAT_H_40 #include "hc.h" 41 #include "root_hub.h" 38 42 39 #include "kbddev.h" 43 typedef struct ohci { 44 ddf_fun_t *hc_fun; 45 ddf_fun_t *rh_fun; 40 46 41 /*----------------------------------------------------------------------------*/ 47 hc_t hc; 48 rh_t rh; 49 } ohci_t; 42 50 43 int usbhid_kbd_repeat_fibril(void *arg);51 int ohci_init(ohci_t *instance, ddf_dev_t *device); 44 52 45 void usbhid_kbd_repeat_start(usbhid_kbd_t *kbd, unsigned int key); 46 47 void usbhid_kbd_repeat_stop(usbhid_kbd_t *kbd, unsigned int key); 48 49 #endif /* USBHID_KBDREPEAT_H_ */ 50 53 #endif 51 54 /** 52 55 * @}
Note:
See TracChangeset
for help on using the changeset viewer.