# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: architecture/x86/kernel.conf.sh # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- { cat <<- 'EOT' define(`INTEL', `Intel X86 PCs')dnl dnl CPU configuration dnl EOT linux_arch=386 for x in "i386 386" \ "i486 486" \ "c3 MCYRIXIII" \ "c3-2 MVIAC3_2" \ "pentium 586" \ "pentium-mmx 586MMX" \ "pentiumpro 686" \ "pentium2 PENTIUMII" \ "pentium3 PENTIUMIII" \ "pentium4 PENTIUM4" \ "pentium-m PENTIUMM" \ "k6 K6" \ "k6-2 K6" \ "k6-3 K6" \ "athlon K7" \ "athlon-tbird K7" \ "athlon4 K7" \ "athlon-xp K7" \ "athlon-mp K7" do set $x [ "$1" = "$SDECFG_X86_OPT" ] && linux_arch=$2 done # echo `grep -A 20 'Processor family' \ # /usr/src/linux/arch/i386/config.in | expand | \ # cut -c 57- | cut -f1 -d' ' | tr -d '"'` # for x in 386 486 586 586TSC 586MMX 686 PENTIUMIII PENTIUM4 PENTIUMM \ K6 K7 K8 ELAN CRUSOE WINCHIPC6 WINCHIP2 WINCHIP3D \ CYRIXIII VIAC3_2 do if [ "$linux_arch" != "$x" ] then echo "# CONFIG_M$x is not set" else echo "CONFIG_M$x=y" ; fi done echo cat <<- 'EOT' dnl Memory Type Range Register support dnl and other x86 goodies ... dnl CONFIG_MTRR=y CONFIG_X86_MCE=y CONFIG_X86_MCE_NONFATAL=y CONFIG_X86_MCE_P4THERMAL=y dnl PC Speaker for 2.5/6 kernel CONFIG_INPUT_PCSPKR=y CONFIG_USB_HIDINPUT_POWERBOOK=y dnl Other useful stuff dnl CONFIG_RTC=y include(`kernel-common.conf.m4') include(`kernel-block.conf.m4') include(`kernel-net.conf.m4') include(`kernel-fs.conf.m4') CONFIG_FB_VESA=y dnl The default is to support those old ISA boxes. dnl A target might get rid of it. dnl CONFIG_ISA=y CONFIG_ISAPNP=y CONFIG_PNPBIOS=y CONFIG_PNP=y EOT } | m4 -I $base/architecture/$arch -I $base/architecture/share