process_memory()
{
#
#   Be careful when we determine low/high memory state since the 2.4.9-e.9
#   out-of-the-box linux kernel source directory makes use of conditional
#   compilation directives around all of the usual linux kernel config
#   directives.
#   
#   Just assume low memory for the 2.4.9-e.16 out-of-the-box kernel.
#
    xver=`echo $version | sed -e 's/2.4.9-//' -e 's/\.//' -e 's/[0-9][0-9]//' -e 's/[0-9]//'`
    yver=`echo $version | sed -e 's/2.4.9-//' -e 's/smp//' -e 's/\.//' -e 's/[0-9][0-9]//' -e 's/[0-9]//'`
    zver=`echo $version | sed -e 's/2.4.9-//' -e 's/enterprise//' -e 's/\.//' -e 's/[0-9][0-9]//' -e 's/[0-9]//'`

    aver=`echo $version | grep 2.4.21- | grep ELsmp`
    bver=`echo $version | grep 2.4.21- | grep ELhugemem`

    susehighver=`echo $version | grep "\-4GB"`
    susehighestver=`echo $version | grep "\-64GB"`

    if [ ! "$suselowver" = "" ]; then
	HighMemoryON=LOW
    elif [ "$xver" = "e" -o "$yver" = "e" -o ! "$susehighver" = "" ]; then
	HighMemoryON=HIGH
    elif [ "$zver" = "e" -o ! "$susehighestver" = "" ]; then
	HighMemoryON=HIGHEST
    elif [ ! "$aver" = "" ]; then
	HighMemoryON=HIGHEST
    elif [ ! "$bver" = "" ]; then
	HighMemoryON=HUGE
    else
	if [ "`grep "#define CONFIG_HIGHMEM4G" $ksrc/include/linux/autoconf.h`" != "" ]; then
	    HighMemoryON=HIGH
	elif [ "`grep "#define CONFIG_HIGHMEM64G" $ksrc/include/linux/autoconf.h`" != "" ]; then
	    HighMemoryON=HIGHEST
	else
	    HighMemoryON=LOW
	fi
    fi
}

get_memory_TAG()
{
    if [ "$HighMemoryON" = "HIGHEST" ]; then
	TAG2="${TAG2}_hestmem"
	log "Installing PowerPath binaries for a 64GB memory enabled configuration.\n"
    elif [ "$HighMemoryON" = "HIGH" ]; then
	TAG2="${TAG2}_hmem"
	log "Installing PowerPath binaries for a 4GB memory enabled configuration.\n"
    elif [ "$HighMemoryON" = "HUGE" ]; then
	TAG2="${TAG2}_hugemem"
	log "Installing PowerPath binaries for a 4GB memory enabled configuration.\n"
    else
	TAG2="${TAG2}_lmem"
	log "Installing PowerPath binaries for a 1GB memory enabled configuration.\n"
    fi
}
