On Tue, Nov 08, 2011 at 02:19:41PM -0800, Roland Dreier wrote: > >> To clarify, I'm not sure that adding target_core_mod symbol dependencies > >> into the qla2xxx LLD makes sense. ?This would mean target_core_mod would > >> need to be loaded even when qla2xxx is configured to run in initiator > >> mode (the presumable default). > > > > Which symbol would you pull in? > > In my opinion we should keep the dependency one-way, that is > tcm_qla2xxx depends on qla2xxx. However the way things should > work IMHO is that tcm_qla2xxx should call a qla2xxx function to > register itself as a target handler, and that registration function > should take a struct that tcm_qla2xxx fills in. Yes, absolutely - this just has't been the highest priority in my complaints about the qla2xxx mess yet :) Now that we have drifted totally offtopic: can we please move all qla2xxx target code to drivers/scsi/qla2xxx that it is in one place, rename the separate target shim module to something more reasonable (qla3xxx-target?), and make sure it is built from a single .c file instead of spreading it around? -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html