Changes in uspace/srv/hw/irc/obio/obio.c [79ae36dd:57d129e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/obio/obio.c
r79ae36dd r57d129e 44 44 #include <ipc/services.h> 45 45 #include <ipc/irc.h> 46 #include < ns.h>46 #include <ipc/ns.h> 47 47 #include <sysinfo.h> 48 48 #include <as.h> … … 118 118 119 119 if (sysinfo_get_value("obio.base.physical", &paddr) != EOK) { 120 printf( "%s: No OBIO registers found\n", NAME);120 printf(NAME ": no OBIO registers found\n"); 121 121 return false; 122 122 } … … 130 130 131 131 if (retval < 0) { 132 printf( "%s: Error mapping OBIO registers\n", NAME);132 printf(NAME ": Error mapping OBIO registers\n"); 133 133 return false; 134 134 } 135 135 136 printf( "%s: OBIO registers with base at %p\n", NAME, base_phys);136 printf(NAME ": OBIO registers with base at %p\n", base_phys); 137 137 138 138 async_set_client_connection(obio_connection); … … 144 144 int main(int argc, char **argv) 145 145 { 146 printf( "%s: HelenOS OBIO driver\n", NAME);146 printf(NAME ": HelenOS OBIO driver\n"); 147 147 148 148 if (!obio_init()) 149 149 return -1; 150 150 151 printf("%s: Accepting connections\n", NAME); 152 task_retval(0); 151 printf(NAME ": Accepting connections\n"); 153 152 async_manager(); 154 153 155 154 /* Never reached */ 156 155 return 0; … … 159 158 /** 160 159 * @} 161 */ 160 */
Note:
See TracChangeset
for help on using the changeset viewer.