Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/xtkbd/xtkbd.h

    r15c5418 rd420b22  
    11/*
    22 * Copyright (c) 2011 Jan Vesely
    3  * Copyright (c) 2017 Jiri Svoboda
    43 * All rights reserved.
    54 *
     
    3534 */
    3635
    37 #ifndef XT_KBD_H_
    38 #define XT_KBD_H_
     36#ifndef _XT_KBD_H_
     37#define _XT_KBD_H_
    3938
    40 #include <async.h>
    4139#include <ddf/driver.h>
    4240#include <fibril.h>
    43 #include <io/chardev.h>
    4441
    45 /** PC/XT keyboard driver structure */
     42/** PC/XT keyboard driver structure. */
    4643typedef struct {
    47         /** Keyboard function */
    48         ddf_fun_t *kbd_fun;
    49         /** Device providing keyboard connection */
    50         chardev_t *chardev;
    51         /** Callback connection to client */
    52         async_sess_t *client_sess;
    53         /** Fibril retrieving an parsing data */
    54         fid_t polling_fibril;
     44        ddf_fun_t *kbd_fun;        /**< Keyboard function. */
     45        async_sess_t *parent_sess; /**< Connection to device providing data. */
     46        async_sess_t *client_sess; /**< Callback connection to client. */
     47        fid_t polling_fibril;      /**< Fibril retrieving an parsing data. */
    5548} xt_kbd_t;
    5649
Note: See TracChangeset for help on using the changeset viewer.