Changeset 925a21e in mainline for uspace/srv/bd/rd/rd.c
- Timestamp:
- 2011-09-24T14:20:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bf76c1
- Parents:
- 867e2555 (diff), 1ab4aca (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/bd/rd/rd.c
r867e2555 r925a21e 52 52 #include <fibril_synch.h> 53 53 #include <stdio.h> 54 #include < devmap.h>54 #include <loc.h> 55 55 #include <ipc/bd.h> 56 56 #include <macros.h> … … 235 235 (void *) rd_ph_addr, rd_size); 236 236 237 int rc = devmap_driver_register(NAME, rd_connection);237 int rc = loc_server_register(NAME, rd_connection); 238 238 if (rc < 0) { 239 239 printf("%s: Unable to register driver (%d)\n", NAME, rc); … … 241 241 } 242 242 243 devmap_handle_t devmap_handle;244 if ( devmap_device_register("bd/initrd", &devmap_handle) != EOK) {245 printf("%s: Unable to register device \n", NAME);243 service_id_t service_id; 244 if (loc_service_register("bd/initrd", &service_id) != EOK) { 245 printf("%s: Unable to register device service\n", NAME); 246 246 return false; 247 247 }
Note:
See TracChangeset
for help on using the changeset viewer.