diff options
author | Hannes Reinecke <hare@suse.de> | 2006-05-23 04:29:28 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-28 13:07:41 -0400 |
commit | 2b89dad0c7e3b03d45d9674ee9a7b49670df098e (patch) | |
tree | 8f480172c865e9d6cfab9ed4888a043bc75ab4ce /drivers/scsi/atp870u.c | |
parent | 091686d3b5569d2ec76b9e6dab7f3608b6f64497 (diff) |
[SCSI] audit drivers for incorrect max_id use
max_id now means the maximum number of ids on the bus, which means it
is one greater than the largest possible id number.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/atp870u.c')
-rw-r--r-- | drivers/scsi/atp870u.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c index a198d86667e9..58d7e34807aa 100644 --- a/drivers/scsi/atp870u.c +++ b/drivers/scsi/atp870u.c | |||
@@ -3047,7 +3047,7 @@ flash_ok_885: | |||
3047 | if (atp_dev.chip_ver == 4) | 3047 | if (atp_dev.chip_ver == 4) |
3048 | shpnt->max_id = 16; | 3048 | shpnt->max_id = 16; |
3049 | else | 3049 | else |
3050 | shpnt->max_id = 7; | 3050 | shpnt->max_id = 8; |
3051 | shpnt->this_id = host_id; | 3051 | shpnt->this_id = host_id; |
3052 | shpnt->unique_id = base_io; | 3052 | shpnt->unique_id = base_io; |
3053 | shpnt->io_port = base_io; | 3053 | shpnt->io_port = base_io; |