git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
usb
/
host
/
uhci-hub.c
diff --git
a/drivers/usb/host/uhci-hub.c
b/drivers/usb/host/uhci-hub.c
index
2dde381
..
22bbd70
100644
(file)
--- a/
drivers/usb/host/uhci-hub.c
+++ b/
drivers/usb/host/uhci-hub.c
@@
-82,7
+82,7
@@
static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
*/
case GetHubStatus:
*/
case GetHubStatus:
- *(__
u
32 *)buf = cpu_to_le32(0);
+ *(__
le
32 *)buf = cpu_to_le32(0);
OK(4); /* hub power */
case GetPortStatus:
if (!wIndex || wIndex > uhci->rh_numports)
OK(4); /* hub power */
case GetPortStatus:
if (!wIndex || wIndex > uhci->rh_numports)
@@
-126,8
+126,8
@@
static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
dev_dbg(uhci_dev(uhci), "port %d portsc %04x\n",
wIndex, status);
dev_dbg(uhci_dev(uhci), "port %d portsc %04x\n",
wIndex, status);
- *(__
u
16 *)buf = cpu_to_le16(wPortStatus);
- *(__
u
16 *)(buf + 2) = cpu_to_le16(wPortChange);
+ *(__
le
16 *)buf = cpu_to_le16(wPortStatus);
+ *(__
le
16 *)(buf + 2) = cpu_to_le16(wPortChange);
OK(4);
case SetHubFeature: /* We don't implement these */
case ClearHubFeature:
OK(4);
case SetHubFeature: /* We don't implement these */
case ClearHubFeature: