aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sg.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/sg.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/sg.c')
-rw-r--r--drivers/scsi/sg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index 06fc8ed720fc..af3fea59a456 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -1569,6 +1569,7 @@ MODULE_AUTHOR("Douglas Gilbert");
1569MODULE_DESCRIPTION("SCSI generic (sg) driver"); 1569MODULE_DESCRIPTION("SCSI generic (sg) driver");
1570MODULE_LICENSE("GPL"); 1570MODULE_LICENSE("GPL");
1571MODULE_VERSION(SG_VERSION_STR); 1571MODULE_VERSION(SG_VERSION_STR);
1572MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR);
1572 1573
1573MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd"); 1574MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd");
1574MODULE_PARM_DESC(allow_dio, "allow direct I/O (default: 0 (disallow))"); 1575MODULE_PARM_DESC(allow_dio, "allow direct I/O (default: 0 (disallow))");
@@ -2966,4 +2967,3 @@ static int sg_proc_seq_show_debug(struct seq_file *s, void *v)
2966 2967
2967module_init(init_sg); 2968module_init(init_sg);
2968module_exit(exit_sg); 2969module_exit(exit_sg);
2969MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR);