diff options
-rw-r--r-- | drivers/scsi/ch.c | 1 | ||||
-rw-r--r-- | drivers/scsi/osst.c | 1 | ||||
-rw-r--r-- | drivers/scsi/sd.c | 25 | ||||
-rw-r--r-- | drivers/scsi/sg.c | 2 | ||||
-rw-r--r-- | drivers/scsi/sr.c | 4 | ||||
-rw-r--r-- | drivers/scsi/st.c | 3 |
6 files changed, 30 insertions, 6 deletions
diff --git a/drivers/scsi/ch.c b/drivers/scsi/ch.c index c3f27285db1b..d9abd1645d15 100644 --- a/drivers/scsi/ch.c +++ b/drivers/scsi/ch.c | |||
@@ -39,6 +39,7 @@ | |||
39 | MODULE_DESCRIPTION("device driver for scsi media changer devices"); | 39 | MODULE_DESCRIPTION("device driver for scsi media changer devices"); |
40 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>"); | 40 | MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>"); |
41 | MODULE_LICENSE("GPL"); | 41 | MODULE_LICENSE("GPL"); |
42 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR); | ||
42 | 43 | ||
43 | static int init = 1; | 44 | static int init = 1; |
44 | module_param(init, int, 0444); | 45 | module_param(init, int, 0444); |
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)"); |
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 31c9685ebc5a..3b01e5d6221c 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -71,6 +71,27 @@ | |||
71 | */ | 71 | */ |
72 | #define SD_MAJORS 16 | 72 | #define SD_MAJORS 16 |
73 | 73 | ||
74 | MODULE_AUTHOR("Eric Youngdale"); | ||
75 | MODULE_DESCRIPTION("SCSI disk (sd) driver"); | ||
76 | MODULE_LICENSE("GPL"); | ||
77 | |||
78 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK0_MAJOR); | ||
79 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK1_MAJOR); | ||
80 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK2_MAJOR); | ||
81 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK3_MAJOR); | ||
82 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK4_MAJOR); | ||
83 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK5_MAJOR); | ||
84 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK6_MAJOR); | ||
85 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK7_MAJOR); | ||
86 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK8_MAJOR); | ||
87 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK9_MAJOR); | ||
88 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK10_MAJOR); | ||
89 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK11_MAJOR); | ||
90 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK12_MAJOR); | ||
91 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK13_MAJOR); | ||
92 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK14_MAJOR); | ||
93 | MODULE_ALIAS_BLOCKDEV_MAJOR(SCSI_DISK15_MAJOR); | ||
94 | |||
74 | /* | 95 | /* |
75 | * This is limited by the naming scheme enforced in sd_probe, | 96 | * This is limited by the naming scheme enforced in sd_probe, |
76 | * add another character to it if you really need more disks. | 97 | * add another character to it if you really need more disks. |
@@ -1713,9 +1734,5 @@ static void __exit exit_sd(void) | |||
1713 | unregister_blkdev(sd_major(i), "sd"); | 1734 | unregister_blkdev(sd_major(i), "sd"); |
1714 | } | 1735 | } |
1715 | 1736 | ||
1716 | MODULE_LICENSE("GPL"); | ||
1717 | MODULE_AUTHOR("Eric Youngdale"); | ||
1718 | MODULE_DESCRIPTION("SCSI disk (sd) driver"); | ||
1719 | |||
1720 | module_init(init_sd); | 1737 | module_init(init_sd); |
1721 | module_exit(exit_sd); | 1738 | module_exit(exit_sd); |
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"); | |||
1569 | MODULE_DESCRIPTION("SCSI generic (sg) driver"); | 1569 | MODULE_DESCRIPTION("SCSI generic (sg) driver"); |
1570 | MODULE_LICENSE("GPL"); | 1570 | MODULE_LICENSE("GPL"); |
1571 | MODULE_VERSION(SG_VERSION_STR); | 1571 | MODULE_VERSION(SG_VERSION_STR); |
1572 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR); | ||
1572 | 1573 | ||
1573 | MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd"); | 1574 | MODULE_PARM_DESC(def_reserved_size, "size of buffer reserved for each fd"); |
1574 | MODULE_PARM_DESC(allow_dio, "allow direct I/O (default: 0 (disallow))"); | 1575 | MODULE_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 | ||
2967 | module_init(init_sg); | 2968 | module_init(init_sg); |
2968 | module_exit(exit_sg); | 2969 | module_exit(exit_sg); |
2969 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR); | ||
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 | ||
63 | MODULE_DESCRIPTION("SCSI cdrom (sr) driver"); | ||
64 | MODULE_LICENSE("GPL"); | ||
65 | MODULE_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 |
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 31c6eefba9d6..d40e7c871c36 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -86,8 +86,9 @@ static int st_nr_dev; | |||
86 | static struct class *st_sysfs_class; | 86 | static struct class *st_sysfs_class; |
87 | 87 | ||
88 | MODULE_AUTHOR("Kai Makisara"); | 88 | MODULE_AUTHOR("Kai Makisara"); |
89 | MODULE_DESCRIPTION("SCSI Tape Driver"); | 89 | MODULE_DESCRIPTION("SCSI tape (st) driver"); |
90 | MODULE_LICENSE("GPL"); | 90 | MODULE_LICENSE("GPL"); |
91 | MODULE_ALIAS_CHARDEV_MAJOR(SCSI_TAPE_MAJOR); | ||
91 | 92 | ||
92 | /* Set 'perm' (4th argument) to 0 to disable module_param's definition | 93 | /* Set 'perm' (4th argument) to 0 to disable module_param's definition |
93 | * of sysfs parameters (which module_param doesn't yet support). | 94 | * of sysfs parameters (which module_param doesn't yet support). |