Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5e07e2b5 in mainline


Ignore:
Timestamp:
2011-04-14T08:44:28Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
8989f48f
Parents:
d8b275d
Message:

Device polling in separate header

Location:
uspace
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/main.c

    rd8b275d r5e07e2b5  
    4242
    4343#include <usb/devdrv.h>
     44#include <usb/devpoll.h>
    4445
    4546#include "usbhid.h"
  • uspace/drv/usbhub/usbhub.c

    rd8b275d r5e07e2b5  
    4545#include <usb/request.h>
    4646#include <usb/classes/hub.h>
     47#include <usb/devpoll.h>
    4748#include <stdio.h>
    4849
  • uspace/drv/usbkbd/main.c

    rd8b275d r5e07e2b5  
    4242
    4343#include <usb/devdrv.h>
     44#include <usb/devpoll.h>
    4445
    4546#include "kbddev.h"
  • uspace/drv/usbmouse/main.c

    rd8b275d r5e07e2b5  
    3636#include "mouse.h"
    3737#include <usb/debug.h>
     38#include <usb/devpoll.h>
    3839#include <errno.h>
    3940#include <str_error.h>
  • uspace/lib/usb/include/usb/devdrv.h

    rd8b275d r5e07e2b5  
    162162    usb_endpoint_description_t **);
    163163
    164 typedef bool (*usb_polling_callback_t)(usb_device_t *,
    165     uint8_t *, size_t, void *);
    166 typedef void (*usb_polling_terminted_callback_t)(usb_device_t *, bool, void *);
    167 
    168 int usb_device_auto_poll(usb_device_t *, size_t,
    169     usb_polling_callback_t, size_t, usb_polling_terminted_callback_t, void *);
    170 
    171164int usb_device_retrieve_descriptors(usb_pipe_t *, usb_device_descriptors_t *);
    172165int usb_device_create_pipes(ddf_dev_t *, usb_device_connection_t *,
  • uspace/lib/usb/src/devpoll.c

    rd8b275d r5e07e2b5  
    3333 * USB device driver framework - automatic interrupt polling.
    3434 */
    35 #include <usb/devdrv.h>
     35#include <usb/devpoll.h>
    3636#include <usb/request.h>
    3737#include <usb/debug.h>
Note: See TracChangeset for help on using the changeset viewer.