diff options
author | Yi Zou <yi.zou@intel.com> | 2012-12-06 06:23:43 +0000 |
---|---|---|
committer | Robert Love <robert.w.love@intel.com> | 2012-12-14 10:38:55 -0800 |
commit | 66524ec9d0aeaa8bc59077c7c5f78d09ec9eeb9d (patch) | |
tree | dbdae89a6732c5c6dd155c84fd48bf1166589723 /drivers/scsi/fcoe/fcoe.c | |
parent | 8106fb4790c33547a034db53f7658bccd3cfbf6b (diff) | |
download | linux-66524ec9d0aeaa8bc59077c7c5f78d09ec9eeb9d.tar.gz linux-66524ec9d0aeaa8bc59077c7c5f78d09ec9eeb9d.tar.bz2 linux-66524ec9d0aeaa8bc59077c7c5f78d09ec9eeb9d.zip |
fcoe: add support to the get_netdev() for fcoe_interface
Adds support to fcoe_port's newly added get_netdev fucntion pointer.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Cc: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'drivers/scsi/fcoe/fcoe.c')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 21927f7952d8..4cec9ddc03ba 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c @@ -1118,6 +1118,7 @@ static struct fc_lport *fcoe_if_create(struct fcoe_interface *fcoe, port = lport_priv(lport); port->lport = lport; port->priv = fcoe; + port->get_netdev = fcoe_netdev; port->max_queue_depth = FCOE_MAX_QUEUE_DEPTH; port->min_queue_depth = FCOE_MIN_QUEUE_DEPTH; INIT_WORK(&port->destroy_work, fcoe_destroy_work); |