diff options
author | Hannes Reinecke <hare@suse.de> | 2006-05-23 10:29:28 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-28 19:07:41 +0200 |
commit | 2b89dad0c7e3b03d45d9674ee9a7b49670df098e (patch) | |
tree | 8f480172c865e9d6cfab9ed4888a043bc75ab4ce /drivers/scsi/atp870u.c | |
parent | [SCSI] Return -EINVAL when "id == max_id" in scsi_scan_host_selected() (diff) | |
download | linux-2b89dad0c7e3b03d45d9674ee9a7b49670df098e.tar.xz linux-2b89dad0c7e3b03d45d9674ee9a7b49670df098e.zip |
[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: if (atp_dev.chip_ver == 4) shpnt->max_id = 16; else - shpnt->max_id = 7; + shpnt->max_id = 8; shpnt->this_id = host_id; shpnt->unique_id = base_io; shpnt->io_port = base_io; |