Ignore:
Timestamp:
2010-10-10T17:01:40Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c1315b
Parents:
b371844
Message:

Virtual USB device in separate library

The `usbvirt' library is intended to be a framework for creating
virtual USB devices.

So far, only the skeleton is ready.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/usb/hcd/virtual/devices.c

    rb371844 rb8100da  
    4343#include <str_error.h>
    4444
    45 #include <usb/virtdev.h>
     45#include <usbvirt/ids.h>
    4646
    4747#include "devices.h"
     
    6262        virtdev_connection_t * dev = NULL;
    6363        switch (id) {
    64                 case USB_VIRTDEV_KEYBOARD_ID:
     64                case USBVIRT_DEV_KEYBOARD_ID:
    6565                        dev = virtdev_add_device(
    66                             USB_VIRTDEV_KEYBOARD_ADDRESS, phone);
     66                            USBVIRT_DEV_KEYBOARD_ADDRESS, phone);
    6767                        break;
    6868                default:
Note: See TracChangeset for help on using the changeset viewer.