Revision 72cf2d4f hw/usb.h

b/hw/usb.h
24 24

  
25 25
#include "block.h"
26 26
#include "qdev.h"
27
#include "sys-queue.h"
27
#include "qemu-queue.h"
28 28

  
29 29
#define USB_TOKEN_SETUP 0x2d
30 30
#define USB_TOKEN_IN    0x69 /* device -> host */
......
193 193
    usb_attachfn attach;
194 194
    void *opaque;
195 195
    int index; /* internal port index, may be used with the opaque */
196
    TAILQ_ENTRY(USBPort) next;
196
    QTAILQ_ENTRY(USBPort) next;
197 197
};
198 198

  
199 199
typedef void USBCallback(USBPacket * packet, void *opaque);
......
298 298
    int busnr;
299 299
    int nfree;
300 300
    int nused;
301
    TAILQ_HEAD(, USBPort) free;
302
    TAILQ_HEAD(, USBPort) used;
303
    TAILQ_ENTRY(USBBus) next;
301
    QTAILQ_HEAD(, USBPort) free;
302
    QTAILQ_HEAD(, USBPort) used;
303
    QTAILQ_ENTRY(USBBus) next;
304 304
};
305 305

  
306 306
USBBus *usb_bus_new(DeviceState *host);

Also available in: Unified diff