86221969e2
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> |
||
---|---|---|
.. | ||
cq_desc.h | ||
cq_enet_desc.h | ||
cq_exch_desc.h | ||
fcpio.h | ||
fnic_attrs.c | ||
fnic_fcs.c | ||
fnic_io.h | ||
fnic_isr.c | ||
fnic_main.c | ||
fnic_res.c | ||
fnic_res.h | ||
fnic_scsi.c | ||
fnic.h | ||
Makefile | ||
rq_enet_desc.h | ||
vnic_cq_copy.h | ||
vnic_cq.c | ||
vnic_cq.h | ||
vnic_dev.c | ||
vnic_dev.h | ||
vnic_devcmd.h | ||
vnic_intr.c | ||
vnic_intr.h | ||
vnic_nic.h | ||
vnic_resource.h | ||
vnic_rq.c | ||
vnic_rq.h | ||
vnic_scsi.h | ||
vnic_stats.h | ||
vnic_wq_copy.c | ||
vnic_wq_copy.h | ||
vnic_wq.c | ||
vnic_wq.h | ||
wq_enet_desc.h |