Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4617
b: refs/heads/master
c: b2134bc
h: refs/heads/master
i:
  4615: 7046b67
v: v3
  • Loading branch information
KAMBAROV, ZAUR authored and Greg Kroah-Hartman committed Jul 12, 2005
1 parent e31cdb8 commit 9a3b732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99f83c9c9ac994c844ecf3e64e848c2f8dd7dfe0
refs/heads/master: b2134bcd2e1bf989e0566dd1b0e59a792722b671
3 changes: 2 additions & 1 deletion trunk/drivers/usb/host/ohci-hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,11 @@ ohci_hub_descriptor (

/* two bitmaps: ports removable, and usb 1.0 legacy PortPwrCtrlMask */
rh = roothub_b (ohci);
memset(desc->bitmap, 0xff, sizeof(desc->bitmap));
desc->bitmap [0] = rh & RH_B_DR;
if (ports > 7) {
desc->bitmap [1] = (rh & RH_B_DR) >> 8;
desc->bitmap [2] = desc->bitmap [3] = 0xff;
desc->bitmap [2] = 0xff;
} else
desc->bitmap [1] = 0xff;
}
Expand Down

0 comments on commit 9a3b732

Please sign in to comment.