Revision 5bd2c0d7
b/hw/usb-uhci.c | ||
---|---|---|
680 | 680 |
|
681 | 681 |
ret = async->packet.len; |
682 | 682 |
|
683 |
if (td->ctrl & TD_CTRL_IOC) |
|
684 |
*int_mask |= 0x01; |
|
685 |
|
|
686 | 683 |
if (td->ctrl & TD_CTRL_IOS) |
687 | 684 |
td->ctrl &= ~TD_CTRL_ACTIVE; |
688 | 685 |
|
... | ... | |
696 | 693 |
here. The docs are somewhat unclear, but win2k relies on this |
697 | 694 |
behavior. */ |
698 | 695 |
td->ctrl &= ~(TD_CTRL_ACTIVE | TD_CTRL_NAK); |
696 |
if (td->ctrl & TD_CTRL_IOC) |
|
697 |
*int_mask |= 0x01; |
|
699 | 698 |
|
700 | 699 |
if (pid == USB_TOKEN_IN) { |
701 | 700 |
if (len > max_len) { |
... | ... | |
753 | 752 |
if (err == 0) { |
754 | 753 |
td->ctrl &= ~TD_CTRL_ACTIVE; |
755 | 754 |
s->status |= UHCI_STS_USBERR; |
755 |
if (td->ctrl & TD_CTRL_IOC) |
|
756 |
*int_mask |= 0x01; |
|
756 | 757 |
uhci_update_irq(s); |
757 | 758 |
} |
758 | 759 |
} |
Also available in: Unified diff