Tejun Heo wrote:
Jeff, there are further problems with doing pci_go_64() only on devices which support 64bit. pci_set_dma_mask() is the only place where the PCI code can test whether DMA is usable or not, so if we don't configure DMA mask on 32bit controllers, there's no way to tell whether DMA is allowed on the controller/bus or not. We end up blindly enabling bus mastering without consulting the PCI bus. I think it's just cleaner to do pci_configure_dma_masks() on all cases with proper DMA mask.
There is always a cleaner solution :) My implementation is based on current practice for all 64-bit drivers. If you wish to change current practice, that is another matter... Jeff - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html