[PATCH 00/14] Clean up and reorganize BUS configuration code, take3

Tiago Vignatti tiago.vignatti at nokia.com
Tue Jun 1 07:58:56 PDT 2010


Hi,

Following there are a couple of cleaning up, mostly related with bus
configuration in Xorg. My main motivation in this series was to separate the
PCI code in the way that the server could be compiled without libpciaccess
now.

This is last major changes coming from me and I'd like to see before the
merge window closes this week. I'll appreciate any kind of review until there
(and after, of course! :). The work is here also:

    git://anongit.freedesktop.org/~vignatti/xserver [bus-cleanup-take3]
    http://cgit.freedesktop.org/~vignatti/xserver/log/?h=bus-cleanup-take3


Thanks,

            Tiago

Tiago Vignatti (14):
  xfree86: use xf86PciIsolateDevice to get PCI config informations
  xfree86: bus: remove useless automake variable
  xfree86: bus: remove xfree86 and other references from OS files
  xfree86: configure: move buses references to their own location
  xfree86: dri: remove unused PCI macro
  xfree86: bus: move macros from common PCI header to private file
  xfree86: bus: assign PCI_SOURCES with the actual source files
  xfree86: delete useless "Primary device is not PCI" message
  configure: change PCI function checking by a meaningful version of the library
  configure: remove unused variable referencing PCI code
  configure: make PCI configuration more sane
  xfree86: IOADDRESS is PCIism and shouldn't be used by common header files
  configure: wrap PCI code with macro and set it at build time
  xfree86: bus: remove unused macro checking

 configure.ac                              |   74 ++++++++--------
 hw/xfree86/common/Makefile.am             |    9 ++-
 hw/xfree86/common/xf86.h                  |   12 +++-
 hw/xfree86/common/xf86AutoConfig.c        |    4 +-
 hw/xfree86/common/xf86Bus.c               |   18 +++-
 hw/xfree86/common/xf86Bus.h               |    2 +-
 hw/xfree86/common/xf86Config.c            |   17 +---
 hw/xfree86/common/xf86Configure.c         |  141 ++++++-----------------------
 hw/xfree86/common/xf86DPMS.c              |    3 +-
 hw/xfree86/common/xf86Globals.c           |    4 -
 hw/xfree86/common/xf86Helper.c            |    2 +-
 hw/xfree86/common/xf86Init.c              |    7 ++-
 hw/xfree86/common/xf86Priv.h              |    3 -
 hw/xfree86/common/xf86VGAarbiter.c        |   15 ---
 hw/xfree86/common/xf86fbBus.c             |    2 +
 hw/xfree86/common/xf86pciBus.c            |   70 +++++++++++++--
 hw/xfree86/common/xf86pciBus.h            |    3 +
 hw/xfree86/common/xf86sbusBus.c           |   29 ++++++
 hw/xfree86/common/xf86sbusBus.h           |    4 +
 hw/xfree86/common/xf86str.h               |    9 +--
 hw/xfree86/dri/dri.c                      |    2 -
 hw/xfree86/int10/helper_exec.c            |    5 +
 hw/xfree86/loader/sdksyms.sh              |   10 ++-
 hw/xfree86/os-support/bsd/i386_video.c    |    2 -
 hw/xfree86/os-support/bus/Makefile.am     |    6 +-
 hw/xfree86/os-support/bus/Pci.c           |   15 ---
 hw/xfree86/os-support/bus/Pci.h           |    9 --
 hw/xfree86/os-support/bus/linuxPci.c      |    8 --
 hw/xfree86/os-support/linux/int10/linux.c |    3 -
 include/xorg-config.h.in                  |   15 +---
 30 files changed, 234 insertions(+), 269 deletions(-)



More information about the xorg-devel mailing list