Revision 5fafdf24 hw/usb.h

b/hw/usb.h
1 1
/*
2 2
 * QEMU USB API
3
 * 
3
 *
4 4
 * Copyright (c) 2005 Fabrice Bellard
5
 * 
5
 *
6 6
 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 7
 * of this software and associated documentation files (the "Software"), to deal
8 8
 * in the Software without restriction, including without limitation the rights
......
30 30
#define USB_MSG_DETACH   0x101
31 31
#define USB_MSG_RESET    0x102
32 32

  
33
#define USB_RET_NODEV  (-1) 
33
#define USB_RET_NODEV  (-1)
34 34
#define USB_RET_NAK    (-2)
35 35
#define USB_RET_STALL  (-3)
36 36
#define USB_RET_BABBLE (-4)
......
119 119
    void (*handle_destroy)(USBDevice *dev);
120 120

  
121 121
    int speed;
122
    
122
   
123 123
    /* The following fields are used by the generic USB device
124 124
       layer. They are here just to avoid creating a new structure for
125 125
       them. */
......
129 129
    int (*handle_data)(USBDevice *dev, USBPacket *p);
130 130
    uint8_t addr;
131 131
    char devname[32];
132
    
132
   
133 133
    int state;
134 134
    uint8_t setup_buf[8];
135 135
    uint8_t data_buf[1024];

Also available in: Unified diff