public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [UPDATE] 2.4.10-pre2 PCI64, API changes README
@ 2001-08-30  1:18 David S. Miller
  2001-08-30 12:34 ` Gerd Knorr
  0 siblings, 1 reply; 10+ messages in thread
From: David S. Miller @ 2001-08-30  1:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: axboe, rth, davidm


Ok, new patch up on kernel.org against 2.4.10-pre2:

ftp.kernel.org:/pub/linux/kernel/davem/PCI64/pci64-2.4.10p2-1.patch.gz

The major change in this release is that the API has been redone.
After considering feedback on this list, and in particular feedback
from David Mosberger in private emails, I redid things to match the
simplifications suggested without losing sight of the goals I had.

Basically, what has changed is that nothing changes :-)  There are no
longer pci64_foo() interfaces, a normal drivers use dma_addr_t and
pci_foo() for 32-bit and 64-bit drivers.

If you have a "weird device" which requires a large DMA address space,
the solution is provided in a set of pci_dac_*() interfaces.  These
are like "virt_to_bus()" for PCI DAC but with cache coherency,
HIGHMEM, and other portability issues kept in mind.

I could just regurgitate the DMA-mapping.txt changes, but I think it's
better for folks to just go look at what is written there.

Also, I integrated the Alpha bits from Richard.  He wrote his stuff
against the old API, so I had to whack it into the new stuff.  So if
there are any build problems or bugs, they are mine and mine alone.

If you look at the driver changes now, they are more about
initialization changes and using dma_addr_t more consistently.
But that's about it.

Jens should be making a nobounce patch relative to this some time
soon.

Enjoy, and please send feedback and success/failure reports.  Thanks.

Later,
David S. Miller
davem@redhat.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-08-31 14:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-30  1:18 [UPDATE] 2.4.10-pre2 PCI64, API changes README David S. Miller
2001-08-30 12:34 ` Gerd Knorr
2001-08-30 23:06   ` David S. Miller
2001-08-30 23:14     ` Alan Cox
2001-08-30 23:14       ` David S. Miller
2001-08-30 23:30         ` Alan Cox
2001-08-30 23:31           ` David S. Miller
2001-08-31  7:22           ` Gerd Knorr
2001-08-31  8:58             ` David S. Miller
2001-08-31 14:12             ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox