diff options
author | Chris Leech <christopher.leech@intel.com> | 2009-08-25 13:59:24 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 12:07:31 -0500 |
commit | af7f85d95a34b04f5cf8c3b8c2d4cdd179dc1e19 (patch) | |
tree | 59e0eae4a609f89dac651c5d59a797b44b9ce773 /drivers/scsi/qla1280.c | |
parent | 36eb7fc872bdd7f7443ce24a718784bfa567f6c7 (diff) | |
download | blackbird-op-linux-af7f85d95a34b04f5cf8c3b8c2d4cdd179dc1e19.tar.gz blackbird-op-linux-af7f85d95a34b04f5cf8c3b8c2d4cdd179dc1e19.zip |
[SCSI] fcoe: interface changes to fcoe_if_create and fcoe_if_destroy
By passing in the parent device instead of assuming the netdev is what
should be used, fcoe_if_create becomes usable for NPIV vports as well.
You still need a netdev, because that's how FCoE works. Also removed some
duplicate checks from fcoe_if_create that are already in fcoe_create.
fcoe_if_destroy needs to take an lport as it's only argument, not a netdev.
That removes the 1:1 netdev:lport assumption from the destroy path.
Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla1280.c')
0 files changed, 0 insertions, 0 deletions