dev-uas.c (8c43a6f05d5ef3c9484bd2be9d4e818d58e62016) | dev-uas.c (8550a02d1239415342959f6a32d178bc05c557cc) |
---|---|
1/* 2 * UAS (USB Attached SCSI) emulation 3 * 4 * Copyright Red Hat, Inc. 2012 5 * 6 * Author: Gerd Hoffmann <kraxel@redhat.com> 7 * 8 * This work is licensed under the terms of the GNU GPL, version 2 or later. --- 262 unchanged lines hidden (view full) --- 271 /* 272 * Just schedule bh make sure any in-flight data transaction 273 * is finished before completing (sending) the status packet. 274 */ 275 qemu_bh_schedule(uas->status_bh); 276 } else { 277 USBEndpoint *ep = usb_ep_get(&uas->dev, USB_TOKEN_IN, 278 UAS_PIPE_ID_STATUS); | 1/* 2 * UAS (USB Attached SCSI) emulation 3 * 4 * Copyright Red Hat, Inc. 2012 5 * 6 * Author: Gerd Hoffmann <kraxel@redhat.com> 7 * 8 * This work is licensed under the terms of the GNU GPL, version 2 or later. --- 262 unchanged lines hidden (view full) --- 271 /* 272 * Just schedule bh make sure any in-flight data transaction 273 * is finished before completing (sending) the status packet. 274 */ 275 qemu_bh_schedule(uas->status_bh); 276 } else { 277 USBEndpoint *ep = usb_ep_get(&uas->dev, USB_TOKEN_IN, 278 UAS_PIPE_ID_STATUS); |
279 usb_wakeup(ep); | 279 usb_wakeup(ep, 0); |
280 } 281} 282 283static void usb_uas_queue_response(UASDevice *uas, uint16_t tag, 284 uint8_t code, uint16_t add_info) 285{ 286 UASStatus *st = usb_uas_alloc_status(UAS_UI_RESPONSE, tag); 287 --- 485 unchanged lines hidden --- | 280 } 281} 282 283static void usb_uas_queue_response(UASDevice *uas, uint16_t tag, 284 uint8_t code, uint16_t add_info) 285{ 286 UASStatus *st = usb_uas_alloc_status(UAS_UI_RESPONSE, tag); 287 --- 485 unchanged lines hidden --- |