Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67925
b: refs/heads/master
c: 17f0602
h: refs/heads/master
i:
  67923: 9e6b214
v: v3
  • Loading branch information
Richard Sharpe authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent 3a67c89 commit aa812cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eecfb911a03a48ef5f7114246343128bd01c1b5f
refs/heads/master: 17f060224fb9f435c6f9306b7b61419d038def13
4 changes: 4 additions & 0 deletions trunk/drivers/usb/storage/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,10 @@ static int storage_probe(struct usb_interface *intf,
return -ENOMEM;
}

/*
* Allow 16-byte CDBs and thus > 2TB
*/
host->max_cmd_len = 16;
us = host_to_us(host);
memset(us, 0, sizeof(struct us_data));
mutex_init(&(us->dev_mutex));
Expand Down

0 comments on commit aa812cd

Please sign in to comment.