Changeset 0c968a17 in mainline for uspace/srv/devman/match.c


Ignore:
Timestamp:
2011-02-15T22:58:28Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8b1ea2d4
Parents:
6a343bdf (diff), aa7dc64 (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.
Message:

Merge DDF and drivers refactoring work. Major points:

  • Split driver.h into ddf/driver.h and ddf/interrupt.h
  • Rename entities in ddf/driver.h (now they start with 'ddf_')
  • Refactor driver.h API (ddf_fun_create/destroy/bind, for example)
  • Refactor drivers to use soft-state structures for context
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/match.c

    r6a343bdf r0c968a17  
    5757}
    5858
    59 int get_match_score(driver_t *drv, node_t *dev)
     59int get_match_score(driver_t *drv, dev_node_t *dev)
    6060{
    6161        link_t *drv_head = &drv->match_ids.ids;
    62         link_t *dev_head = &dev->match_ids.ids;
     62        link_t *dev_head = &dev->pfun->match_ids.ids;
    6363       
    6464        if (list_empty(drv_head) || list_empty(dev_head))
Note: See TracChangeset for help on using the changeset viewer.