aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/fcoe/fcoe.h
diff options
context:
space:
mode:
authorChris Leech <christopher.leech@intel.com>2009-08-25 13:59:24 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 12:07:31 -0500
commitaf7f85d95a34b04f5cf8c3b8c2d4cdd179dc1e19 (patch)
tree59e0eae4a609f89dac651c5d59a797b44b9ce773 /drivers/scsi/fcoe/fcoe.h
parent36eb7fc872bdd7f7443ce24a718784bfa567f6c7 (diff)
[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/fcoe/fcoe.h')
0 files changed, 0 insertions, 0 deletions