From: Chris Leech Date: Tue, 25 Aug 2009 20:59:24 +0000 (-0700) Subject: [SCSI] fcoe: interface changes to fcoe_if_create and fcoe_if_destroy X-Git-Tag: v2.6.32-rc1~689^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7f85d95a34b04f5cf8c3b8c2d4cdd179dc1e19;p=pandora-kernel.git [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 Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed