Changes in uspace/srv/hw/irc/fhc/fhc.c [79ae36dd:57d129e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/fhc/fhc.c
r79ae36dd r57d129e 38 38 #include <ipc/services.h> 39 39 #include <ipc/irc.h> 40 #include < ns.h>40 #include <ipc/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( "%s: Error mapping FHC UART registers\n", NAME);130 printf(NAME ": Error mapping FHC UART registers\n"); 131 131 return false; 132 132 } 133 133 134 printf( "%s: FHC UART registers at %p, %zu bytes\n", NAME,135 fhc_uart_ phys, fhc_uart_size);134 printf(NAME ": FHC UART registers at %p, %zu bytes\n", fhc_uart_phys, 135 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( "%s: HelenOS FHC bus controller driver\n", NAME);145 printf(NAME ": HelenOS FHC bus controller driver\n"); 146 146 147 147 if (!fhc_init()) 148 148 return -1; 149 149 150 printf("%s: Accepting connections\n", NAME); 151 task_retval(0); 150 printf(NAME ": Accepting connections\n"); 152 151 async_manager(); 153 152 154 153 /* Never reached */ 155 154 return 0; … … 158 157 /** 159 158 * @} 160 */ 159 */
Note:
See TracChangeset
for help on using the changeset viewer.