Re: [Powertop] [PATCH] conditionally disable pci support on ARM platforms

2012-06-24 Thread Rajagopal Venkat
On 23 June 2012 01:31, Arjan van de Ven wrote: > On 6/22/2012 11:42 AM, Rajagopal Venkat wrote: > > +case "$host" in > > +arm*) > > + AC_DEFINE([HAVE_NO_PCI],[1],[Define if host platform is ARM]) > > + ;; > > +*) > > + PKG_CHECK_MODULES([PCIUTILS], [libpci],[],[ > > + AC_S

Re: [Powertop] [PATCH] conditionally disable pci support on ARM platforms

2012-06-24 Thread Peter Maydell
On 24 June 2012 20:28, Marcin Juszkiewicz wrote: > W dniu 22.06.2012 22:01, Arjan van de Ven pisze: >> being arm or not is completely irrelevant in this regard. >> (and there will undoubtedly ARM systems at some point that will have PCI >> in them) > > Already there are ARM devices with PCI(e) sup

Re: [Powertop] [PATCH] conditionally disable pci support on ARM platforms

2012-06-24 Thread Marcin Juszkiewicz
W dniu 22.06.2012 22:01, Arjan van de Ven pisze: > On 6/22/2012 11:42 AM, Rajagopal Venkat wrote: >> +case "$host" in >> +arm*) >> +AC_DEFINE([HAVE_NO_PCI],[1],[Define if host platform is ARM]) >> +;; >> +*) >> +PKG_CHECK_MODULES([PCIUTILS], [libpci],[],[ >> +AC_SEARCH_LIBS(

Re: [Powertop] [PATCH] conditionally disable pci support on ARM platforms

2012-06-22 Thread Arjan van de Ven
On 6/22/2012 11:42 AM, Rajagopal Venkat wrote: > +case "$host" in > +arm*) > + AC_DEFINE([HAVE_NO_PCI],[1],[Define if host platform is ARM]) > + ;; > +*) > + PKG_CHECK_MODULES([PCIUTILS], [libpci],[],[ > + AC_SEARCH_LIBS([pci_get_dev], [pci], [], AC_MSG_ERROR([libpci > is r

[Powertop][PATCH] conditionally disable pci support on ARM platforms

2012-06-22 Thread Rajagopal Venkat
Signed-off-by: Rajagopal Venkat --- configure.ac | 16 +--- src/lib.cpp | 20 ++-- src/lib.h|4 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 4da4eea..c2ff430 100644 --- a/configure.ac +++ b/configur