Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/atkbd/atkbd.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 AT_KBD_H_
    38 #define AT_KBD_H_
     36#ifndef _AT_KBD_H_
     37#define _AT_KBD_H_
    3938
    4039#include <ddf/driver.h>
    4140#include <fibril.h>
    42 #include <io/chardev.h>
    4341
    4442/** PC/AT keyboard driver structure. */
    4543typedef struct {
    46         /** Keyboard function */
    47         ddf_fun_t *kbd_fun;
    48         /** Device providing keyboard connection */
    49         chardev_t *chardev;
    50         /** Callback connection to client */
    51         async_sess_t *client_sess;
    52         /** Fibril retrieving and parsing data */
    53         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. */
    5448} at_kbd_t;
    5549
Note: See TracChangeset for help on using the changeset viewer.