Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Subbu Seetharaman
:[EMAIL PROTECTED] Cc: Subbu Seetharaman [mailto:[EMAIL PROTECTED], linux-kernel@vger.kernel.org Sent: Fri, 27 Jul 2007 12:34:16 -0700 Subject: Re: Source organization for two drivers sharing coomon code On Jul 27 2007 13:12, Chris Friesen wrote: > Jan Engelhardt wrote: >> On Jul 27 2007 10:

Source organization for two drivers sharing coomon code

2007-07-27 Thread Subbu Seetharaman
What is the recommended way for two drivers to share common code ? Our device has two PCI functions and hence two drivers - NIC and SCSI driver. The source code for these dirvers will fit under drivers/net and drivers/scsi. But both drivers share some common code. If possible, I would lik