Changeset 41ebc36 in mainline for uspace/lib/drv/generic/dev_iface.c


Ignore:
Timestamp:
2017-12-18T12:32:07Z (6 years ago)
Author:
Petr Mánek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7faf0f0
Parents:
fc338e0
Message:

usbdiag: move contents of libusbdiag to libdrv, registered usbdiag interface into the master routing table, repaired broken references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/dev_iface.c

    rfc338e0 r41ebc36  
    4949#include "remote_ieee80211.h"
    5050#include "remote_usb.h"
     51#include "remote_usbdiag.h"
    5152#include "remote_usbhc.h"
    5253#include "remote_usbhid.h"
     
    6768                [PCI_DEV_IFACE] = &remote_pci_iface,
    6869                [USB_DEV_IFACE] = &remote_usb_iface,
     70                [USBDIAG_DEV_IFACE] = &remote_usbdiag_iface,
    6971                [USBHC_DEV_IFACE] = &remote_usbhc_iface,
    7072                [USBHID_DEV_IFACE] = &remote_usbhid_iface,
     
    8789        if (iface_method_idx >= rem_iface->method_count)
    8890                return NULL;
    89        
     91
    9092        return rem_iface->methods[iface_method_idx];
    9193}
Note: See TracChangeset for help on using the changeset viewer.