Re: Any guides for adding new IDE chipset drivers?
From: Alex Bennee <hidden>
Date: 2004-02-17 14:32:26
Also in:
lkml
On Monday 16 of Febuary 2004 09:40:21 PST, Bart wrote:
On Monday 16 of February 2004 18:04, Alex Bennee wrote:quoted
Is there a driver that can be held of as an example of good taste and the "right" way to implement a chipset driver?Yep. Please take a look at drivers/ide/arm/icside.c. It is well written, quite simple and has DMA support.
Thanks. I'll base my driver on this one as it does seem quite easy to follow. However I'm wondering what the point of the begin/end functions are. The dma_read/write functions just seem to call dma_count which starts the dma requests going. Am I missing something here? Is all that required from the higher level a single call to dma_read/write or should I be expecting a series of calls to setup a transfer?
If you have any questions/issues feel free to ask on linux-ide@vger.kernel.org mailing list.
Hmmm, vger seems to be ignoring my subscribe requests. Is the list archived anywhere? None are listed on VGER. -- Alex, homepage: http://www.bennee.com/~alex/ It is a hard matter, my fellow citizens, to argue with the belly, since it has no ears. -- Marcus Porcius Cato