Changeset 00aece0 in mainline for uspace/lib/drv/generic/dev_iface.c


Ignore:
Timestamp:
2012-02-18T16:47:38Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4449c6c
Parents:
bd5f3b7 (diff), f943dd3 (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/drv/generic/dev_iface.c

    rbd5f3b7 r00aece0  
    4141#include "remote_hw_res.h"
    4242#include "remote_char_dev.h"
     43#include "remote_nic.h"
    4344#include "remote_usb.h"
    4445#include "remote_usbhc.h"
     
    4647#include "remote_pci.h"
    4748
    48 #include <stdio.h>
    49 
    5049static iface_dipatch_table_t remote_ifaces = {
    5150        .ifaces = {
    5251                &remote_hw_res_iface,
    5352                &remote_char_dev_iface,
     53                &remote_nic_iface,
    5454                &remote_pci_iface,
    5555                &remote_usb_iface,
     
    6868get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx)
    6969{
    70         if (iface_method_idx >= rem_iface->method_count) {
     70        if (iface_method_idx >= rem_iface->method_count)
    7171                return NULL;
    72         }
    73 
     72       
    7473        return rem_iface->methods[iface_method_idx];
    7574}
Note: See TracChangeset for help on using the changeset viewer.