Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268203
b: refs/heads/master
c: cf55f4a
h: refs/heads/master
i:
  268201: e72993d
  268199: 30641cd
v: v3
  • Loading branch information
Mike Sterling authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent 68b1b09 commit 3f3c557
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 15e3276fd020621236e8443a599b80ae28d6832b
refs/heads/master: cf55f4a8b6243b42fb91c56d1421db0d36d60f96
3 changes: 3 additions & 0 deletions trunk/drivers/staging/hv/storvsc_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ struct vstor_packet {
#define STORVSC_MAX_LUNS_PER_TARGET 64
#define STORVSC_MAX_TARGETS 1
#define STORVSC_MAX_CHANNELS 1
#define STORVSC_MAX_CMD_LEN 16

struct hv_storvsc_request;

Expand Down Expand Up @@ -1440,6 +1441,8 @@ static int storvsc_probe(struct hv_device *device)
host->max_id = STORVSC_MAX_TARGETS;
/* max # of channels */
host->max_channel = STORVSC_MAX_CHANNELS - 1;
/* max cmd length */
host->max_cmd_len = STORVSC_MAX_CMD_LEN;

/* Register the HBA and start the scsi bus scan */
ret = scsi_add_host(host, &device->device);
Expand Down

0 comments on commit 3f3c557

Please sign in to comment.