OpenCloudOS-Kernel/drivers/scsi/libfc
Robert Love 7b2787ec15 [SCSI] libfc: Move the port_id into lport
This patch creates a port_id member in struct fc_lport.
This allows libfc to just deal with fc_lport instances
instead of calling into the fc_host to get the port_id.

This change helps in only using symbols necessary for
operation from the libfc structures. libfc still needs
to change the fc_host_port_id() if the port_id changes
so the presentation layer (scsi_transport_fc) can provide
the user with the correct value, but libfc shouldn't
rely on the presentation layer for operational values.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-16 22:22:34 -04:00
..
Makefile [SCSI] libfc: add some generic NPIV support routines to libfc 2009-12-04 12:00:56 -06:00
fc_disc.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_elsct.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_exch.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_fcp.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_frame.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fc_libfc.c [SCSI] libfc: Formatting cleanups across libfc 2009-12-04 12:01:07 -06:00
fc_libfc.h [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_lport.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_npiv.c [SCSI] libfc: Move the port_id into lport 2010-05-16 22:22:34 -04:00
fc_rport.c [SCSI] libfc: recode incoming PRLI handling 2010-04-11 09:23:33 -05:00