* updated pciutils/pci.ids (2022-01-21 -> 2022-01-28)
[t2-trunk.git] / architecture / x86 / linux.conf.sh
blobeae8858e30fdf8127d3161cd82a4984c2a363beb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: architecture/x86/linux.conf.sh
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
13 cat <<- 'EOT'
14 define(`INTEL', `Intel X86 PCs')dnl
16 dnl CPU configuration
17 dnl
19 # CONFIG_64BIT is not set
20 EOT
22 # all CPUs with PAE must sort after pentiumpro
23 linux_arch=386
24 for x in "i386 386" \
25 "i486 486" \
26 "c3 MCYRIXIII" \
27 "c3-2 MVIAC3_2" \
28 "i586 586" \
29 "i586-mmx 586MMX" \
30 "pentium 586" \
31 "pentium-mmx 586MMX" \
32 "i686 686" \
33 "geodelx GEODE_LX" \
34 "k6 K6" \
35 "k6-2 K6" \
36 "k6-3 K6" \
37 "pentiumpro 686" \
38 "pentium2 PENTIUMII" \
39 "pentium3 PENTIUMIII" \
40 "pentium4 PENTIUM4" \
41 "pentium-m PENTIUMM" \
42 "atom ATOM" \
43 "athlon K7" \
44 "athlon-tbird K7" \
45 "athlon4 K7" \
46 "athlon-xp K7" \
47 "athlon-mp K7"
49 set $x # split line into $1, $2
50 [ "$1" == "pentiumpro" ] && pae=1
51 if [ "$1" == "$SDECFG_X86_OPT" ]; then
52 linux_arch=$2
53 break
55 done
57 # echo `grep -A 20 'Processor family' \
58 # /usr/src/linux/arch/i386/config.in | expand | \
59 # cut -c 57- | cut -f1 -d' ' | tr -d '"'`
61 for x in 386 486 586 586TSC 586MMX 686 PENTIUMIII PENTIUM4 PENTIUMM \
62 K6 K7 K8 ELAN CRUSOE WINCHIPC6 WINCHIP2 WINCHIP3D \
63 CYRIXIII VIAC3_2 ATOM GEODE_LX
65 if [ "$linux_arch" != "$x" ]
66 then echo "# CONFIG_M$x is not set"
67 else echo "CONFIG_M$x=y" ; fi
68 done
70 case "$linux_arch" in
71 386|486)
72 echo "CONFIG_MATH_EMULATION=y"
73 echo "# CONFIG_SMP is not set"
74 echo "# CONFIG_NAMESPACES is not set"
77 echo "# CONFIG_MATH_EMULATION is not set"
79 esac
81 [ "$pae" ] && cat <<- 'EOT'
82 dnl Allow more than 4GB (split 3/1) of RAM by default
83 dnl (and NX (Execute Disable) protection)
84 dnl
85 CONFIG_HIGHMEM=y
86 CONFIG_HIGHMEM4G=y
87 CONFIG_HIGHMEM64G=y
88 CONFIG_X86_PAE=y
89 EOT
91 echo
92 cat <<- 'EOT'
93 include(`linux-x86.conf.m4')
94 include(`linux-common.conf.m4')
95 include(`linux-block.conf.m4')
96 include(`linux-net.conf.m4')
97 include(`linux-fs.conf.m4')
99 CONFIG_PATA_LEGACY=m
100 CONFIG_X86_ANCIENT_MCE=y
101 # CONFIG_HYPERVISOR_GUEST is not set
102 # CONFIG_IOMMU_SUPPORT is not set
103 # CONFIG_SFI is not set
104 # CONFIG_ACPI_APEI is not set
105 # CONFIG_FAULT_INJECTION is not set
106 # CONFIG_ATA_VERBOSE_ERROR is not set
107 # CONFIG_FS_ENCRYPTION is not set
108 # CONFIG_MICROCODE
109 # CONFIG_COMPACTION is not set
110 # CONFIG_FTRACE is not set
111 # CONFIG_DEBUG_KERNEL is not set
113 } | m4 -I $base/architecture/$arch -I $base/architecture/share