Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204063
b: refs/heads/master
c: cda7612
h: refs/heads/master
i:
  204061: 38d3637
  204059: 2655b8b
  204055: 41b21cc
  204047: 695ea04
  204031: a58b2f9
v: v3
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Jul 27, 2010
1 parent 8a09c58 commit a16ad9e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: eb6b2ae9058accd183fe8b31f1985312bf333624
refs/heads/master: cda7612d4b96d51324c6fc4d5e47d629da6cb500
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3413,6 +3413,11 @@ static inline void hpsa_p600_dma_prefetch_quirk(struct ctlr_info *h)
static int __devinit hpsa_enter_simple_mode(struct ctlr_info *h)
{
int i;
u32 trans_support;

trans_support = readl(&(h->cfgtable->TransportSupport));
if (!(trans_support & SIMPLE_MODE))
return -ENOTSUPP;

h->max_commands = readl(&(h->cfgtable->CmdsOutMax));
/* Update the field, and then ring the doorbell */
Expand Down

0 comments on commit a16ad9e

Please sign in to comment.