1
linux/drivers/scsi/libfc
Chris Leech 86221969e2 [SCSI] libfc: changes to libfc_host_alloc to consolidate initialization with allocation
I'd like to keep basic initialization together with allocation, which means
this can't just be a tail-call to scsi_host_alloc.

This is needed to create a generic libfc host allocation routine for NPIV
VN_Ports, which will share the exchange ID space (through sharing exchange
manager structures) with the parent lport.  In order to clone the exchange
manager list when the lport is allocated, the list head must be initialized
earlier.

Also, update fnic to use the libfc_host_alloc so that later changes do not break
it. (contribution by Joe Eykholt)

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-12-04 12:00:56 -06:00
..
fc_disc.c [SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines 2009-12-04 12:00:55 -06:00
fc_elsct.c [SCSI] libfc: fix memory corruption caused by double frees and bad error handling 2009-12-04 12:00:34 -06:00
fc_exch.c [SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines 2009-12-04 12:00:55 -06:00
fc_fcp.c [SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c 2009-12-04 12:00:55 -06:00
fc_frame.c [SCSI] libfc, fcoe: Don't EXPORT_SYMBOLS unnecessarily 2009-12-04 12:00:24 -06:00
fc_libfc.c [SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c 2009-12-04 12:00:55 -06:00
fc_libfc.h [SCSI] libfc: Move libfc_init and libfc_exit to fc_libfc.c 2009-12-04 12:00:55 -06:00
fc_lport.c [SCSI] libfc: changes to libfc_host_alloc to consolidate initialization with allocation 2009-12-04 12:00:56 -06:00
fc_rport.c [SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines 2009-12-04 12:00:55 -06:00
Makefile [SCSI] libfc: Add libfc/fc_libfc.[ch] for libfc internal routines 2009-12-04 12:00:55 -06:00