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:

Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Jan Engelhardt
On Jul 27 2007 13:12, Chris Friesen wrote: > Jan Engelhardt wrote: >> On Jul 27 2007 10:17, Subbu Seetharaman wrote: >> >> >What is the recommended way for two drivers to share common code ? >> >...The source code for these dirvers will fit under drivers/net and >> >drivers/scsi. But both driver

Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Chris Friesen
Jan Engelhardt wrote: On Jul 27 2007 10:17, Subbu Seetharaman wrote: What is the recommended way for two drivers to share common code ? ...The source code for these dirvers will fit under drivers/net and drivers/scsi. But both drivers share some common code. You could create (in total) th

Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Jan Engelhardt
On Jul 27 2007 10:17, Subbu Seetharaman wrote: >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

Re: Source organization for two drivers sharing coomon code

2007-07-27 Thread Alan Cox
On Fri, 27 Jul 2007 10:17:29 -0700 "Subbu Seetharaman" <[EMAIL PROTECTED]> wrote: > > > 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 > dri

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