Message ID | 1241010371-31623-1-git-send-email-kedars@marvell.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
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
--- 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
Please consider for inclusion. Signed-off-by: Kedar Sovani <kedars@marvell.com> -- 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