Changeset 8d6c1f1 in mainline for uspace/lib/drv/generic/dev_iface.c


Ignore:
Timestamp:
2011-06-07T21:31:35Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
75608143
Parents:
ff4f073 (diff), eb522e8 (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 USB support.

Changes from bzr://helenos-usb.bzr.sourceforge.net/bzrroot/helenos-usb/mainline:

  • replaced '-' with '_' in new driver names
  • USB libs are built for each architecture
  • devman starts early
  • sys_thread_udelay() uses generic delay()
  • sys_as_create_area() now creates cacheable areas by default
File:
1 edited

Legend:

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

    rff4f073 r8d6c1f1  
    4141#include "remote_hw_res.h"
    4242#include "remote_char_dev.h"
     43#include "remote_usb.h"
     44#include "remote_usbhc.h"
     45#include "remote_usbhid.h"
     46#include "remote_pci.h"
     47
     48#include <stdio.h>
    4349
    4450static iface_dipatch_table_t remote_ifaces = {
    4551        .ifaces = {
    4652                &remote_hw_res_iface,
    47                 &remote_char_dev_iface
     53                &remote_char_dev_iface,
     54                &remote_pci_iface,
     55                &remote_usb_iface,
     56                &remote_usbhc_iface,
     57                &remote_usbhid_iface
    4858        }
    4959};
     
    5262{
    5363        assert(is_valid_iface_idx(idx));
     64       
    5465        return remote_ifaces.ifaces[idx];
    5566}
Note: See TracChangeset for help on using the changeset viewer.