diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-09-14 18:49:00 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-10-13 12:58:51 +0200 |
commit | 8d11b78c9a243ae2d9cf27a15216f8554b6fc63d (patch) | |
tree | 97df31591c0660bbd63169bef7d8baf6d06fa0c8 /hw/usb-ohci.c | |
parent | 0fcc3bfc0ff76bc3697f12bd3b795f6b139e6ad0 (diff) |
hw/usb-ohci: Fix OHCI_TD_T1 bit position definition
The OHCI Transfer Descriptor T (DataToggle) bits are 24 and 25;
fix an error which accidentally overlaid them both on the same bit.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-ohci.c')
-rw-r--r-- | hw/usb-ohci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index 5e10e21506..e14ced83c6 100644 --- a/hw/usb-ohci.c +++ b/hw/usb-ohci.c @@ -150,7 +150,7 @@ static void ohci_async_cancel_device(OHCIState *ohci, USBDevice *dev); #define OHCI_TD_DI_SHIFT 21 #define OHCI_TD_DI_MASK (7<<OHCI_TD_DI_SHIFT) #define OHCI_TD_T0 (1<<24) -#define OHCI_TD_T1 (1<<24) +#define OHCI_TD_T1 (1<<25) #define OHCI_TD_EC_SHIFT 26 #define OHCI_TD_EC_MASK (3<<OHCI_TD_EC_SHIFT) #define OHCI_TD_CC_SHIFT 28 |