[2492] in linux-scsi channel archive
old scsi_module patch not in the official kernel
daemon@ATHENA.MIT.EDU (Andrea Arcangeli)
Thu Sep 18 16:25:35 1997
Date: Thu, 18 Sep 1997 19:24:10 +0200 (CEST)
From: Andrea Arcangeli <arcangeli@mbox.queen.it>
To: dario@milano.europe.dg.com
cc: linux-scsi@vger.rutgers.edu
This patch (I think developed by David Campbell <campbell@torque.net)) is
not yet included in the official linux kernel (2.1 series). There is some
reason? It is very useful if you are using a ZIP drive with ppa.
Andrea(S) Arcangeli
Here the patch:
--- linux/drivers/scsi/scsi_module.c~ Sat May 10 17:50:02 1997
+++ linux/drivers/scsi/scsi_module.c Sat May 10 17:50:03 1997
@@ -34,6 +34,8 @@
int init_module(void) {
driver_template.module = &__this_module;
scsi_register_module(MODULE_SCSI_HA, &driver_template);
+ if (driver_template.present == 0)
+ scsi_unregister_module(MODULE_SCSI_HA, &driver_template);
return (driver_template.present == 0);
}