Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/i8042/i8042.h

    r75751db6 r8820544  
    4040#define i8042_H_
    4141
    42 #include <io/chardev_srv.h>
    4342#include <sys/types.h>
    4443#include <fibril_synch.h>
     
    5756} __attribute__ ((packed)) i8042_regs_t;
    5857
    59 /** i8042 Port. */
    60 typedef struct {
    61         struct i8042 *ctl;              /**< Controller */
    62         chardev_srvs_t cds;             /**< Character device server data */
    63 } i8042_port_t;
    64 
    65 /** i8042 Controller. */
     58/** i8042 driver structure. */
    6659typedef struct i8042 {
    6760        i8042_regs_t *regs;             /**< I/O registers. */
     
    7265        uint8_t aux_data[BUFFER_SIZE];  /**< Primary port buffer space. */
    7366        uint8_t kbd_data[BUFFER_SIZE];  /**< Aux. port buffer space. */
    74         i8042_port_t *kbd;
    75         i8042_port_t *aux;
    7667        fibril_mutex_t write_guard;     /**< Prevents simultanous port writes.*/
    7768} i8042_t;
    78 
    7969
    8070extern int i8042_init(i8042_t *, addr_range_t *, int, int, ddf_dev_t *);
Note: See TracChangeset for help on using the changeset viewer.