Changeset b0f00a9 in mainline for uspace/lib/c/include/ipc/dev_iface.h


Ignore:
Timestamp:
2011-11-06T22:21:05Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
898e847
Parents:
2bdf8313 (diff), 7b5f4c9 (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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/dev_iface.h

    r2bdf8313 rb0f00a9  
    3636typedef enum {
    3737        HW_RES_DEV_IFACE = 0,
     38        /** Character device interface */
    3839        CHAR_DEV_IFACE,
     40       
     41        /** Network interface controller interface */
     42        NIC_DEV_IFACE,
     43       
     44        /** Interface provided by any PCI device. */
     45        PCI_DEV_IFACE,
     46
     47        /** Interface provided by any USB device. */
     48        USB_DEV_IFACE,
     49        /** Interface provided by USB host controller. */
     50        USBHC_DEV_IFACE,
     51        /** Interface provided by USB HID devices. */
     52        USBHID_DEV_IFACE,
     53
    3954        DEV_IFACE_MAX
    4055} dev_inferface_idx_t;
     
    4863        DEV_IFACE_ID(DEV_FIRST_CUSTOM_METHOD_IDX)
    4964
     65/*
     66 * The first argument is actually method (as the "real" method is used
     67 * for indexing into interfaces.
     68 */
     69
     70#define DEV_IPC_GET_ARG1(call) IPC_GET_ARG2((call))
     71#define DEV_IPC_GET_ARG2(call) IPC_GET_ARG3((call))
     72#define DEV_IPC_GET_ARG3(call) IPC_GET_ARG4((call))
     73#define DEV_IPC_GET_ARG4(call) IPC_GET_ARG5((call))
     74
    5075
    5176#endif
Note: See TracChangeset for help on using the changeset viewer.