Changeset 66babbd in mainline for uspace/srv/drivers/root/root.c
- Timestamp:
- 2010-03-25T09:55:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a087f2e
- Parents:
- d347b53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/drivers/root/root.c
rd347b53 r66babbd 55 55 static bool root_init(); 56 56 57 /** The root device driver's standard operations. 58 */ 57 59 static driver_ops_t root_ops = { 58 60 .add_device = &root_add_device 59 61 }; 60 62 63 /** The root device driver structure. 64 */ 61 65 static driver_t root_driver = { 62 66 .name = NAME, … … 64 68 }; 65 69 70 /** Create the device which represents the root of HW device tree. 71 * @param parent parent of the newly created device. 72 */ 66 73 static bool add_platform_child(device_t *parent) { 67 74 printf(NAME ": adding new child for platform device.\n"); … … 107 114 } 108 115 116 /** Get the root device. 117 * @param dev the device which is root of the whole device tree (both of HW and pseudo devices). 118 */ 109 119 static bool root_add_device(device_t *dev) 110 120 {
Note:
See TracChangeset
for help on using the changeset viewer.