[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-pci
Subject:    Re: [PATCH] pciutils: Include arm support.
From:       Matthew Wilcox <matthew () wil ! cx>
Date:       2009-04-29 13:29:11
Message-ID: 20090429132911.GH21648 () parisc-linux ! org
[Download RAW message or body]

On Wed, Apr 29, 2009 at 06:36:11PM +0530, Kedar Sovani wrote:
> Please consider for inclusion.

Um.  What effect does this have?  The only places we currently check 'cpu'
are sparc64 and i386 / x86-64.  It might make PCI_ARCH_* look a bit cleaner,
but other than that ...

>  Signed-off-by: Kedar Sovani <kedars@marvell.com>
> 
> --- pciutils-3.1.2/lib/configure.orig	2009-04-29 06:14:44.000000000 -0400
> +++ pciutils-3.1.2/lib/configure	2009-04-29 06:14:52.000000000 -0400
> @@ -29,7 +29,7 @@ if [ -z "$HOST" ] ; then
>  		proc=`/usr/sbin/lsdev -C -c processor -S available -F name | head -1`
>  		cpu=`/usr/sbin/lsattr -F value -l $proc -a type | sed 's/_.*//'`
>  	else
> -		cpu=`uname -m | sed 's/^i.86$/i386/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'`
> +		cpu=`uname -m | sed 's/^i.86$/i386/;s/arm.*/arm/;s/^sun4u$/sparc64/;s/^i86pc$/i386/'`
>  	fi
>  	if [ "$sys" = "GNU/kFreeBSD" -o "$sys" = "DragonFly" ]
>  	then
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Matthew Wilcox				Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic