Prev: pci/dmar/sriov: use physfn to search drhd for VF
Next: [PATCH 02/13] mm: Revalidate anon_vma in page_lock_anon_vma()
From: Mike Christie on 8 Apr 2010 15:20 On 04/08/2010 07:14 AM, Rakesh Ranjan wrote: > From: Rakesh Ranjan<rakesh(a)chelsio.com> > > > Signed-off-by: Rakesh Ranjan<rakesh(a)chelsio.com> > --- > drivers/scsi/cxgb4i/cxgb4i_iscsi.c | 715 ++++++++++++++++++++++++++++++++++++ > drivers/scsi/cxgb4i/cxgb4i_pdu.c | 475 ++++++++++++++++++++++++ > drivers/scsi/cxgb4i/cxgb4i_pdu.h | 61 +++ > 3 files changed, 1251 insertions(+), 0 deletions(-) > create mode 100644 drivers/scsi/cxgb4i/cxgb4i_iscsi.c > create mode 100644 drivers/scsi/cxgb4i/cxgb4i_pdu.c > create mode 100644 drivers/scsi/cxgb4i/cxgb4i_pdu.h > The code in these files looks like the code is the cxgb3i iscsi and pdu code. Can you just make a common cxgb3i iscsi/pdu layer and add some callouts? Something similar to what qla2xxx or lpfc has done to support multiple cards. In their case they have common fc and driver stuff and then callouts for hw specifics? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |