]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/scsi/atari_scsi.c
Merge tag 'mips_fixes_5.6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[linux.git] / drivers / scsi / atari_scsi.c
index e809493d0d063cefc4a90e8e682b8377e7f19e49..a82b63a666356a22cf88a41aed7aca8217d6ecbb 100644 (file)
@@ -742,7 +742,7 @@ static int __init atari_scsi_probe(struct platform_device *pdev)
                atari_scsi_template.sg_tablesize = SG_ALL;
        } else {
                atari_scsi_template.can_queue    = 1;
-               atari_scsi_template.sg_tablesize = SG_NONE;
+               atari_scsi_template.sg_tablesize = 1;
        }
 
        if (setup_can_queue > 0)
@@ -751,8 +751,8 @@ static int __init atari_scsi_probe(struct platform_device *pdev)
        if (setup_cmd_per_lun > 0)
                atari_scsi_template.cmd_per_lun = setup_cmd_per_lun;
 
-       /* Leave sg_tablesize at 0 on a Falcon! */
-       if (ATARIHW_PRESENT(TT_SCSI) && setup_sg_tablesize >= 0)
+       /* Don't increase sg_tablesize on Falcon! */
+       if (ATARIHW_PRESENT(TT_SCSI) && setup_sg_tablesize > 0)
                atari_scsi_template.sg_tablesize = setup_sg_tablesize;
 
        if (setup_hostid >= 0) {