Changeset 336f03b in mainline for uspace/drv/char/i8042/main.c
- Timestamp:
- 2011-12-27T10:53:46Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a84ddf0
- Parents:
- 9ff60d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/main.c
r9ff60d1 r336f03b 48 48 static int get_my_registers(const ddf_dev_t *dev, 49 49 uintptr_t *io_reg_address, size_t *io_reg_size, int *kbd, int *mouse); 50 51 50 static int i8042_dev_add(ddf_dev_t *device); 52 51 /*----------------------------------------------------------------------------*/ 52 /** DDF driver operations. */ 53 53 static driver_ops_t i8042_driver_ops = { 54 54 .dev_add = i8042_dev_add, 55 55 }; 56 56 /*----------------------------------------------------------------------------*/ 57 /** DDF driver. */ 57 58 static driver_t i8042_driver = { 58 59 .name = NAME, 59 60 .driver_ops = &i8042_driver_ops 60 61 }; 61 62 /*----------------------------------------------------------------------------*/ 62 63 /** Initialize global driver structures (NONE). 63 64 * … … 71 72 { 72 73 printf(NAME ": HelenOS ps/2 driver.\n"); 73 ddf_log_init(NAME, LVL_ DEBUG2);74 ddf_log_init(NAME, LVL_NOTE); 74 75 return ddf_driver_main(&i8042_driver); 75 76 } 76 77 /*----------------------------------------------------------------------------*/ 77 78 /** Initialize a new ddf driver instance of i8042 driver 78 79 * … … 120 121 * @param[out] io_reg_address Base address of the memory range. 121 122 * @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. 122 125 * @return Error code. 123 126 */
Note:
See TracChangeset
for help on using the changeset viewer.