Messages in this thread |  | | Date | Sun, 21 Jan 2001 09:38:21 -0500 | From | Jeff Garzik <> | Subject | Re: Q: natsemi.c spinlocks |
| |
Manfred wrote: > > Andrew Morton wrote: > > > > start_tx() > > { > > Yes, I overlooked start_tx. > > Hmm. start_tx also assumes that the cpu commits writes in order, I'm > sure the driver is unreliable on RISC cpus. > > Perhaps the driver should use pci_alloc_consistent and pci_map_single?
Eventually, all drivers which use PCI DMA of some sort -should- use pci_alloc_consistent, etc.
Jeff
-- Jeff Garzik | "You see, in this world there's two kinds of Building 1024 | people, my friend: Those with loaded guns MandrakeSoft | and those who dig. You dig." --Blondie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |