aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sr.c
diff options
context:
space:
mode:
authorRene Herman <rene.herman@keyaccess.nl>2006-03-08 03:14:20 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 10:11:16 -0500
commitf018fa552c52642a6b9db2bda90477762e42163f (patch)
tree5baf17322997aae5e9373e8f9e6d1c993d2ad0ff /drivers/scsi/sr.c
parent76744f429a178ad2df06b722e5e7bbbf1b5245ee (diff)
[SCSI] MODULE_ALIAS_{BLOCK,CHAR}DEV_MAJOR for drivers/scsi
Add device-major aliases in drivers/scsi, allowing kmod autoload: MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR) MODULE_ALIAS_CHARDEV_MAJOR(OSST_MAJOR) MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR) MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_CDROM_MAJOR) MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISKN_MAJOR) Signed-off-by: Andrew Morton <akpm@osdl.org> Acked-by: Kai Makisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sr.c')
-rw-r--r--drivers/scsi/sr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index 328837b7ccb9..f9c1192dc15e 100644
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -60,6 +60,10 @@
60#include "sr.h" 60#include "sr.h"
61 61
62 62
63MODULE_DESCRIPTION("SCSI cdrom (sr) driver");
64MODULE_LICENSE("GPL");
65MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_CDROM_MAJOR);
66
63#define SR_DISKS 256 67#define SR_DISKS 256
64 68
65#define MAX_RETRIES 3 69#define MAX_RETRIES 3