lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: 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]
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.063 / U:9.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site