[PATCH] Add option for Centaur/IDT Winchip(s) in config.

From: Dave Jones (dave@denial.force9.co.uk)
Date: Mon May 01 2000 - 11:46:53 EST


The patch below adds configuration options for Centaur/IDT winchips,
setting the correct cache alignment options, and enabling 3dnow!
memory copy routines on Winchip 2A and above.

The Winchip-C6 option sets the same flags as the AMD-K6, but I feel
that giving it a seperate option will prevent confusion.

regards,

-- 
Dave.

diff -urN linux-2.3.99-pre7-1/Documentation/Configure.help linux-2.3.99-pre7-1-dj/Documentation/Configure.help --- linux-2.3.99-pre7-1/Documentation/Configure.help Sun Apr 30 15:11:52 2000 +++ linux-2.3.99-pre7-1-dj/Documentation/Configure.help Mon May 1 17:32:03 2000 @@ -2739,6 +2739,8 @@ Intel Pentium Pro/Celeron/Pentium II/Pentium III. - "K6/II/III" for the AMD K6, K6-II and K6-III (aka K6-3D). - "Athlon" for the AMD Athlon (K7). + - "Winchip-C6" for original IDT Winchip. + - "Winchip-2A/3" for IDT Winchips with 3dNow! capabilities. If you don't know what to do, choose "386". diff -urN linux-2.3.99-pre7-1/arch/i386/config.in linux-2.3.99-pre7-1-dj/arch/i386/config.in --- linux-2.3.99-pre7-1/arch/i386/config.in Sun Apr 30 15:11:52 2000 +++ linux-2.3.99-pre7-1-dj/arch/i386/config.in Mon May 1 17:32:13 2000 @@ -24,7 +24,9 @@ Pentium/TSC CONFIG_M586TSC \ PPro/P-II/P-III CONFIG_M686 \ K6/II/III CONFIG_MK6 \ - Athlon CONFIG_MK7" PPro + Athlon CONFIG_MK7 \ + Winchip-C6 CONFIG_MWC \ + Winchip-2A/3 CONFIG_MWC2A" PPro # # Define implied options from the CPU selection here # @@ -72,6 +74,19 @@ define_bool CONFIG_X86_GOOD_APIC y define_bool CONFIG_X86_USE_3DNOW y define_bool CONFIG_X86_PGE y + define_bool CONFIG_X86_USE_PPRO_CHECKSUM y +fi +if [ "$CONFIG_MWC" = "y" ]; then + define_int CONFIG_X86_L1_CACHE_BYTES 32 + define_bool CONFIG_X86_ALIGNMENT_16 y + define_bool CONFIG_X86_TSC y + define_bool CONFIG_X86_USE_PPRO_CHECKSUM y +fi +if [ "$CONFIG_MWC2A" = "y" ]; then + define_int CONFIG_X86_L1_CACHE_BYTES 32 + define_bool CONFIG_X86_ALIGNMENT_16 y + define_bool CONFIG_X86_TSC y + define_bool CONFIG_X86_USE_3DNOW y define_bool CONFIG_X86_USE_PPRO_CHECKSUM y fi

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:08 EST