summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_transport_iscsi.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-12-09 09:37:56 -0800
committerJames Bottomley <James.Bottomley@suse.de>2010-12-21 12:24:48 -0600
commit058548ae23f5811d0ccdb39d5ad40f078aca63ef (patch)
tree18bbb7a7d7c142cacd5c131f277691c7f81a2d27 /drivers/scsi/scsi_transport_iscsi.c
parent0d81b4e8dcc4177726f30a1ac8df1f726d2a7c0c (diff)
downloadop-kernel-dev-058548ae23f5811d0ccdb39d5ad40f078aca63ef.zip
op-kernel-dev-058548ae23f5811d0ccdb39d5ad40f078aca63ef.tar.gz
[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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index 332387a..f905ecb 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);
OpenPOWER on IntegriCloud