Changeset 8e7c9fe in mainline for uspace/lib/drv/include/ddf


Ignore:
Timestamp:
2014-09-12T03:45:25Z (11 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)

Location:
uspace/lib/drv/include/ddf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ddf/driver.h

    r3eb0c85 r8e7c9fe  
    111111} driver_t;
    112112
    113 /** XXX Only to transition network drivers */
    114 #ifdef _DDF_DATA_IMPLANT
    115 extern void ddf_fun_data_implant(ddf_fun_t *, void *);
    116 #endif
    117 
    118113extern int ddf_driver_main(const driver_t *);
    119114
  • uspace/lib/drv/include/ddf/interrupt.h

    r3eb0c85 r8e7c9fe  
    4949 */
    5050
    51 typedef void interrupt_handler_t(ddf_dev_t *, ipc_callid_t, ipc_call_t *);
     51typedef void interrupt_handler_t(ipc_callid_t, ipc_call_t *, ddf_dev_t *);
    5252
    53 typedef struct interrupt_context {
    54         int id;
    55         ddf_dev_t *dev;
    56         int irq;
    57         interrupt_handler_t *handler;
    58         link_t link;
    59 } interrupt_context_t;
    60 
    61 typedef struct interrupt_context_list {
    62         int curr_id;
    63         list_t contexts;
    64         fibril_mutex_t mutex;
    65 } interrupt_context_list_t;
    66 
    67 extern void interrupt_init(void);
    6853extern int register_interrupt_handler(ddf_dev_t *, int, interrupt_handler_t *,
    6954    const irq_code_t *);
Note: See TracChangeset for help on using the changeset viewer.