Changeset 5eb5dcf in mainline for uspace/srv/bd/gxe_bd/gxe_bd.c
- Timestamp:
- 2010-01-06T20:56:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fccc236
- Parents:
- 002252a (diff), eca2435 (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/gxe_bd/gxe_bd.c
r002252a r5eb5dcf 43 43 #include <async.h> 44 44 #include <as.h> 45 #include <fibril_sync .h>45 #include <fibril_synch.h> 46 46 #include <devmap.h> 47 47 #include <sys/types.h> … … 50 50 #include <task.h> 51 51 52 #define NAME "gxe_bd" 52 #define NAME "gxe_bd" 53 #define NAMESPACE "bd" 53 54 54 55 enum { … … 141 142 142 143 for (i = 0; i < MAX_DISKS; i++) { 143 snprintf(name, 16, " disk%d", i);144 snprintf(name, 16, "%s/disk%d", NAMESPACE, i); 144 145 rc = devmap_device_register(name, &dev_handle[i]); 145 146 if (rc != EOK) { 146 147 devmap_hangup_phone(DEVMAP_DRIVER); 147 printf(NAME ": Unable to register device %s.\n", 148 name); 148 printf(NAME ": Unable to register device %s.\n", name); 149 149 return rc; 150 150 }
Note:
See TracChangeset
for help on using the changeset viewer.