Changeset 291b8bc in mainline for uspace/drv/ohci/ohci.h


Ignore:
Timestamp:
2011-03-26T13:28:43Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
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.
Message:

Merge development/ changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/ohci.h

    r889e8e3 r291b8bc  
    11/*
    2  * Copyright (c) 2011 Lubos Slovak
     2 * Copyright (c) 2011 Jan Vesely
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup drvusbhid
     29/** @addtogroup drvusbohci
    3030 * @{
    3131 */
    3232/** @file
    33  * USB HID keyboard autorepeat facilities
     33 * @brief OHCI driver main structure for both host controller and root-hub.
    3434 */
     35#ifndef DRV_OHCI_OHCI_H
     36#define DRV_OHCI_OHCI_H
     37#include <ddi.h>
     38#include <ddf/driver.h>
    3539
    36 #ifndef USBHID_KBDREPEAT_H_
    37 #define USBHID_KBDREPEAT_H_
     40#include "hc.h"
     41#include "root_hub.h"
    3842
    39 #include "kbddev.h"
     43typedef struct ohci {
     44        ddf_fun_t *hc_fun;
     45        ddf_fun_t *rh_fun;
    4046
    41 /*----------------------------------------------------------------------------*/
     47        hc_t hc;
     48        rh_t rh;
     49} ohci_t;
    4250
    43 int usbhid_kbd_repeat_fibril(void *arg);
     51int ohci_init(ohci_t *instance, ddf_dev_t *device);
    4452
    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
    5154/**
    5255 * @}
Note: See TracChangeset for help on using the changeset viewer.