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, Lawrence Walton wrote:
> It appears that SCSI cdroms as modules are broken in 2.4.0-test8.
> It works fine 2.4.0-test7.
>
>
> cat /dev/scd0
> cat: /dev/scd0: No such device

Yup, apparently I was a bit too trigger happy.

--
* 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:07:28 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);
}

@@ -877,6 +878,7 @@

sr_template.dev_max = 0;
}
+#endif

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