Revision 1fa63e43
b/hw/usb-ohci.c | ||
---|---|---|
1150 | 1150 |
/* Frame boundary, so do EOF stuf here */ |
1151 | 1151 |
ohci->frt = ohci->fit; |
1152 | 1152 |
|
1153 |
/* XXX: endianness */
|
|
1153 |
/* Increment frame number and take care of endianness. */
|
|
1154 | 1154 |
ohci->frame_number = (ohci->frame_number + 1) & 0xffff; |
1155 |
hcca.frame = cpu_to_le32(ohci->frame_number);
|
|
1155 |
hcca.frame = cpu_to_le16(ohci->frame_number);
|
|
1156 | 1156 |
|
1157 | 1157 |
if (ohci->done_count == 0 && !(ohci->intr_status & OHCI_INTR_WD)) { |
1158 | 1158 |
if (!ohci->done) |
Also available in: Unified diff