提交 95f6c83f 编写于 作者: S Scott James Remnant 提交者: James Bottomley

[SCSI] ch: Add scsi type modalias

The ch module is missing the scsi:t-0x08* alias that would cause it to
be auto-loaded when a device of that type if found by udev, requiring
udev to have a specific rule just for this one module.  This patch adds
the alias.
Signed-off-by: NScott James Remnant <scott@canonical.com>
Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
上级 7a252fe7
...@@ -41,6 +41,7 @@ MODULE_DESCRIPTION("device driver for scsi media changer devices"); ...@@ -41,6 +41,7 @@ MODULE_DESCRIPTION("device driver for scsi media changer devices");
MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>"); MODULE_AUTHOR("Gerd Knorr <kraxel@bytesex.org>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR); MODULE_ALIAS_CHARDEV_MAJOR(SCSI_CHANGER_MAJOR);
MODULE_ALIAS_SCSI_DEVICE(TYPE_MEDIUM_CHANGER);
static int init = 1; static int init = 1;
module_param(init, int, 0444); module_param(init, int, 0444);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册