--- kernel/machdep/ppc/powermac.h 2018/04/24 18:26:08 1.1.1.1 +++ kernel/machdep/ppc/powermac.h 2018/04/24 18:32:51 1.1.1.2 @@ -21,7 +21,6 @@ * * @APPLE_LICENSE_HEADER_END@ */ - #ifndef _POWERMAC_H_ #define _POWERMAC_H_ @@ -43,6 +42,7 @@ #define POWERMAC_CLASS_GOSSAMER 6 /* PowerMac G3 Desk/Mini-Twr */ #define POWERMAC_CLASS_POWERSTAR 7 /* PowerBook 2400/3400/G3 */ #define POWERMAC_CLASS_YOSEMITE 8 /* 1st Gen New World */ +#define POWERMAC_CLASS_SAWTOOTH 9 /* Core99 */ /* Some macros for easy machine identification */ #define IsPowerSurge() (powermac_info.class == POWERMAC_CLASS_POWERSURGE) @@ -57,6 +57,8 @@ #define IsYosemite() (powermac_info.class == POWERMAC_CLASS_YOSEMITE) +#define IsSawtooth() (powermac_info.class == POWERMAC_CLASS_SAWTOOTH) + // This is not safe until the PMU or Cuda driver have been set up. #define HasPMU() (powermac_info.hasPMU)