diff options
author | Mark Haverkamp <markh@osdl.org> | 2006-03-27 12:44:15 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-04-13 11:13:19 -0400 |
commit | 95433badf0ff8dbc2caf14bc69c984841539715f (patch) | |
tree | 90fe84faf497d93211a8c8354b4c783fb5f6b3ac /drivers/scsi/aacraid/linit.c | |
parent | e61b17fd3ae270c0ca83d12c8276b73e50466db9 (diff) |
[SCSI] aacraid: Fix error in max_channel field
Received from Mark Salyzyn
The max_channel field is set one too large.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 78c82f774535..fbd4f5538ac1 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
@@ -907,9 +907,9 @@ static int __devinit aac_probe_one(struct pci_dev *pdev, | |||
907 | * physical channels are address by their actual physical number+1 | 907 | * physical channels are address by their actual physical number+1 |
908 | */ | 908 | */ |
909 | if (aac->nondasd_support == 1) | 909 | if (aac->nondasd_support == 1) |
910 | shost->max_channel = aac->maximum_num_channels + 1; | 910 | shost->max_channel = aac->maximum_num_channels; |
911 | else | 911 | else |
912 | shost->max_channel = 1; | 912 | shost->max_channel = 0; |
913 | 913 | ||
914 | aac_get_config_status(aac); | 914 | aac_get_config_status(aac); |
915 | aac_get_containers(aac); | 915 | aac_get_containers(aac); |