Re: [PATCH] libata-sff: Don't call bmdma_stop on non DMA capablecontrollers

From: Jeff Garzik
Date: Thu Jan 25 2007 - 21:11:55 EST


Linus Torvalds wrote:
So *if* you use the new "iomap" interfaces, and the new "pci_iomap()" things, that should actually not just allow drivers (like the ATA layer) to share much more code between the PIO and MMIO cases, but it hopefully actually makes it easier for strange architectures to do it all.


Another aside: Tejun took my libata iomap and came up with something I'm quite happy with, so libata will /finally/ switch over to using the new iomap interfaces for 98% of all drivers, as of 2.6.21.

Look at "[PATCHSET] Managed device resources, take #3" on LKML if you're interested. Tejun's 'devres' stuff makes it a lot easier for drivers to reserve, map, unmap, and free various hardware resources.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/