Messages in this thread Patch in this message |  | | Date | Wed, 13 Sep 2000 15:45:41 -0700 | From | Matthew Dharm <> | Subject | PATCH: ide-scsi.c to allow claiming of Onstream drives |
| |
Attached is a patch to ide-scsi.c against 2.4.0-test8. Please consider applying it.
This patch removes the logic which causes ide-scsi to refuse to attach itself to an IDE OnStream drive. While these drives are not supported by the standard st.c driver, there is userspace support (using the sg interface) which works with the ATAPI drive with ide-scsi patched with this patch.
So there really is no reason for ide-scsi to reject this device.
A future patch to make st.c reject OnStream drives it is unable to support if coming soon.
Matt
-- Matthew Dharm Home: mdharm@one-eyed-alien.net Senior Engineer, QCP Inc. Work: mdharm@qcpi.com
G: Let me guess, you started on the 'net with AOL, right? C: WOW! d00d! U r leet! -- Greg and Customer User Friendly, 2/12/1999 --- drivers/scsi/ide-scsi.c.old Tue Sep 12 17:52:22 2000 +++ drivers/scsi/ide-scsi.c Tue Sep 12 17:52:35 2000 @@ -582,16 +582,6 @@ failed = 0; while ((drive = ide_scan_devices (media[i], idescsi_driver.name, NULL, failed++)) != NULL) { -#ifndef CONFIG_BLK_DEV_IDETAPE - /* - * The Onstream DI-30 does not handle clean emulation, yet. - */ - if (strstr(drive->id->model, "OnStream DI-30")) { - printk("ide-tape: ide-scsi emulation is not supported for %s.\n", drive->id->model); - continue; - } -#endif /* CONFIG_BLK_DEV_IDETAPE */ - if ((scsi = (idescsi_scsi_t *) kmalloc (sizeof (idescsi_scsi_t), GFP_KERNEL)) == NULL) { printk (KERN_ERR "ide-scsi: %s: Can't allocate a scsi structure\n", drive->name); continue;[unhandled content-type:application/pgp-signature] |  |