Changeset acac2ef in mainline for uspace/drv/char/ps2mouse/main.c
- Timestamp:
- 2011-12-27T11:53:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- edb3cf2
- Parents:
- da2d75b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ps2mouse/main.c
rda2d75b racac2ef 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup drv kbd28 /** @addtogroup drvmouse 29 29 * @{ 30 30 */ 31 31 /** @file 32 * @brief XT keyboarddriver32 * @brief ps/2 mouse driver 33 33 */ 34 34 … … 47 47 48 48 static int mouse_add(ddf_dev_t *device); 49 49 /*----------------------------------------------------------------------------*/ 50 /** DDF driver ops. */ 50 51 static driver_ops_t mouse_driver_ops = { 51 52 .dev_add = mouse_add, 52 53 }; 53 54 /*----------------------------------------------------------------------------*/ 55 /** DDF driver structure. */ 54 56 static driver_t mouse_driver = { 55 57 .name = NAME, 56 58 .driver_ops = &mouse_driver_ops 57 59 }; 58 60 /*----------------------------------------------------------------------------*/ 59 61 /** Initialize global driver structures (NONE). 60 62 * … … 71 73 return ddf_driver_main(&mouse_driver); 72 74 } 73 74 /** Initialize a new ddf driver instance of the driver75 /*----------------------------------------------------------------------------*/ 76 /** Initialize a new ddf driver instance 75 77 * 76 78 * @param[in] device DDF instance of the device to initialize.
Note:
See TracChangeset
for help on using the changeset viewer.