Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Dec 1995 05:06:45 +0900
From:      KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
To:        current@freebsd.org
Subject:   bug from Pentium Pro support
Message-ID:  <199512242006.FAA02731@marble.eps.nagoya-u.ac.jp>

next in thread | raw e-mail | index | archive | help
Recent change in machdep.c for Pentium Pro support contains bug.

The function identifycpu() has following code:

#if !defined(I586_CPU)
        case CPUCLASS_586:
#endif
#if !defined(I686_CPU)
        case CPUCLASS_586:
#endif
                panic("CPU class not configured");
        default:
                break;
        }
        dev_attach(&kdc_cpu0);
}

This causes compiler error, 'duplicate case value', when I686_CPU is
not defined.  Correct case value for '#if !defined(I686_CPU)' is
	case CPUCLASS_686:

----
KATO Takenori
Dept. Earth Planet. Sci. Nagoya Univ.  Nagoya 464-01
Voice: +81-52-789-2529   E-mail: kato@eclogite.eps.nagoya-u.ac.jp



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512242006.FAA02731>