From: Andrew Vasquez Date: Sat, 9 Jul 2005 01:00:36 +0000 (-0700) Subject: [SCSI] qla2xxx: Cleanup FC remote port registration. X-Git-Tag: v2.6.13-rc4~75^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77d74143612c1dab6c055dac21f965929ba0a7e6;p=pandora-kernel.git [SCSI] qla2xxx: Cleanup FC remote port registration. Cleanup FC remote port registration. Due to the inherent behaviour (an immediate scan) of adding a 'target'-role-capable rport via fc_remote_port_add(), split the registration into two steps -- addition as unknown-type role, then use fc_remote_port_rolchg() with appropriate role (based on PLOGI/PRLI bits). This allows for a more cleaner rport->dd_data management as can be seen with the simplified qla2xxx_slave_alloc() function. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed