Changeset 8bb9540 in mainline for uspace/drv/char/ps2mouse


Ignore:
Timestamp:
2012-01-01T22:01:47Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ff1ee1
Parents:
1dea6d7
Message:

i8042, ps2mouse, xtkbd: Drop optical separators.

Requested on ML.

Location:
uspace/drv/char/ps2mouse
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/ps2mouse/main.c

    r1dea6d7 r8bb9540  
    4747
    4848static int mouse_add(ddf_dev_t *device);
    49 /*----------------------------------------------------------------------------*/
     49
    5050/** DDF driver ops. */
    5151static driver_ops_t mouse_driver_ops = {
    5252        .dev_add = mouse_add,
    5353};
    54 /*----------------------------------------------------------------------------*/
     54
    5555/** DDF driver structure. */
    5656static driver_t mouse_driver = {
     
    5858        .driver_ops = &mouse_driver_ops
    5959};
    60 /*----------------------------------------------------------------------------*/
     60
    6161/** Initialize global driver structures (NONE).
    6262 *
     
    7373        return ddf_driver_main(&mouse_driver);
    7474}
    75 /*----------------------------------------------------------------------------*/
     75
    7676/** Initialize a new ddf driver instance
    7777 *
  • uspace/drv/char/ps2mouse/ps2mouse.c

    r1dea6d7 r8bb9540  
    9494        } \
    9595} while (0)
    96 /*----------------------------------------------------------------------------*/
     96
    9797static int polling_ps2(void *);
    9898static int polling_intellimouse(void *);
    9999static int probe_intellimouse(async_sess_t *, bool);
    100100static void default_connection_handler(ddf_fun_t *, ipc_callid_t, ipc_call_t *);
    101 /*----------------------------------------------------------------------------*/
     101
    102102/** ps/2 mouse driver ops. */
    103103static ddf_dev_ops_t mouse_ops = {
    104104        .default_handler = default_connection_handler
    105105};
    106 /*----------------------------------------------------------------------------*/
     106
    107107/** Initialize mouse driver structure.
    108108 * @param kbd Mouse driver structure to initialize.
     
    187187        return EOK;
    188188}
    189 /*----------------------------------------------------------------------------*/
     189
    190190/** Get data and parse ps2 protocol packets.
    191191 * @param arg Pointer to ps2_mouse_t structure.
     
    242242        }
    243243}
    244 /*----------------------------------------------------------------------------*/
     244
    245245/** Get data and parse ps2 protocol with IntelliMouse extension packets.
    246246 * @param arg Pointer to ps2_mouse_t structure.
     
    316316        }
    317317}
    318 /*----------------------------------------------------------------------------*/
     318
    319319/** Send magic sequence to initialize IntelliMouse extensions.
    320320 * @param session IPC session to the parent device.
     
    348348        return EOK;
    349349}
    350 /*----------------------------------------------------------------------------*/
     350
    351351/** Default handler for IPC methods not handled by DDF.
    352352 *
Note: See TracChangeset for help on using the changeset viewer.