lkml.org 
[lkml]   [2000]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: SCSI cdrom is broken in 2.4.0-test8-pre5
On Wed, Sep 06 2000, Jens Axboe wrote:
> > It appears that SCSI cdroms as modules are broken in 2.4.0-test8.
> > It works fine 2.4.0-test7.

Bah, try this one instead...

--
* Jens Axboe <axboe@suse.de>
* SuSE Labs
--- /opt/kernel/linux-2.4.0-test8-pre5/drivers/scsi/sr.c Wed Sep 6 02:34:30 2000
+++ drivers/scsi/sr.c Wed Sep 6 20:19:52 2000
@@ -848,9 +848,10 @@
return;
}

+#ifdef MODULE
int init_sr(void)
{
- sr_template.module = THIS_MODULE;
+ sr_template.module = &__this_module;
return scsi_register_module(MODULE_SCSI_DEV, &sr_template);
}

@@ -880,3 +881,4 @@

module_init(init_sr);
module_exit(exit_sr);
+#endif
\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.779 / U:2.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site