Changes in uspace/srv/hw/irc/fhc/fhc.c [57d129e:79ae36dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/fhc/fhc.c
r57d129e r79ae36dd 38 38 #include <ipc/services.h> 39 39 #include <ipc/irc.h> 40 #include < ipc/ns.h>40 #include <ns.h> 41 41 #include <sysinfo.h> 42 42 #include <as.h> … … 53 53 #define NAME "fhc" 54 54 55 #define FHC_UART_INR 0x39 55 #define FHC_UART_INR 0x39 56 56 57 57 #define FHC_UART_IMAP 0x0 … … 128 128 129 129 if (retval < 0) { 130 printf( NAME ": Error mapping FHC UART registers\n");130 printf("%s: Error mapping FHC UART registers\n", NAME); 131 131 return false; 132 132 } 133 133 134 printf( NAME ": FHC UART registers at %p, %zu bytes\n", fhc_uart_phys,135 fhc_uart_ size);134 printf("%s: FHC UART registers at %p, %zu bytes\n", NAME, 135 fhc_uart_phys, fhc_uart_size); 136 136 137 137 async_set_client_connection(fhc_connection); … … 143 143 int main(int argc, char **argv) 144 144 { 145 printf( NAME ": HelenOS FHC bus controller driver\n");145 printf("%s: HelenOS FHC bus controller driver\n", NAME); 146 146 147 147 if (!fhc_init()) 148 148 return -1; 149 149 150 printf(NAME ": Accepting connections\n"); 150 printf("%s: Accepting connections\n", NAME); 151 task_retval(0); 151 152 async_manager(); 152 153 153 154 /* Never reached */ 154 155 return 0; … … 157 158 /** 158 159 * @} 159 */ 160 */
Note:
See TracChangeset
for help on using the changeset viewer.