Changeset 83a2f43 in mainline for uspace/drv/root/root.c
- Timestamp:
- 2011-02-15T19:43:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af6b5157
- Parents:
- 34588a80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/root/root.c
r34588a80 r83a2f43 65 65 #define VIRTUAL_FUN_MATCH_SCORE 100 66 66 67 static int root_add_device(d evice_t *dev);67 static int root_add_device(ddf_dev_t *dev); 68 68 69 69 /** The root device driver's standard operations. */ … … 83 83 * @return EOK on success or negative error code 84 84 */ 85 static int add_virtual_root_fun(d evice_t *dev)85 static int add_virtual_root_fun(ddf_dev_t *dev) 86 86 { 87 87 const char *name = VIRTUAL_FUN_NAME; 88 function_t *fun;88 ddf_fun_t *fun; 89 89 int rc; 90 90 … … 123 123 * @return EOK on success or negative error code 124 124 */ 125 static int add_platform_fun(d evice_t *dev)125 static int add_platform_fun(ddf_dev_t *dev) 126 126 { 127 127 char *match_id; … … 130 130 131 131 const char *name = PLATFORM_FUN_NAME; 132 function_t *fun;132 ddf_fun_t *fun; 133 133 int rc; 134 134 … … 189 189 * of HW and pseudo devices). 190 190 */ 191 static int root_add_device(d evice_t *dev)191 static int root_add_device(ddf_dev_t *dev) 192 192 { 193 193 printf(NAME ": root_add_device, device handle=%" PRIun "\n", … … 212 212 { 213 213 printf(NAME ": HelenOS root device driver\n"); 214 return d river_main(&root_driver);214 return ddf_driver_main(&root_driver); 215 215 } 216 216
Note:
See TracChangeset
for help on using the changeset viewer.