[PATCH] 2.4.21-rc2 modular ide-scsi

Matan Ziv-Av (matan@svgalib.org)
Fri, 9 May 2003 14:52:23 +0300 (IDT)


When scsi or ide-scsi are compiled as modules, ide subsystem
does not recognise the hdc=scsi command line.

-- 
Matan Ziv-Av.                         matan@svgalib.org

--- linux-2.4.21-rc2/drivers/ide/ide.c.original Fri May 9 14:45:19 2003 +++ linux-2.4.21-rc2/drivers/ide/ide.c Fri May 9 14:46:09 2003 @@ -2013,13 +2013,8 @@ drive->remap_0_to_1 = 2; goto done; case -14: /* "scsi" */ -#if defined(CONFIG_BLK_DEV_IDESCSI) && defined(CONFIG_SCSI) drive->scsi = 1; goto done; -#else - drive->scsi = 0; - goto bad_option; -#endif /* defined(CONFIG_BLK_DEV_IDESCSI) && defined(CONFIG_SCSI) */ case 3: /* cyl,head,sect */ drive->media = ide_disk; drive->cyl = drive->bios_cyl = vals[0];

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/