diff options
author | Rene Herman <rene.herman@keyaccess.nl> | 2006-03-08 03:14:20 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-12 10:11:16 -0500 |
commit | f018fa552c52642a6b9db2bda90477762e42163f (patch) | |
tree | 5baf17322997aae5e9373e8f9e6d1c993d2ad0ff /drivers/scsi/osst.c | |
parent | 76744f429a178ad2df06b722e5e7bbbf1b5245ee (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/osst.c')
-rw-r--r-- | drivers/scsi/osst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 00f3edc2417f..66ea47a9c53c 100644 --- a/drivers/scsi/osst.c +++ b/drivers/scsi/osst.c | |||
@@ -85,6 +85,7 @@ static int max_sg_segs = 0; | |||
85 | MODULE_AUTHOR("Willem Riede"); | 85 | MODULE_AUTHOR("Willem Riede"); |
86 | MODULE_DESCRIPTION("OnStream {DI-|FW-|SC-|USB}{30|50} Tape Driver"); | 86 | MODULE_DESCRIPTION("OnStream {DI-|FW-|SC-|USB}{30|50} Tape Driver"); |
87 | MODULE_LICENSE("GPL"); | 87 | MODULE_LICENSE("GPL"); |
88 | MODULE_ALIAS_CHARDEV_MAJOR(OSST_MAJOR); | ||
88 | 89 | ||
89 | module_param(max_dev, int, 0444); | 90 | module_param(max_dev, int, 0444); |
90 | MODULE_PARM_DESC(max_dev, "Maximum number of OnStream Tape Drives to attach (4)"); | 91 | MODULE_PARM_DESC(max_dev, "Maximum number of OnStream Tape Drives to attach (4)"); |