diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-05-05 16:26:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 18:04:10 -0400 |
commit | 4de7d2c231a8624a47417977be0768c5b5257c4f (patch) | |
tree | 3dba388c3c8e0673a5884c900f2b04339dc4708e /drivers/usb/host/uhci-hcd.h | |
parent | 2d61bde7a0e630e1906e6478b6b2a7aeaaa8f8da (diff) |
[PATCH] USB: UHCI: store the endpoint type in the QH structure
This patch (as675) simplifies uhci-hcd slightly by storing each endpoint's
type in the corresponding Queue Header structure.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-hcd.h')
-rw-r--r-- | drivers/usb/host/uhci-hcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/uhci-hcd.h b/drivers/usb/host/uhci-hcd.h index d5c8f4d92823..8e5778650493 100644 --- a/drivers/usb/host/uhci-hcd.h +++ b/drivers/usb/host/uhci-hcd.h | |||
@@ -132,6 +132,7 @@ struct uhci_qh { | |||
132 | 132 | ||
133 | unsigned int unlink_frame; /* When the QH was unlinked */ | 133 | unsigned int unlink_frame; /* When the QH was unlinked */ |
134 | int state; /* QH_STATE_xxx; see above */ | 134 | int state; /* QH_STATE_xxx; see above */ |
135 | int type; /* Queue type (control, bulk, etc) */ | ||
135 | 136 | ||
136 | unsigned int initial_toggle:1; /* Endpoint's current toggle value */ | 137 | unsigned int initial_toggle:1; /* Endpoint's current toggle value */ |
137 | unsigned int needs_fixup:1; /* Must fix the TD toggle values */ | 138 | unsigned int needs_fixup:1; /* Must fix the TD toggle values */ |