Changeset bd5f3b7 in mainline for uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
- Timestamp:
- 2011-08-21T13:07:35Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 00aece0, f1a9e87
- Parents:
- 86a34d3e (diff), a6480d5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r86a34d3e rbd5f3b7 39 39 #include <ddi.h> 40 40 #include <libarch/ddi.h> 41 #include < devmap.h>41 #include <loc.h> 42 42 #include <ipc/char.h> 43 43 #include <async.h> … … 52 52 53 53 // FIXME: remove this header 54 #include < kernel/ipc/ipc_methods.h>54 #include <abi/ipc/methods.h> 55 55 56 56 #define NAME "s3c24ser" … … 83 83 printf(NAME ": S3C24xx on-chip UART driver\n"); 84 84 85 rc = devmap_driver_register(NAME, s3c24xx_uart_connection);85 rc = loc_server_register(NAME, s3c24xx_uart_connection); 86 86 if (rc < 0) { 87 printf(NAME ": Unable to register driver.\n");87 printf(NAME ": Unable to register server.\n"); 88 88 return -1; 89 89 } … … 96 96 return -1; 97 97 98 rc = devmap_device_register(NAMESPACE "/" NAME, &uart->devmap_handle);98 rc = loc_service_register(NAMESPACE "/" NAME, &uart->service_id); 99 99 if (rc != EOK) { 100 100 printf(NAME ": Unable to register device %s.\n",
Note:
See TracChangeset
for help on using the changeset viewer.