Messages in this thread | | | Date | Mon, 20 Mar 2006 20:12:23 -0500 | From | Jeff Garzik <> | Subject | Re: [git patches] libata updates |
| |
Alan Cox wrote: > On Llu, 2006-03-20 at 06:16 -0500, Jeff Garzik wrote: > >>Jeff Garzik: >> [libata] Move PCI IDE BMDMA-related code to new file libata-bmdma.c. > > > This is a most confusing choice as 80% of the file has nothing to do > with bus mastering DMA, and a large amount of it has nothing to do with > PCI either. Also lots of DMA stuff is in the drivers so all the new bus > mastering drivers don't use bmdma.c > > The split makes sense, the choice of name is peculiar, if not completely > broken 8)
Peculiar? Probably... :)
In my [no doubt warped] brain, I equate the SFF-8038 interface to "PCI IDE BMDMA", and from there, view most hardware as a subset of PCI IDE BMDMA. It might not do DMA, might not be PCI, might not do irqs, but most PATA hardware seems able to be driven by a "bmdma driver". Thus, the name :)
Jeff
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |