Changeset 66babbd in mainline for uspace/srv/drivers/root/root.c


Ignore:
Timestamp:
2010-03-25T09:55:09Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a087f2e
Parents:
d347b53
Message:

child device registration - match ids

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/drivers/root/root.c

    rd347b53 r66babbd  
    5555static bool root_init();
    5656
     57/** The root device driver's standard operations.
     58 */
    5759static driver_ops_t root_ops = {
    5860        .add_device = &root_add_device
    5961};
    6062
     63/** The root device driver structure.
     64 */
    6165static driver_t root_driver = {
    6266        .name = NAME,
     
    6468};
    6569
     70/** Create the device which represents the root of HW device tree.
     71 * @param parent parent of the newly created device.
     72 */
    6673static bool add_platform_child(device_t *parent) {
    6774        printf(NAME ": adding new child for platform device.\n");
     
    107114}
    108115
     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 */
    109119static bool root_add_device(device_t *dev)
    110120{
Note: See TracChangeset for help on using the changeset viewer.