[PATCH] PCI: Remove pciBusAddrToHostAddr and associated nonsense
Ian Romanick
idr at freedesktop.org
Mon Feb 16 11:08:07 PST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adam Jackson wrote:
> This was all a glorified no-op. We rely on pciaccess to create device
> maps anyway, so we should have no reason to care about what the host
> address is.
> ---
> hw/xfree86/common/xf86pciBus.c | 31 -----
> hw/xfree86/os-support/bus/Pci.c | 17 ---
> hw/xfree86/os-support/bus/Pci.h | 13 --
> hw/xfree86/os-support/bus/linuxPci.c | 77 ------------
> hw/xfree86/os-support/linux/Makefile.am | 2 +-
> hw/xfree86/os-support/linux/lnx_pci.c | 193 -------------------------------
> hw/xfree86/os-support/xf86_OSproc.h | 2 -
> 7 files changed, 1 insertions(+), 334 deletions(-)
> delete mode 100644 hw/xfree86/os-support/linux/lnx_pci.c
I had left these bits in for a couple reasons. I could have sworn that
there was still one or two drivers that called into them. They also
provide some documentation in case some hapless fool wanted to port the
old /dev/mem methods to libpciaccess. I don't see any drive references
to these functions now, and if someone were going to do such a back-port
they would have started by now.
Acked-by: Ian Romanick <ian.d.romanick at intel.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmZuZcACgkQX1gOwKyEAw+gpACeLoy2L6i+SLYZIFEXnrAqqKbO
rxwAn0WKjtmwYiJTlbLqD+/gmcG/BJDa
=u0l0
-----END PGP SIGNATURE-----
More information about the xorg-devel
mailing list