Changeset 0eddb76 in mainline


Ignore:
Timestamp:
2010-11-24T22:10:25Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
56b962d
Parents:
0b749a3
Message:

libusbvirt directoy structure reorganized

Location:
uspace
Files:
3 edited
9 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/virtusbkbd/Makefile

    r0b749a3 r0eddb76  
    3333
    3434LIBS = $(LIBUSB_PREFIX)/libusb.a $(LIBUSBVIRT_PREFIX)/libusbvirt.a
    35 EXTRA_CFLAGS = -I$(LIBUSB_PREFIX)/include -I$(LIB_PREFIX)
     35EXTRA_CFLAGS = -I$(LIBUSB_PREFIX)/include -I$(LIBUSBVIRT_PREFIX)/include
    3636
    3737SOURCES = \
  • uspace/drv/vhc/Makefile

    r0b749a3 r0eddb76  
    3333        $(LIBDRV_PREFIX)/libdrv.a
    3434EXTRA_CFLAGS += \
    35         -I$(LIB_PREFIX) \
     35        -I$(LIBUSBVIRT_PREFIX)/include \
    3636        -I$(LIBUSB_PREFIX)/include \
    3737        -I$(LIBDRV_PREFIX)/include
  • uspace/lib/usbvirt/Makefile

    r0b749a3 r0eddb76  
    3131
    3232LIBS = $(LIBUSB_PREFIX)/libusb.a
    33 EXTRA_CFLAGS = -I$(LIBUSB_PREFIX)/include
     33EXTRA_CFLAGS = -I$(LIBUSB_PREFIX)/include -Iinclude
    3434
    3535SOURCES = \
    36         callback.c \
    37         ctrlpipe.c \
    38         debug.c \
    39         main.c \
    40         stdreq.c \
    41         transaction.c
     36        src/callback.c \
     37        src/ctrlpipe.c \
     38        src/debug.c \
     39        src/main.c \
     40        src/stdreq.c \
     41        src/transaction.c
    4242
    4343include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/usbvirt/src/callback.c

    r0b749a3 r0eddb76  
    4040#include <mem.h>
    4141
    42 #include "hub.h"
    43 #include "device.h"
    4442#include "private.h"
    4543
  • uspace/lib/usbvirt/src/debug.c

    r0b749a3 r0eddb76  
    3636#include <bool.h>
    3737
    38 #include "device.h"
    3938#include "private.h"
    4039
  • uspace/lib/usbvirt/src/main.c

    r0b749a3 r0eddb76  
    3939#include <assert.h>
    4040
    41 #include "hub.h"
    42 #include "device.h"
    4341#include "private.h"
    4442
     
    183181}
    184182
    185 /** Create necessary phones for comunication with virtual HCD.
     183/** Create necessary phones for communication with virtual HCD.
    186184 * This function wraps following calls:
    187  * -# open <code>/dev/devices/\\vhc for reading
     185 * -# open <code>/dev/devices/\\vhc</code> for reading
    188186 * -# access phone of file opened in previous step
    189187 * -# create callback through just opened phone
     
    193191 * @warning This function is wrapper for several actions and therefore
    194192 * it is not possible - in case of error - to determine at which point
    195  * error occured.
    196  *
    197  * @param hcd_path HCD identification under devfs
    198  *     (without <code>/dev/usb/</code>).
     193 * error occurred.
     194 *
    199195 * @param dev Device to connect.
    200196 * @return EOK on success or error code from errno.h.
  • uspace/lib/usbvirt/src/private.h

    r0b749a3 r0eddb76  
    3636#define LIBUSBVIRT_PRIVATE_H_
    3737
    38 #include "device.h"
    39 #include "hub.h"
     38#include <usbvirt/device.h>
     39#include <usbvirt/hub.h>
    4040
    4141
  • uspace/lib/usbvirt/src/transaction.c

    r0b749a3 r0eddb76  
    3737#include <mem.h>
    3838
    39 #include "hub.h"
    4039#include "private.h"
    4140
Note: See TracChangeset for help on using the changeset viewer.