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?
--