Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25827
b: refs/heads/master
c: 3c0c25b
h: refs/heads/master
i:
  25825: 690ff8e
  25823: 58be248
v: v3
  • Loading branch information
Moore, Eric authored and James Bottomley committed Apr 14, 2006
1 parent c33bdea commit 033e92b
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 1e08dcb39c6b95ec84fc8bad97d5bdce879b76c9
refs/heads/master: 3c0c25b97c7d020ef07f6366cf1d668a8e980c7c
10 changes: 9 additions & 1 deletion trunk/drivers/message/fusion/mptsas.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,15 @@ mptsas_sas_enclosure_pg0(MPT_ADAPTER *ioc, struct mptsas_enclosure *enclosure,
static int
mptsas_slave_configure(struct scsi_device *sdev)
{
sas_read_port_mode_page(sdev);
struct Scsi_Host *host = sdev->host;
MPT_SCSI_HOST *hd = (MPT_SCSI_HOST *)host->hostdata;

/*
* RAID volumes placed beyond the last expected port.
* Ignore sending sas mode pages in that case..
*/
if (sdev->channel < hd->ioc->num_ports)
sas_read_port_mode_page(sdev);

return mptscsih_slave_configure(sdev);
}
Expand Down

0 comments on commit 033e92b

Please sign in to comment.