Rev 4346 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4346 | Rev 4347 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | uint8_t pad[3]; |
45 | uint8_t pad[3]; |
46 | ioport8_t status; |
46 | ioport8_t status; |
47 | } __attribute__ ((packed)) i8042_t; |
47 | } __attribute__ ((packed)) i8042_t; |
48 | 48 | ||
49 | typedef struct { |
49 | typedef struct { |
50 | devno_t devno; |
- | |
51 | irq_t irq; |
50 | irq_t irq; |
52 | i8042_t *i8042; |
51 | i8042_t *i8042; |
53 | indev_t kbrdin; |
52 | indev_t kbrdin; |
54 | } i8042_instance_t; |
53 | } i8042_instance_t; |
55 | 54 | ||
56 | extern indev_t *i8042_init(i8042_t *, devno_t, inr_t); |
55 | extern indev_t *i8042_init(i8042_t *, inr_t); |
57 | 56 | ||
58 | #endif |
57 | #endif |
59 | 58 | ||
60 | /** @} |
59 | /** @} |
61 | */ |
60 | */ |