Changeset 7ea7db31 in mainline
- Timestamp:
- 2011-01-09T21:20:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3c106e88
- Parents:
- 622dea8
- Location:
- uspace/srv
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.c
r622dea8 r7ea7db31 171 171 rc = devmap_device_register(name, &disk[i].devmap_handle); 172 172 if (rc != EOK) { 173 devmap_hangup_phone(DEVMAP_DRIVER);174 173 printf(NAME ": Unable to register device %s.\n", name); 175 174 return rc; -
uspace/srv/bd/file_bd/file_bd.c
r622dea8 r7ea7db31 120 120 rc = devmap_device_register(device_name, &devmap_handle); 121 121 if (rc != EOK) { 122 devmap_hangup_phone(DEVMAP_DRIVER);123 122 printf(NAME ": Unable to register device '%s'.\n", 124 123 device_name); -
uspace/srv/bd/gxe_bd/gxe_bd.c
r622dea8 r7ea7db31 145 145 rc = devmap_device_register(name, &devmap_handle[i]); 146 146 if (rc != EOK) { 147 devmap_hangup_phone(DEVMAP_DRIVER);148 147 printf(NAME ": Unable to register device %s.\n", name); 149 148 return rc; -
uspace/srv/bd/part/guid_part/guid_part.c
r622dea8 r7ea7db31 191 191 rc = devmap_device_register(name, &dev); 192 192 if (rc != EOK) { 193 devmap_hangup_phone(DEVMAP_DRIVER);194 193 printf(NAME ": Unable to register device %s.\n", name); 195 194 return rc; -
uspace/srv/bd/part/mbr_part/mbr_part.c
r622dea8 r7ea7db31 242 242 rc = devmap_device_register(name, &dev); 243 243 if (rc != EOK) { 244 devmap_hangup_phone(DEVMAP_DRIVER);245 244 printf(NAME ": Unable to register device %s.\n", name); 246 245 return rc; -
uspace/srv/bd/rd/rd.c
r622dea8 r7ea7db31 241 241 devmap_handle_t devmap_handle; 242 242 if (devmap_device_register("bd/initrd", &devmap_handle) != EOK) { 243 devmap_hangup_phone(DEVMAP_DRIVER);244 243 printf("%s: Unable to register device\n", NAME); 245 244 return false; -
uspace/srv/fs/devfs/devfs_ops.c
r622dea8 r7ea7db31 454 454 return false; 455 455 456 if (devmap_get_phone(DEVMAP_CLIENT, IPC_FLAG_BLOCKING) < 0)457 return false;458 459 456 return true; 460 457 } -
uspace/srv/hid/console/console.c
r622dea8 r7ea7db31 816 816 817 817 if (devmap_device_register(vc, &consoles[i].devmap_handle) != EOK) { 818 devmap_hangup_phone(DEVMAP_DRIVER);819 818 printf(NAME ": Unable to register device %s\n", vc); 820 819 return false; -
uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c
r622dea8 r7ea7db31 102 102 rc = devmap_device_register(NAMESPACE "/mouse", &ts->devmap_handle); 103 103 if (rc != EOK) { 104 devmap_hangup_phone(DEVMAP_DRIVER);105 104 printf(NAME ": Unable to register device %s.\n", 106 105 NAMESPACE "/mouse"); -
uspace/srv/hw/bus/cuda_adb/cuda_adb.c
r622dea8 r7ea7db31 162 162 rc = devmap_device_register("adb/kbd", &devmap_handle); 163 163 if (rc != EOK) { 164 devmap_hangup_phone(DEVMAP_DRIVER);165 164 printf(NAME ": Unable to register device %s.\n", "adb/kdb"); 166 165 return rc; … … 172 171 rc = devmap_device_register("adb/mouse", &devmap_handle); 173 172 if (rc != EOK) { 174 devmap_hangup_phone(DEVMAP_DRIVER);175 173 printf(NAME ": Unable to register device %s.\n", "adb/mouse"); 176 174 return rc; -
uspace/srv/hw/char/i8042/i8042.c
r622dea8 r7ea7db31 148 148 rc = devmap_device_register(name, &i8042_port[i].devmap_handle); 149 149 if (rc != EOK) { 150 devmap_hangup_phone(DEVMAP_DRIVER);151 150 printf(NAME ": Unable to register device %s.\n", name); 152 151 return rc; -
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r622dea8 r7ea7db31 95 95 rc = devmap_device_register(NAMESPACE "/" NAME, &uart->devmap_handle); 96 96 if (rc != EOK) { 97 devmap_hangup_phone(DEVMAP_DRIVER);98 97 printf(NAME ": Unable to register device %s.\n", 99 98 NAMESPACE "/" NAME);
Note:
See TracChangeset
for help on using the changeset viewer.