Changeset 8e7c9fe in mainline for uspace/drv/fb/amdm37x_dispc/main.c


Ignore:
Timestamp:
2014-09-12T03:45:25Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c53b58e
Parents:
3eb0c85 (diff), 105d8d6 (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 mainline changes

most usb changes were reverted. blink and usbmass were fixed
known problems:
ehci won't initialize
usbmast asserts on unmount (happens on mainline too)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/amdm37x_dispc/main.c

    r3eb0c85 r8e7c9fe  
    3535 */
    3636
     37#include <ddf/driver.h>
    3738#include <ddf/log.h>
    3839#include <errno.h>
    3940#include <str_error.h>
    4041#include <stdio.h>
    41 #include <ops/graph_dev.h>
    4242#include <graph.h>
    4343
     
    4646#define NAME  "amdm37x_dispc"
    4747
    48 static graph_dev_ops_t graph_vsl_dev_ops = {
    49         .connect = (connect_func) &graph_visualizer_connection
    50 };
     48static void graph_vsl_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg)
     49{
     50        visualizer_t *vsl;
    5151
    52 static ddf_dev_ops_t graph_fun_ops = {
    53         .interfaces[GRAPH_DEV_IFACE] = &graph_vsl_dev_ops
    54 };
     52        vsl = (visualizer_t *) ddf_fun_data_get((ddf_fun_t *)arg);
     53        graph_visualizer_connection(vsl, iid, icall, NULL);
     54}
    5555
    5656static int amdm37x_dispc_dev_add(ddf_dev_t *dev)
     
    7474        vis->reg_svc_handle = ddf_fun_get_handle(fun);
    7575
    76         ddf_fun_set_ops(fun, &graph_fun_ops);
     76        ddf_fun_set_conn_handler(fun, graph_vsl_connection);
    7777        /* Hw part */
    7878        amdm37x_dispc_t *dispc =
Note: See TracChangeset for help on using the changeset viewer.