Changeset 786bd56 in mainline for uspace/drv/char/i8042/i8042.h
- Timestamp:
- 2012-01-24T09:26:36Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd1cc4e6
- Parents:
- 304faab (diff), 2df6f6fe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/i8042/i8042.h
r304faab r786bd56 27 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 28 */ 29 29 30 /** @addtogroup kbd_port 30 31 * @ingroup kbd 31 32 * @{ 32 33 */ 34 33 35 /** @file 34 36 * @brief i8042 port driver. … … 41 43 #include <fibril_synch.h> 42 44 #include <ddf/driver.h> 43 44 45 #include "buffer.h" 45 46 46 #define BUFFER_SIZE 12 47 #define NAME "i8042" 48 49 #define BUFFER_SIZE 12 47 50 48 51 /** i8042 HW I/O interface */ … … 55 58 /** i8042 driver structure. */ 56 59 typedef struct i8042 { 57 i8042_regs_t *regs; /**< I/O registers. */58 ddf_fun_t *kbd_fun; /**< Pirmary port device function. */59 ddf_fun_t *aux_fun; /**< Auxiliary port device function. */60 buffer_t kbd_buffer; /**< Primary port buffer. */61 buffer_t aux_buffer; /**< Aux. port buffer. */60 i8042_regs_t *regs; /**< I/O registers. */ 61 ddf_fun_t *kbd_fun; /**< Pirmary port device function. */ 62 ddf_fun_t *aux_fun; /**< Auxiliary port device function. */ 63 buffer_t kbd_buffer; /**< Primary port buffer. */ 64 buffer_t aux_buffer; /**< Aux. port buffer. */ 62 65 uint8_t aux_data[BUFFER_SIZE]; /**< Primary port buffer space. */ 63 66 uint8_t kbd_data[BUFFER_SIZE]; /**< Aux. port buffer space. */ … … 66 69 67 70 int i8042_init(i8042_t *, void *, size_t, int, int, ddf_dev_t *); 71 68 72 #endif 73 69 74 /** 70 75 * @}
Note:
See TracChangeset
for help on using the changeset viewer.