Ignore:
Timestamp:
2009-03-12T17:54:24Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3a1c048
Parents:
a0e1b48
Message:

update for the new scheme of wiring device drivers to keyboard/serial modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/i8042/i8042.h

    ra0e1b48 r3c79afe  
    2727 */
    2828
    29 /** @addtogroup genarch 
     29/** @addtogroup genarch
    3030 * @{
    3131 */
     
    4141#include <typedefs.h>
    4242
    43 struct i8042 {
     43typedef struct {
    4444        ioport8_t data;
    4545        uint8_t pad[3];
    4646        ioport8_t status;
    47 } __attribute__ ((packed));
    48 typedef struct i8042 i8042_t;
     47} __attribute__ ((packed)) i8042_t;
    4948
    50 typedef struct i8042_instance {
     49typedef struct {
    5150        devno_t devno;
    5251        irq_t irq;
    5352        i8042_t *i8042;
    54         chardev_t *devout;
     53        indev_t kbrdin;
    5554} i8042_instance_t;
    5655
    57 extern bool i8042_init(i8042_t *, devno_t, inr_t, chardev_t *);
     56extern indev_t *i8042_init(i8042_t *, devno_t, inr_t);
    5857
    5958#endif
Note: See TracChangeset for help on using the changeset viewer.