Changeset 9be360ee in mainline for uspace/srv/hid/kbd/port/sun.c
- Timestamp:
- 2011-06-11T22:06:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f3f9659
- Parents:
- 56ad818
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/sun.c
r56ad818 r9be360ee 1 1 /* 2 2 * Copyright (c) 2009 Martin Decky 3 * Copyright (c) 2011 Jiri Svoboda 3 4 * All rights reserved. 4 5 * … … 42 43 #include <bool.h> 43 44 44 static int sun_port_init( void);45 static int sun_port_init(kbd_dev_t *); 45 46 static void sun_port_yield(void); 46 47 static void sun_port_reclaim(void); … … 63 64 * 64 65 */ 65 static int sun_port_init( void)66 static int sun_port_init(kbd_dev_t *kdev) 66 67 { 67 68 sysarg_t z8530; … … 74 75 75 76 if (z8530) { 76 if (z8530_port_init( ) == 0)77 if (z8530_port_init(kdev) == 0) 77 78 return 0; 78 79 } 79 80 80 81 if (ns16550) { 81 if (ns16550_port_init( ) == 0)82 if (ns16550_port_init(kdev) == 0) 82 83 return 0; 83 84 }
Note:
See TracChangeset
for help on using the changeset viewer.