Re: [PATCH 02/12] fs_enet: Add MPC5121 FEC support.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Piotr
Date: Thursday, May 21, 2009 - 1:34 am

Thursday 14 May 2009 16:00:33 Grant Likely wrote:

I thought a bit more about merging FEC drivers and I see one problem more.
Driver fs_enet works with FEC's with own DMA engine and fec_mpc52xx.c uses 
BestComm. Integration of these two drivers will need a DMA abstraction layer 
to keep everything clean. Unfortuanetly BestComm driver does not provide any 
abstraction - it only exports set of functions to deal with specific 
hardware: FEC and PATA.

More #ifdef's will be needed to remove linking with BestComm driver if kernel 
will be compiled without 52xx support and resulting code will not be much 
better than existing one. Especially that new DMA abstraction layer probably 
will be quite complex.

-- 
Best Regards.
Piotr Ziecik
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 02/12] fs_enet: Add MPC5121 FEC support., Piotr , (Thu May 21, 1:34 am)
Re: [PATCH 02/12] fs_enet: Add MPC5121 FEC support., Grant Likely, (Thu May 21, 8:36 am)