Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/port/sun.c
- Timestamp:
- 2011-06-11T19:48:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56ad818
- Parents:
- 774fc85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/sun.c
r774fc85 rb1bdc7a4 42 42 #include <bool.h> 43 43 44 static int sun_port_init(void); 45 static void sun_port_yield(void); 46 static void sun_port_reclaim(void); 47 static void sun_port_write(uint8_t data); 48 49 kbd_port_ops_t sun_port = { 50 .init = sun_port_init, 51 .yield = sun_port_yield, 52 .reclaim = sun_port_reclaim, 53 .write = sun_port_write 54 }; 55 56 44 57 /** Sun keyboard virtual port driver. 45 58 * … … 50 63 * 51 64 */ 52 int kbd_port_init(void)65 static int sun_port_init(void) 53 66 { 54 67 sysarg_t z8530; … … 73 86 } 74 87 75 void kbd_port_yield(void)88 static void sun_port_yield(void) 76 89 { 77 90 } 78 91 79 void kbd_port_reclaim(void)92 static void sun_port_reclaim(void) 80 93 { 81 94 } 82 95 83 void kbd_port_write(uint8_t data)96 static void sun_port_write(uint8_t data) 84 97 { 85 98 (void) data;
Note:
See TracChangeset
for help on using the changeset viewer.