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

Tiago Vignatti tiago.vignatti at nokia.com
Thu Jun 3 04:48:07 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 (note you'll need vgaarb-fixes and fbdevhw-cleanup branches applied).

Some of these patches got some reviewed already (thank you!) but there's still
a few missing. In particular, the removal of IOADDRESS type definition from
common/ was subject of a lot of discussions and I tried to make the log
message more clear (kept the _same_ patch). Please take a look there again:

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


Thank you,

            Tiago

Tiago Vignatti (14):
  xfree86: use xf86PciIsolateDevice to get PCI config information
  xfree86: bus: remove useless automake variable
  xfree86: bus: remove xfree86 and few 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
  xfree86: remove IOADDRESS definition from common header file
  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
  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            |   73 +++++++++++++--
 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, 236 insertions(+), 270 deletions(-)



More information about the xorg-devel mailing list