On Wed, Dec 17, 2014 at 08:10:15AM -0800, James Bottomley wrote:
> The usual way to do this is to make the common hardware function a base
> module and make all drivers that use it depend on it.  Like iwldvm ->
> iwlwifi -> mac80211 etc.
> 
> We really wouldn't want to do the link and build because that will
> create two identical binary copies of the interface (one in SCSI and one
> in net) which is a waste of text space.

Agreed.  If the amount of shared code is really small a header with
inlines might be an alternative as there is some overhead creating a new
module.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to