lib: rename intel_pci.c to intel_chipset.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 22 Mar 2014 13:45:50 +0000 (14:45 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 22 Mar 2014 13:47:21 +0000 (14:47 +0100)
This is to consolidate all the chipset related functions to
intel_chipset.[hc].

Unfortunately we need to rename a wrapper lib file in quick_dump, too.
And quick_dump makes automake a bit unhappy apparently.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/Makefile.sources
lib/intel_chipset.c [moved from lib/intel_pci.c with 100% similarity]
tools/quick_dump/Makefile.am
tools/quick_dump/chipset_macro_wrap.c [moved from tools/quick_dump/intel_chipset.c with 100% similarity]

index a3a679c..2b700c6 100644 (file)
@@ -18,7 +18,7 @@ libintel_tools_la_SOURCES =   \
        intel_drm.c             \
        intel_gpu_tools.h       \
        intel_mmio.c            \
-       intel_pci.c             \
+       intel_chipset.c         \
        intel_reg.h             \
        ioctl_wrappers.c        \
        ioctl_wrappers.h        \
similarity index 100%
rename from lib/intel_pci.c
rename to lib/intel_chipset.c
index 1814315..e6329c9 100644 (file)
@@ -7,9 +7,9 @@ bin_SCRIPTS = chipset.py
 
 lib_LTLIBRARIES = I915ChipsetPython.la
 I915ChipsetPython_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS) $(PCIACCESS_LIBS)
-I915ChipsetPython_la_SOURCES = chipset_wrap_python.c intel_chipset.c \
+I915ChipsetPython_la_SOURCES = chipset_wrap_python.c chipset_macro_wrap.c \
                               $(top_srcdir)/lib/intel_drm.c  \
-                              $(top_srcdir)/lib/intel_pci.c  \
+                              $(top_srcdir)/lib/intel_chipset.c  \
                               $(top_srcdir)/lib/intel_reg_map.c  \
                               $(top_srcdir)/lib/intel_mmio.c  \
                               $(top_srcdir)/lib/intel_iosf.c