Ignore:
File:
1 edited

Legend:

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

    r22027b6e r609243f4  
    4141#include "remote_hw_res.h"
    4242#include "remote_char_dev.h"
     43#include "remote_nic.h"
     44#include "remote_usb.h"
     45#include "remote_usbhc.h"
     46#include "remote_usbhid.h"
     47#include "remote_pci.h"
    4348
    4449static iface_dipatch_table_t remote_ifaces = {
    4550        .ifaces = {
    4651                &remote_hw_res_iface,
    47                 &remote_char_dev_iface
     52                &remote_char_dev_iface,
     53                &remote_nic_iface,
     54                &remote_pci_iface,
     55                &remote_usb_iface,
     56                &remote_usbhc_iface,
     57                &remote_usbhid_iface
    4858        }
    4959};
     
    5868get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx)
    5969{
    60         if (iface_method_idx >= rem_iface->method_count) {
     70        if (iface_method_idx >= rem_iface->method_count)
    6171                return NULL;
    62         }
    63 
     72       
    6473        return rem_iface->methods[iface_method_idx];
    6574}
Note: See TracChangeset for help on using the changeset viewer.