diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-12-09 18:37:56 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-21 19:24:48 +0100 |
commit | 058548ae23f5811d0ccdb39d5ad40f078aca63ef (patch) | |
tree | 18bbb7a7d7c142cacd5c131f277691c7f81a2d27 /drivers/scsi/scsi_transport_iscsi.c | |
parent | [SCSI] zfcp: Add allow_lun_scan module parameter (diff) | |
download | linux-058548ae23f5811d0ccdb39d5ad40f078aca63ef.tar.xz linux-058548ae23f5811d0ccdb39d5ad40f078aca63ef.zip |
[SCSI] iscsi: add module alias
Since iscsi transport can be built as a module and uses netlink socket
to communicate. The module should have an alias to autoload when socket
of NETLINK_ISCSI type is requested.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
-rw-r--r-- | drivers/scsi/scsi_transport_iscsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 332387a6bc25..f905ecb5704d 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c @@ -2200,3 +2200,4 @@ MODULE_AUTHOR("Mike Christie <michaelc@cs.wisc.edu>, " MODULE_DESCRIPTION("iSCSI Transport Interface"); MODULE_LICENSE("GPL"); MODULE_VERSION(ISCSI_TRANSPORT_VERSION); +MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_ISCSI); |