Commit cdb51a8f authored by Mike Hibler's avatar Mike Hibler

More pc850a changes

parent 5fd51782
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
/^[ ]+Host bridge: Intel Corporation.*[0-9][0-9][0-9][0-9][0-9]BX/ {
#
# "true" pc850 reports:
# Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 3).
# upgraded pc600 reports:
# Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 3).
#
/^[ ]+Host bridge: Intel Corp.*[0-9][0-9][0-9][0-9][0-9]BX.*\(AGP disabled\)/ {
print "BX";
next
}
/^[ ]+Host bridge: Intel Corporation.*[0-9][0-9][0-9][0-9][0-9]GX/ {
/^[ ]+Host bridge: Intel Corp.*[0-9][0-9][0-9][0-9][0-9]BX/ {
print "BX-AGP";
next
}
/^[ ]+Host bridge: Intel Corp.*[0-9][0-9][0-9][0-9][0-9]GX/ {
print "GX";
next
}
......
......@@ -14,13 +14,10 @@ pc300|pc1500|pc2000)
i2)
echo 'eth1'
;;
pc850)
pc850|pcL440GX)
echo 'eth2'
;;
pcL440GX)
echo 'eth2'
;;
pc600)
pc600|pc850a)
echo 'eth4'
;;
*)
......
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
. /etc/emulab/paths.sh
......@@ -15,14 +15,22 @@ fi
if [ x$cpuspeed = x ] || [ $cpuspeed = 0 ]; then
echo "unknown";
# XXX hack for minibed
# XXX hack for minibed and buff pc600s
elif [ $cpuspeed = "850" -a -x $BINDIR/chipset.awk ]; then
if [ "`$BINDIR/chipset.awk /proc/pci`" = "GX" ]; then
echo pcL440GX;
else
echo pc$cpuspeed;
fi
case `$BINDIR/chipset.awk /proc/pci` in
BX)
echo pc850 # normal pc850
;;
GX)
echo pcL440GX # minibed node
;;
BX-AGP)
echo pc850a # buff pc600 node
;;
*)
echo unknown
;;
esac
# For Wiconsin nodes - they have a different node typing scheme
elif [ $cpuspeed = "2500" ]; then
echo i2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment