Commit dd0d5b84 authored by Mike Hibler's avatar Mike Hibler

Linux-side support for gatech nodes (pc300)

parent 92fa4ae2
#!/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
NODETYPE=`nodetype`
if [ "$NODETYPE" = 'pc600' ]; then
echo 'eth4'
elif [ "$NODETYPE" = 'pc850' ]; then
case $NODETYPE in
pc300|pc1500|pc2000)
echo 'eth0'
;;
pc850)
echo 'eth2'
elif [ "$NODETYPE" = 'pcL440GX' ]; then
;;
pcL440GX)
echo 'eth2'
elif [ "$NODETYPE" = 'pc1500' ]; then
echo 'eth0'
elif [ "$NODETYPE" = 'pc2000' ]; then
echo 'eth0'
else
echo 'unknown'
fi
;;
pc600)
echo 'eth4'
;;
*)
echo 'unknown';
;;
esac
#!/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.
#
......@@ -21,6 +21,10 @@
print "600";
next
}
/^cpu MHz.*29[0-9]|30[0-9]\.[0-9]+$/ {
print "300";
next
}
/^cpu MHz.*/ {
print "0";
next
......
......@@ -25,6 +25,12 @@ elseif $NT == "pcL440GX"
probe eth0 eepro100
probe eth1 eepro100
probe eth2 eepro100
elseif $NT == "pc300"
probe eth0 eepro100
probe eth1 eepro100
probe eth2 eepro100
probe eth3 eepro100
probe eth4 3c59x
else
probe eth0 eepro100 3c59x
probe eth1 eepro100 tulip
......
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