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


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/main.c

    r9ff60d1 r336f03b  
    4848static int get_my_registers(const ddf_dev_t *dev,
    4949    uintptr_t *io_reg_address, size_t *io_reg_size, int *kbd, int *mouse);
    50 
    5150static int i8042_dev_add(ddf_dev_t *device);
    52 
     51/*----------------------------------------------------------------------------*/
     52/** DDF driver operations. */
    5353static driver_ops_t i8042_driver_ops = {
    5454        .dev_add = i8042_dev_add,
    5555};
    56 
     56/*----------------------------------------------------------------------------*/
     57/** DDF driver. */
    5758static driver_t i8042_driver = {
    5859        .name = NAME,
    5960        .driver_ops = &i8042_driver_ops
    6061};
    61 
     62/*----------------------------------------------------------------------------*/
    6263/** Initialize global driver structures (NONE).
    6364 *
     
    7172{
    7273        printf(NAME ": HelenOS ps/2 driver.\n");
    73         ddf_log_init(NAME, LVL_DEBUG2);
     74        ddf_log_init(NAME, LVL_NOTE);
    7475        return ddf_driver_main(&i8042_driver);
    7576}
    76 
     77/*----------------------------------------------------------------------------*/
    7778/** Initialize a new ddf driver instance of i8042 driver
    7879 *
     
    120121 * @param[out] io_reg_address Base address of the memory range.
    121122 * @param[out] io_reg_size Size of the memory range.
     123 * @param[out] kbd_irq Primary port IRQ.
     124 * @param[out] mouse_irq Auxiliary port IRQ.
    122125 * @return Error code.
    123126 */
Note: See TracChangeset for help on using the changeset viewer.