Changeset 336f03b in mainline for uspace/drv/char/i8042/i8042.h


Ignore:
Timestamp:
2011-12-27T10:53:46Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a84ddf0
Parents:
9ff60d1
Message:

Doxygen. Fix checking incorrect flag in port write functions.

Decrease debug level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/i8042/i8042.h

    r9ff60d1 r336f03b  
    5353} __attribute__ ((packed)) i8042_regs_t;
    5454
    55 typedef struct i8042 i8042_t;
    56 
    57 struct i8042 {
    58         i8042_regs_t *regs;
    59         ddf_fun_t *kbd_fun;
    60         ddf_fun_t *mouse_fun;
    61         buffer_t aux_buffer;
    62         buffer_t kbd_buffer;
    63         uint8_t aux_data[BUFFER_SIZE];
    64         uint8_t kbd_data[BUFFER_SIZE];
    65         fibril_mutex_t write_guard;
    66 };
     55/** i8042 driver structure. */
     56typedef struct i8042 {
     57        i8042_regs_t *regs;    /**< I/O registers. */
     58        ddf_fun_t *kbd_fun;    /**< Pirmary port device function. */
     59        ddf_fun_t *mouse_fun;  /**< Auxiliary port device function. */
     60        buffer_t kbd_buffer;   /**< Primary port buffer. */
     61        buffer_t aux_buffer;   /**< Aux. port buffer. */
     62        uint8_t aux_data[BUFFER_SIZE];  /**< Primary port buffer space. */
     63        uint8_t kbd_data[BUFFER_SIZE];  /**< Aux. port buffer space. */
     64        fibril_mutex_t write_guard;     /**< Prevents simultanous port writes.*/
     65} i8042_t;
    6766
    6867int i8042_init(i8042_t *, void *, size_t, int, int, ddf_dev_t *);
Note: See TracChangeset for help on using the changeset viewer.