Re: [PATCH] pciutils: Include arm support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>
> 
> --- 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@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux