]> git.hungrycats.org Git - linux/commit
[PATCH] ia64: simplify and speedup SN2 dma mapping
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Sep 2003 06:58:45 +0000 (23:58 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 26 Sep 2003 06:58:45 +0000 (23:58 -0700)
commite4af63aad88a2c8cee0fac733c37fcc1f92354ee
tree9949f3f93f99f22e0b5f7583b4c8e8fc8edeea31
parent158f851182f75592165531dd476cfc5c581a64c9
[PATCH] ia64: simplify and speedup SN2 dma mapping

Currently the the SN2 dma mapping code uses a file systen lookup (cat /r/napali/tmp/p10 |diffstat -p1) to
find the operation vector for the underlying dma mapping implementation.

But not only there is exactly one of those implementation, also data
structures from this lowlevel driver are used in the actual Linux dma
mapping routines and quite a few assumption are made about it.  So let's
just call directly in the lowlevel code and give up this utter bullshit.
arch/ia64/sn/io/machvec/pci_bus_cvlink.c
arch/ia64/sn/io/machvec/pci_dma.c
include/asm-ia64/sn/pci/pcibr_private.h