aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/parisc/Makefile58
-rw-r--r--arch/parisc/configs/712_defconfig446
-rw-r--r--arch/parisc/configs/a500_defconfig646
-rw-r--r--arch/parisc/configs/b180_defconfig474
-rw-r--r--arch/parisc/configs/c3000_defconfig582
-rw-r--r--arch/parisc/defconfig615
-rw-r--r--arch/parisc/hpux/gate.S4
-rw-r--r--arch/parisc/kernel/asm-offsets.c3
-rw-r--r--arch/parisc/kernel/entry.S41
-rw-r--r--arch/parisc/kernel/head.S6
-rw-r--r--arch/parisc/kernel/hpmc.S4
-rw-r--r--arch/parisc/kernel/init_task.c1
-rw-r--r--arch/parisc/kernel/pacache.S8
-rw-r--r--arch/parisc/kernel/parisc_ksyms.c22
-rw-r--r--arch/parisc/kernel/pci-dma.c9
-rw-r--r--arch/parisc/kernel/pci.c42
-rw-r--r--arch/parisc/kernel/processor.c7
-rw-r--r--arch/parisc/kernel/smp.c12
-rw-r--r--arch/parisc/kernel/sys_parisc32.c7
-rw-r--r--arch/parisc/kernel/syscall.S13
-rw-r--r--arch/parisc/kernel/syscall_table.S1
-rw-r--r--arch/parisc/kernel/time.c6
-rw-r--r--arch/parisc/kernel/unwind.c4
-rw-r--r--arch/parisc/kernel/vmlinux.lds.S313
-rw-r--r--arch/parisc/lib/Makefile2
-rw-r--r--arch/parisc/lib/libgcc/Makefile4
-rw-r--r--arch/parisc/lib/libgcc/__ashldi3.c19
-rw-r--r--arch/parisc/lib/libgcc/__ashrdi3.c19
-rw-r--r--arch/parisc/lib/libgcc/__clzsi2.c30
-rw-r--r--arch/parisc/lib/libgcc/__divdi3.c23
-rw-r--r--arch/parisc/lib/libgcc/__divsi3.c23
-rw-r--r--arch/parisc/lib/libgcc/__lshrdi3.c19
-rw-r--r--arch/parisc/lib/libgcc/__moddi3.c23
-rw-r--r--arch/parisc/lib/libgcc/__modsi3.c23
-rw-r--r--arch/parisc/lib/libgcc/__muldi3.c22
-rw-r--r--arch/parisc/lib/libgcc/__udivdi3.c7
-rw-r--r--arch/parisc/lib/libgcc/__udivmoddi4.c31
-rw-r--r--arch/parisc/lib/libgcc/__udivmodsi4.c31
-rw-r--r--arch/parisc/lib/libgcc/__udivsi3.c7
-rw-r--r--arch/parisc/lib/libgcc/__umoddi3.c10
-rw-r--r--arch/parisc/lib/libgcc/__umodsi3.c10
-rw-r--r--arch/parisc/lib/libgcc/__umulsidi3.c46
-rw-r--r--arch/parisc/lib/libgcc/libgcc.h32
-rw-r--r--arch/parisc/lib/memcpy.c4
-rw-r--r--arch/parisc/lib/milli/Makefile1
-rw-r--r--arch/parisc/lib/milli/divI.S254
-rw-r--r--arch/parisc/lib/milli/divU.S235
-rw-r--r--arch/parisc/lib/milli/div_const.S682
-rw-r--r--arch/parisc/lib/milli/dyncall.S32
-rw-r--r--arch/parisc/lib/milli/milli.S2071
-rw-r--r--arch/parisc/lib/milli/milli.h165
-rw-r--r--arch/parisc/lib/milli/mulI.S474
-rw-r--r--arch/parisc/lib/milli/remI.S185
-rw-r--r--arch/parisc/lib/milli/remU.S148
-rw-r--r--arch/parisc/mm/init.c2
-rw-r--r--drivers/parisc/lba_pci.c51
-rw-r--r--drivers/parisc/pdc_stable.c11
-rw-r--r--drivers/parisc/sba_iommu.c4
-rw-r--r--drivers/parisc/superio.c4
-rw-r--r--include/asm-parisc/Kbuild2
-rw-r--r--include/asm-parisc/io.h2
-rw-r--r--include/asm-parisc/page.h4
-rw-r--r--include/asm-parisc/pci.h2
-rw-r--r--include/asm-parisc/pdc.h308
-rw-r--r--include/asm-parisc/pgtable.h40
-rw-r--r--include/asm-parisc/prefetch.h4
-rw-r--r--include/asm-parisc/rtc.h4
-rw-r--r--include/asm-parisc/semaphore.h10
-rw-r--r--include/asm-parisc/unistd.h3
-rwxr-xr-xscripts/checkstack.pl3
70 files changed, 6524 insertions, 1886 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile
index f3d0d7c70977..ae4a9b3d4fd6 100644
--- a/arch/parisc/Makefile
+++ b/arch/parisc/Makefile
@@ -19,26 +19,27 @@
19NM = sh $(srctree)/arch/parisc/nm 19NM = sh $(srctree)/arch/parisc/nm
20CHECKFLAGS += -D__hppa__=1 20CHECKFLAGS += -D__hppa__=1
21 21
22MACHINE := $(shell uname -m)
23ifeq ($(MACHINE),parisc*)
24NATIVE := 1
25endif
26
22ifdef CONFIG_64BIT 27ifdef CONFIG_64BIT
23CROSS_COMPILE := $(shell if [ -x /usr/bin/hppa64-linux-gnu-gcc ]; then \
24 echo hppa64-linux-gnu-; else echo hppa64-linux-; fi)
25UTS_MACHINE := parisc64 28UTS_MACHINE := parisc64
26CHECKFLAGS += -D__LP64__=1 -m64 29CHECKFLAGS += -D__LP64__=1 -m64
27else 30WIDTH := 64
28MACHINE := $(subst 64,,$(shell uname -m)) 31CROSS_COMPILE := hppa64-linux-gnu-
29ifneq ($(MACHINE),parisc) 32else # 32-bit
30CROSS_COMPILE := hppa-linux- 33WIDTH :=
31endif
32endif 34endif
33 35
34FINAL_LD=$(CROSS_COMPILE)ld --warn-common --warn-section-align 36# attempt to help out folks who are cross-compiling
37ifeq ($(NATIVE),1)
38CROSS_COMPILE := hppa$(WIDTH)-linux-
39endif
35 40
36OBJCOPY_FLAGS =-O binary -R .note -R .comment -S 41OBJCOPY_FLAGS =-O binary -R .note -R .comment -S
37 42
38ifneq ($(call cc-ifversion, -lt, 0303, "bad"),)
39$(error Sorry, GCC v3.3 or above is required.)
40endif
41
42cflags-y := -pipe 43cflags-y := -pipe
43 44
44# These flags should be implied by an hppa-linux configuration, but they 45# These flags should be implied by an hppa-linux configuration, but they
@@ -69,7 +70,7 @@ kernel-y := mm/ kernel/ math-emu/ kernel/init_task.o
69kernel-$(CONFIG_HPUX) += hpux/ 70kernel-$(CONFIG_HPUX) += hpux/
70 71
71core-y += $(addprefix arch/parisc/, $(kernel-y)) 72core-y += $(addprefix arch/parisc/, $(kernel-y))
72libs-y += arch/parisc/lib/ `$(CC) -print-libgcc-file-name` 73libs-y += arch/parisc/lib/
73 74
74drivers-$(CONFIG_OPROFILE) += arch/parisc/oprofile/ 75drivers-$(CONFIG_OPROFILE) += arch/parisc/oprofile/
75 76
@@ -77,27 +78,27 @@ PALO := $(shell if which palo; then : ; \
77 elif [ -x /sbin/palo ]; then echo /sbin/palo; \ 78 elif [ -x /sbin/palo ]; then echo /sbin/palo; \
78 fi) 79 fi)
79 80
81PALOCONF := $(shell if [ -f $(src)/palo.conf ]; then echo $(src)/palo.conf; \
82 else echo $(obj)/palo.conf; \
83 fi)
84
80palo: vmlinux 85palo: vmlinux
81 @if [ -x $PALO ]; then \ 86 @if test ! -x "$(PALO)"; then \
82 echo 'ERROR: Please install palo first (apt-get install palo)';\ 87 echo 'ERROR: Please install palo first (apt-get install palo)';\
83 echo 'or build it from source and install it somewhere in your $$PATH';\ 88 echo 'or build it from source and install it somewhere in your $$PATH';\
84 false; \ 89 false; \
85 fi 90 fi
86 @if [ ! -f ./palo.conf ]; then \ 91 @if test ! -f "$(PALOCONF)"; then \
87 cp arch/parisc/defpalo.conf palo.conf; \ 92 cp $(src)/arch/parisc/defpalo.conf $(obj)/palo.conf; \
88 echo 'A generic palo config file (./palo.conf) has been created for you.'; \ 93 echo 'A generic palo config file ($(obj)/palo.conf) has been created for you.'; \
89 echo 'You should check it and re-run "make palo".'; \ 94 echo 'You should check it and re-run "make palo".'; \
90 echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \ 95 echo 'WARNING: the "lifimage" file is now placed in this directory by default!'; \
91 false; \ 96 false; \
92 fi 97 fi
93 $(PALO) -f ./palo.conf 98 $(PALO) -f $(PALOCONF)
94
95oldpalo: vmlinux
96 export TOPDIR=`pwd`; \
97 unset STRIP LDFLAGS CPP CPPFLAGS AFLAGS CFLAGS CC LD; cd ../palo && make lifimage
98 99
99# Shorthands for known targets not supported by parisc, use palo as default 100# Shorthands for known targets not supported by parisc, use vmlinux as default
100Image zImage bzImage: palo 101Image zImage bzImage: vmlinux
101 102
102kernel_install: vmlinux 103kernel_install: vmlinux
103 sh $(src)/arch/parisc/install.sh \ 104 sh $(src)/arch/parisc/install.sh \
@@ -116,3 +117,12 @@ define archhelp
116 @echo ' (distribution) /sbin/installkernel or' 117 @echo ' (distribution) /sbin/installkernel or'
117 @echo ' copy to $$(INSTALL_PATH)' 118 @echo ' copy to $$(INSTALL_PATH)'
118endef 119endef
120
121# we require gcc 3.3 or above to compile the kernel
122archprepare: checkbin
123checkbin:
124 @if test "$(call cc-version)" -lt "0303"; then \
125 echo -n "Sorry, GCC v3.3 or above is required to build " ; \
126 echo "the kernel." ; \
127 false ; \
128 fi
diff --git a/arch/parisc/configs/712_defconfig b/arch/parisc/configs/712_defconfig
index 41fd0696bbe7..9fc96e727165 100644
--- a/arch/parisc/configs/712_defconfig
+++ b/arch/parisc/configs/712_defconfig
@@ -1,39 +1,51 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.16-pa6 3# Linux kernel version: 2.6.23
4# Sun Mar 26 19:59:51 2006 4# Fri Oct 12 21:00:07 2007
5# 5#
6CONFIG_PARISC=y 6CONFIG_PARISC=y
7CONFIG_MMU=y 7CONFIG_MMU=y
8CONFIG_STACK_GROWSUP=y 8CONFIG_STACK_GROWSUP=y
9CONFIG_RWSEM_GENERIC_SPINLOCK=y 9CONFIG_RWSEM_GENERIC_SPINLOCK=y
10# CONFIG_ARCH_HAS_ILOG2_U32 is not set
11# CONFIG_ARCH_HAS_ILOG2_U64 is not set
12CONFIG_GENERIC_FIND_NEXT_BIT=y
13CONFIG_GENERIC_BUG=y
14CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_CALIBRATE_DELAY=y 15CONFIG_GENERIC_CALIBRATE_DELAY=y
16CONFIG_GENERIC_TIME=y
11CONFIG_GENERIC_HARDIRQS=y 17CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y 18CONFIG_GENERIC_IRQ_PROBE=y
19CONFIG_IRQ_PER_CPU=y
20CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 21
14# 22#
15# Code maturity level options 23# General setup
16# 24#
17CONFIG_EXPERIMENTAL=y 25CONFIG_EXPERIMENTAL=y
18CONFIG_BROKEN_ON_SMP=y 26CONFIG_BROKEN_ON_SMP=y
19CONFIG_INIT_ENV_ARG_LIMIT=32 27CONFIG_INIT_ENV_ARG_LIMIT=32
20
21#
22# General setup
23#
24CONFIG_LOCALVERSION="" 28CONFIG_LOCALVERSION=""
25# CONFIG_LOCALVERSION_AUTO is not set 29# CONFIG_LOCALVERSION_AUTO is not set
26CONFIG_SWAP=y 30CONFIG_SWAP=y
27CONFIG_SYSVIPC=y 31CONFIG_SYSVIPC=y
32CONFIG_SYSVIPC_SYSCTL=y
28CONFIG_POSIX_MQUEUE=y 33CONFIG_POSIX_MQUEUE=y
29# CONFIG_BSD_PROCESS_ACCT is not set 34# CONFIG_BSD_PROCESS_ACCT is not set
30CONFIG_SYSCTL=y 35# CONFIG_TASKSTATS is not set
36# CONFIG_USER_NS is not set
31# CONFIG_AUDIT is not set 37# CONFIG_AUDIT is not set
32CONFIG_IKCONFIG=y 38CONFIG_IKCONFIG=y
33CONFIG_IKCONFIG_PROC=y 39CONFIG_IKCONFIG_PROC=y
40CONFIG_LOG_BUF_SHIFT=16
41CONFIG_SYSFS_DEPRECATED=y
42# CONFIG_RELAY is not set
43CONFIG_BLK_DEV_INITRD=y
34CONFIG_INITRAMFS_SOURCE="" 44CONFIG_INITRAMFS_SOURCE=""
35CONFIG_CC_OPTIMIZE_FOR_SIZE=y 45CONFIG_CC_OPTIMIZE_FOR_SIZE=y
46CONFIG_SYSCTL=y
36# CONFIG_EMBEDDED is not set 47# CONFIG_EMBEDDED is not set
48CONFIG_SYSCTL_SYSCALL=y
37CONFIG_KALLSYMS=y 49CONFIG_KALLSYMS=y
38CONFIG_KALLSYMS_ALL=y 50CONFIG_KALLSYMS_ALL=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 51# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -43,31 +55,29 @@ CONFIG_BUG=y
43CONFIG_ELF_CORE=y 55CONFIG_ELF_CORE=y
44CONFIG_BASE_FULL=y 56CONFIG_BASE_FULL=y
45CONFIG_FUTEX=y 57CONFIG_FUTEX=y
58CONFIG_ANON_INODES=y
46CONFIG_EPOLL=y 59CONFIG_EPOLL=y
60CONFIG_SIGNALFD=y
61CONFIG_EVENTFD=y
47CONFIG_SHMEM=y 62CONFIG_SHMEM=y
48CONFIG_CC_ALIGN_FUNCTIONS=0 63CONFIG_VM_EVENT_COUNTERS=y
49CONFIG_CC_ALIGN_LABELS=0
50CONFIG_CC_ALIGN_LOOPS=0
51CONFIG_CC_ALIGN_JUMPS=0
52CONFIG_SLAB=y 64CONFIG_SLAB=y
65# CONFIG_SLUB is not set
66# CONFIG_SLOB is not set
67CONFIG_RT_MUTEXES=y
53# CONFIG_TINY_SHMEM is not set 68# CONFIG_TINY_SHMEM is not set
54CONFIG_BASE_SMALL=0 69CONFIG_BASE_SMALL=0
55# CONFIG_SLOB is not set
56
57#
58# Loadable module support
59#
60CONFIG_MODULES=y 70CONFIG_MODULES=y
61CONFIG_MODULE_UNLOAD=y 71CONFIG_MODULE_UNLOAD=y
62CONFIG_MODULE_FORCE_UNLOAD=y 72CONFIG_MODULE_FORCE_UNLOAD=y
63CONFIG_OBSOLETE_MODPARM=y
64# CONFIG_MODVERSIONS is not set 73# CONFIG_MODVERSIONS is not set
65# CONFIG_MODULE_SRCVERSION_ALL is not set 74# CONFIG_MODULE_SRCVERSION_ALL is not set
66CONFIG_KMOD=y 75CONFIG_KMOD=y
67 76CONFIG_BLOCK=y
68# 77# CONFIG_LBD is not set
69# Block layer 78# CONFIG_BLK_DEV_IO_TRACE is not set
70# 79# CONFIG_LSF is not set
80# CONFIG_BLK_DEV_BSG is not set
71 81
72# 82#
73# IO Schedulers 83# IO Schedulers
@@ -91,6 +101,9 @@ CONFIG_PA7100LC=y
91# CONFIG_PA7300LC is not set 101# CONFIG_PA7300LC is not set
92# CONFIG_PA8X00 is not set 102# CONFIG_PA8X00 is not set
93CONFIG_PA11=y 103CONFIG_PA11=y
104CONFIG_PARISC_PAGE_SIZE_4KB=y
105# CONFIG_PARISC_PAGE_SIZE_16KB is not set
106# CONFIG_PARISC_PAGE_SIZE_64KB is not set
94# CONFIG_SMP is not set 107# CONFIG_SMP is not set
95CONFIG_ARCH_FLATMEM_ENABLE=y 108CONFIG_ARCH_FLATMEM_ENABLE=y
96# CONFIG_PREEMPT_NONE is not set 109# CONFIG_PREEMPT_NONE is not set
@@ -98,6 +111,7 @@ CONFIG_PREEMPT_VOLUNTARY=y
98# CONFIG_PREEMPT is not set 111# CONFIG_PREEMPT is not set
99# CONFIG_HZ_100 is not set 112# CONFIG_HZ_100 is not set
100CONFIG_HZ_250=y 113CONFIG_HZ_250=y
114# CONFIG_HZ_300 is not set
101# CONFIG_HZ_1000 is not set 115# CONFIG_HZ_1000 is not set
102CONFIG_HZ=250 116CONFIG_HZ=250
103CONFIG_SELECT_MEMORY_MODEL=y 117CONFIG_SELECT_MEMORY_MODEL=y
@@ -108,6 +122,9 @@ CONFIG_FLATMEM=y
108CONFIG_FLAT_NODE_MEM_MAP=y 122CONFIG_FLAT_NODE_MEM_MAP=y
109# CONFIG_SPARSEMEM_STATIC is not set 123# CONFIG_SPARSEMEM_STATIC is not set
110CONFIG_SPLIT_PTLOCK_CPUS=4096 124CONFIG_SPLIT_PTLOCK_CPUS=4096
125# CONFIG_RESOURCES_64BIT is not set
126CONFIG_ZONE_DMA_FLAG=0
127CONFIG_VIRT_TO_BUS=y
111# CONFIG_HPUX is not set 128# CONFIG_HPUX is not set
112 129
113# 130#
@@ -120,6 +137,7 @@ CONFIG_GSC_LASI=y
120# CONFIG_GSC_WAX is not set 137# CONFIG_GSC_WAX is not set
121# CONFIG_EISA is not set 138# CONFIG_EISA is not set
122# CONFIG_PCI is not set 139# CONFIG_PCI is not set
140# CONFIG_ARCH_SUPPORTS_MSI is not set
123 141
124# 142#
125# PCCARD (PCMCIA/CardBus) support 143# PCCARD (PCMCIA/CardBus) support
@@ -127,14 +145,11 @@ CONFIG_GSC_LASI=y
127# CONFIG_PCCARD is not set 145# CONFIG_PCCARD is not set
128 146
129# 147#
130# PCI Hotplug Support
131#
132
133#
134# PA-RISC specific drivers 148# PA-RISC specific drivers
135# 149#
136CONFIG_CHASSIS_LCD_LED=y 150CONFIG_CHASSIS_LCD_LED=y
137# CONFIG_PDC_CHASSIS is not set 151# CONFIG_PDC_CHASSIS is not set
152CONFIG_PDC_CHASSIS_WARN=y
138CONFIG_PDC_STABLE=y 153CONFIG_PDC_STABLE=y
139 154
140# 155#
@@ -151,13 +166,15 @@ CONFIG_NET=y
151# 166#
152# Networking options 167# Networking options
153# 168#
154# CONFIG_NETDEBUG is not set
155CONFIG_PACKET=y 169CONFIG_PACKET=y
156CONFIG_PACKET_MMAP=y 170CONFIG_PACKET_MMAP=y
157CONFIG_UNIX=y 171CONFIG_UNIX=y
158CONFIG_XFRM=y 172CONFIG_XFRM=y
159CONFIG_XFRM_USER=m 173CONFIG_XFRM_USER=m
174# CONFIG_XFRM_SUB_POLICY is not set
175# CONFIG_XFRM_MIGRATE is not set
160CONFIG_NET_KEY=m 176CONFIG_NET_KEY=m
177# CONFIG_NET_KEY_MIGRATE is not set
161CONFIG_INET=y 178CONFIG_INET=y
162CONFIG_IP_MULTICAST=y 179CONFIG_IP_MULTICAST=y
163# CONFIG_IP_ADVANCED_ROUTER is not set 180# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -174,17 +191,23 @@ CONFIG_IP_PNP_BOOTP=y
174CONFIG_INET_AH=m 191CONFIG_INET_AH=m
175CONFIG_INET_ESP=m 192CONFIG_INET_ESP=m
176# CONFIG_INET_IPCOMP is not set 193# CONFIG_INET_IPCOMP is not set
177CONFIG_INET_TUNNEL=m 194# CONFIG_INET_XFRM_TUNNEL is not set
195# CONFIG_INET_TUNNEL is not set
196CONFIG_INET_XFRM_MODE_TRANSPORT=y
197CONFIG_INET_XFRM_MODE_TUNNEL=y
198CONFIG_INET_XFRM_MODE_BEET=y
199# CONFIG_INET_LRO is not set
178CONFIG_INET_DIAG=m 200CONFIG_INET_DIAG=m
179CONFIG_INET_TCP_DIAG=m 201CONFIG_INET_TCP_DIAG=m
180# CONFIG_TCP_CONG_ADVANCED is not set 202# CONFIG_TCP_CONG_ADVANCED is not set
181CONFIG_TCP_CONG_BIC=y 203CONFIG_TCP_CONG_CUBIC=y
182 204CONFIG_DEFAULT_TCP_CONG="cubic"
183# 205# CONFIG_TCP_MD5SIG is not set
184# IP: Virtual Server Configuration
185#
186# CONFIG_IP_VS is not set 206# CONFIG_IP_VS is not set
187# CONFIG_IPV6 is not set 207# CONFIG_IPV6 is not set
208# CONFIG_INET6_XFRM_TUNNEL is not set
209# CONFIG_INET6_TUNNEL is not set
210# CONFIG_NETWORK_SECMARK is not set
188CONFIG_NETFILTER=y 211CONFIG_NETFILTER=y
189# CONFIG_NETFILTER_DEBUG is not set 212# CONFIG_NETFILTER_DEBUG is not set
190 213
@@ -192,37 +215,18 @@ CONFIG_NETFILTER=y
192# Core Netfilter Configuration 215# Core Netfilter Configuration
193# 216#
194# CONFIG_NETFILTER_NETLINK is not set 217# CONFIG_NETFILTER_NETLINK is not set
218# CONFIG_NF_CONNTRACK_ENABLED is not set
219# CONFIG_NF_CONNTRACK is not set
195# CONFIG_NETFILTER_XTABLES is not set 220# CONFIG_NETFILTER_XTABLES is not set
196 221
197# 222#
198# IP: Netfilter Configuration 223# IP: Netfilter Configuration
199# 224#
200CONFIG_IP_NF_CONNTRACK=m
201# CONFIG_IP_NF_CT_ACCT is not set
202CONFIG_IP_NF_CONNTRACK_MARK=y
203# CONFIG_IP_NF_CONNTRACK_EVENTS is not set
204CONFIG_IP_NF_CT_PROTO_SCTP=m
205CONFIG_IP_NF_FTP=m
206CONFIG_IP_NF_IRC=m
207# CONFIG_IP_NF_NETBIOS_NS is not set
208CONFIG_IP_NF_TFTP=m
209CONFIG_IP_NF_AMANDA=m
210# CONFIG_IP_NF_PPTP is not set
211CONFIG_IP_NF_QUEUE=m 225CONFIG_IP_NF_QUEUE=m
212 226# CONFIG_IP_NF_IPTABLES is not set
213# 227# CONFIG_IP_NF_ARPTABLES is not set
214# DCCP Configuration (EXPERIMENTAL)
215#
216# CONFIG_IP_DCCP is not set 228# CONFIG_IP_DCCP is not set
217
218#
219# SCTP Configuration (EXPERIMENTAL)
220#
221# CONFIG_IP_SCTP is not set 229# CONFIG_IP_SCTP is not set
222
223#
224# TIPC Configuration (EXPERIMENTAL)
225#
226# CONFIG_TIPC is not set 230# CONFIG_TIPC is not set
227# CONFIG_ATM is not set 231# CONFIG_ATM is not set
228# CONFIG_BRIDGE is not set 232# CONFIG_BRIDGE is not set
@@ -234,7 +238,6 @@ CONFIG_LLC2=m
234# CONFIG_ATALK is not set 238# CONFIG_ATALK is not set
235# CONFIG_X25 is not set 239# CONFIG_X25 is not set
236# CONFIG_LAPB is not set 240# CONFIG_LAPB is not set
237# CONFIG_NET_DIVERT is not set
238# CONFIG_ECONET is not set 241# CONFIG_ECONET is not set
239# CONFIG_WAN_ROUTER is not set 242# CONFIG_WAN_ROUTER is not set
240 243
@@ -250,7 +253,17 @@ CONFIG_NET_PKTGEN=m
250# CONFIG_HAMRADIO is not set 253# CONFIG_HAMRADIO is not set
251# CONFIG_IRDA is not set 254# CONFIG_IRDA is not set
252# CONFIG_BT is not set 255# CONFIG_BT is not set
256# CONFIG_AF_RXRPC is not set
257
258#
259# Wireless
260#
261# CONFIG_CFG80211 is not set
262# CONFIG_WIRELESS_EXT is not set
263# CONFIG_MAC80211 is not set
253# CONFIG_IEEE80211 is not set 264# CONFIG_IEEE80211 is not set
265# CONFIG_RFKILL is not set
266# CONFIG_NET_9P is not set
254 267
255# 268#
256# Device Drivers 269# Device Drivers
@@ -259,39 +272,24 @@ CONFIG_NET_PKTGEN=m
259# 272#
260# Generic Driver Options 273# Generic Driver Options
261# 274#
275CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
262# CONFIG_STANDALONE is not set 276# CONFIG_STANDALONE is not set
263# CONFIG_PREVENT_FIRMWARE_BUILD is not set 277# CONFIG_PREVENT_FIRMWARE_BUILD is not set
264CONFIG_FW_LOADER=y 278CONFIG_FW_LOADER=y
265# CONFIG_DEBUG_DRIVER is not set 279# CONFIG_DEBUG_DRIVER is not set
266 280# CONFIG_DEBUG_DEVRES is not set
267# 281# CONFIG_SYS_HYPERVISOR is not set
268# Connector - unified userspace <-> kernelspace linker
269#
270# CONFIG_CONNECTOR is not set 282# CONFIG_CONNECTOR is not set
271
272#
273# Memory Technology Devices (MTD)
274#
275# CONFIG_MTD is not set 283# CONFIG_MTD is not set
276
277#
278# Parallel port support
279#
280CONFIG_PARPORT=y 284CONFIG_PARPORT=y
281CONFIG_PARPORT_PC=m 285CONFIG_PARPORT_PC=m
282# CONFIG_PARPORT_PC_FIFO is not set 286# CONFIG_PARPORT_PC_FIFO is not set
283# CONFIG_PARPORT_PC_SUPERIO is not set 287# CONFIG_PARPORT_PC_SUPERIO is not set
284CONFIG_PARPORT_NOT_PC=y
285CONFIG_PARPORT_GSC=y 288CONFIG_PARPORT_GSC=y
289# CONFIG_PARPORT_AX88796 is not set
286# CONFIG_PARPORT_1284 is not set 290# CONFIG_PARPORT_1284 is not set
287 291CONFIG_PARPORT_NOT_PC=y
288# 292CONFIG_BLK_DEV=y
289# Plug and Play support
290#
291
292#
293# Block devices
294#
295# CONFIG_PARIDE is not set 293# CONFIG_PARIDE is not set
296# CONFIG_BLK_DEV_COW_COMMON is not set 294# CONFIG_BLK_DEV_COW_COMMON is not set
297CONFIG_BLK_DEV_LOOP=y 295CONFIG_BLK_DEV_LOOP=y
@@ -300,13 +298,11 @@ CONFIG_BLK_DEV_CRYPTOLOOP=y
300CONFIG_BLK_DEV_RAM=y 298CONFIG_BLK_DEV_RAM=y
301CONFIG_BLK_DEV_RAM_COUNT=16 299CONFIG_BLK_DEV_RAM_COUNT=16
302CONFIG_BLK_DEV_RAM_SIZE=6144 300CONFIG_BLK_DEV_RAM_SIZE=6144
303CONFIG_BLK_DEV_INITRD=y 301CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
304# CONFIG_CDROM_PKTCDVD is not set 302# CONFIG_CDROM_PKTCDVD is not set
305CONFIG_ATA_OVER_ETH=m 303CONFIG_ATA_OVER_ETH=m
306 304CONFIG_MISC_DEVICES=y
307# 305# CONFIG_EEPROM_93CX6 is not set
308# ATA/ATAPI/MFM/RLL support
309#
310# CONFIG_IDE is not set 306# CONFIG_IDE is not set
311 307
312# 308#
@@ -314,6 +310,9 @@ CONFIG_ATA_OVER_ETH=m
314# 310#
315# CONFIG_RAID_ATTRS is not set 311# CONFIG_RAID_ATTRS is not set
316CONFIG_SCSI=y 312CONFIG_SCSI=y
313CONFIG_SCSI_DMA=y
314# CONFIG_SCSI_TGT is not set
315# CONFIG_SCSI_NETLINK is not set
317CONFIG_SCSI_PROC_FS=y 316CONFIG_SCSI_PROC_FS=y
318 317
319# 318#
@@ -333,104 +332,61 @@ CONFIG_CHR_DEV_SG=y
333# CONFIG_SCSI_MULTI_LUN is not set 332# CONFIG_SCSI_MULTI_LUN is not set
334# CONFIG_SCSI_CONSTANTS is not set 333# CONFIG_SCSI_CONSTANTS is not set
335# CONFIG_SCSI_LOGGING is not set 334# CONFIG_SCSI_LOGGING is not set
335# CONFIG_SCSI_SCAN_ASYNC is not set
336CONFIG_SCSI_WAIT_SCAN=m
336 337
337# 338#
338# SCSI Transport Attributes 339# SCSI Transports
339# 340#
340CONFIG_SCSI_SPI_ATTRS=y 341CONFIG_SCSI_SPI_ATTRS=y
341# CONFIG_SCSI_FC_ATTRS is not set 342# CONFIG_SCSI_FC_ATTRS is not set
342CONFIG_SCSI_ISCSI_ATTRS=m 343CONFIG_SCSI_ISCSI_ATTRS=m
343# CONFIG_SCSI_SAS_ATTRS is not set 344# CONFIG_SCSI_SAS_LIBSAS is not set
344 345CONFIG_SCSI_LOWLEVEL=y
345#
346# SCSI low-level drivers
347#
348# CONFIG_ISCSI_TCP is not set 346# CONFIG_ISCSI_TCP is not set
349# CONFIG_SCSI_SATA is not set
350# CONFIG_SCSI_PPA is not set 347# CONFIG_SCSI_PPA is not set
351# CONFIG_SCSI_IMM is not set 348# CONFIG_SCSI_IMM is not set
352CONFIG_SCSI_LASI700=y 349CONFIG_SCSI_LASI700=y
353CONFIG_53C700_LE_ON_BE=y 350CONFIG_53C700_LE_ON_BE=y
354# CONFIG_SCSI_ZALON is not set 351# CONFIG_SCSI_ZALON is not set
355CONFIG_SCSI_DEBUG=m 352CONFIG_SCSI_DEBUG=m
356 353# CONFIG_ATA is not set
357#
358# Multi-device support (RAID and LVM)
359#
360CONFIG_MD=y 354CONFIG_MD=y
361CONFIG_BLK_DEV_MD=m 355CONFIG_BLK_DEV_MD=m
362CONFIG_MD_LINEAR=m 356CONFIG_MD_LINEAR=m
363CONFIG_MD_RAID0=m 357CONFIG_MD_RAID0=m
364CONFIG_MD_RAID1=m 358CONFIG_MD_RAID1=m
365# CONFIG_MD_RAID10 is not set 359# CONFIG_MD_RAID10 is not set
366# CONFIG_MD_RAID5 is not set 360# CONFIG_MD_RAID456 is not set
367# CONFIG_MD_RAID6 is not set
368# CONFIG_MD_MULTIPATH is not set 361# CONFIG_MD_MULTIPATH is not set
369# CONFIG_MD_FAULTY is not set 362# CONFIG_MD_FAULTY is not set
370# CONFIG_BLK_DEV_DM is not set 363# CONFIG_BLK_DEV_DM is not set
371
372#
373# Fusion MPT device support
374#
375# CONFIG_FUSION is not set
376
377#
378# IEEE 1394 (FireWire) support
379#
380
381#
382# I2O device support
383#
384
385#
386# Network device support
387#
388CONFIG_NETDEVICES=y 364CONFIG_NETDEVICES=y
365# CONFIG_NETDEVICES_MULTIQUEUE is not set
389CONFIG_DUMMY=m 366CONFIG_DUMMY=m
390CONFIG_BONDING=m 367CONFIG_BONDING=m
368# CONFIG_MACVLAN is not set
391# CONFIG_EQUALIZER is not set 369# CONFIG_EQUALIZER is not set
392CONFIG_TUN=m 370CONFIG_TUN=m
393 371# CONFIG_VETH is not set
394#
395# PHY device support
396#
397# CONFIG_PHYLIB is not set 372# CONFIG_PHYLIB is not set
398
399#
400# Ethernet (10 or 100Mbit)
401#
402CONFIG_NET_ETHERNET=y 373CONFIG_NET_ETHERNET=y
403CONFIG_MII=m 374CONFIG_MII=m
404CONFIG_LASI_82596=y 375CONFIG_LASI_82596=y
376# CONFIG_IBM_NEW_EMAC_ZMII is not set
377# CONFIG_IBM_NEW_EMAC_RGMII is not set
378# CONFIG_IBM_NEW_EMAC_TAH is not set
379# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
380# CONFIG_B44 is not set
405# CONFIG_NET_POCKET is not set 381# CONFIG_NET_POCKET is not set
382CONFIG_NETDEV_1000=y
383CONFIG_NETDEV_10000=y
406 384
407# 385#
408# Ethernet (1000 Mbit) 386# Wireless LAN
409#
410
411#
412# Ethernet (10000 Mbit)
413#
414
415#
416# Token Ring devices
417#
418
419#
420# Wireless LAN (non-hamradio)
421#
422CONFIG_NET_RADIO=y
423
424#
425# Obsolete Wireless cards support (pre-802.11)
426#
427# CONFIG_STRIP is not set
428# CONFIG_ATMEL is not set
429# CONFIG_HOSTAP is not set
430
431#
432# Wan interfaces
433# 387#
388# CONFIG_WLAN_PRE80211 is not set
389# CONFIG_WLAN_80211 is not set
434# CONFIG_WAN is not set 390# CONFIG_WAN is not set
435# CONFIG_PLIP is not set 391# CONFIG_PLIP is not set
436CONFIG_PPP=m 392CONFIG_PPP=m
@@ -442,26 +398,22 @@ CONFIG_PPP_DEFLATE=m
442CONFIG_PPP_BSDCOMP=m 398CONFIG_PPP_BSDCOMP=m
443CONFIG_PPP_MPPE=m 399CONFIG_PPP_MPPE=m
444CONFIG_PPPOE=m 400CONFIG_PPPOE=m
401# CONFIG_PPPOL2TP is not set
445# CONFIG_SLIP is not set 402# CONFIG_SLIP is not set
403CONFIG_SLHC=m
446# CONFIG_SHAPER is not set 404# CONFIG_SHAPER is not set
447# CONFIG_NETCONSOLE is not set 405# CONFIG_NETCONSOLE is not set
448# CONFIG_NETPOLL is not set 406# CONFIG_NETPOLL is not set
449# CONFIG_NET_POLL_CONTROLLER is not set 407# CONFIG_NET_POLL_CONTROLLER is not set
450
451#
452# ISDN subsystem
453#
454# CONFIG_ISDN is not set 408# CONFIG_ISDN is not set
455
456#
457# Telephony Support
458#
459# CONFIG_PHONE is not set 409# CONFIG_PHONE is not set
460 410
461# 411#
462# Input device support 412# Input device support
463# 413#
464CONFIG_INPUT=y 414CONFIG_INPUT=y
415# CONFIG_INPUT_FF_MEMLESS is not set
416# CONFIG_INPUT_POLLDEV is not set
465 417
466# 418#
467# Userland interfaces 419# Userland interfaces
@@ -486,14 +438,22 @@ CONFIG_KEYBOARD_ATKBD_HP_KEYCODES=y
486# CONFIG_KEYBOARD_LKKBD is not set 438# CONFIG_KEYBOARD_LKKBD is not set
487# CONFIG_KEYBOARD_XTKBD is not set 439# CONFIG_KEYBOARD_XTKBD is not set
488# CONFIG_KEYBOARD_NEWTON is not set 440# CONFIG_KEYBOARD_NEWTON is not set
441# CONFIG_KEYBOARD_STOWAWAY is not set
489# CONFIG_KEYBOARD_HIL_OLD is not set 442# CONFIG_KEYBOARD_HIL_OLD is not set
490CONFIG_KEYBOARD_HIL=y 443CONFIG_KEYBOARD_HIL=y
491CONFIG_INPUT_MOUSE=y 444CONFIG_INPUT_MOUSE=y
492CONFIG_MOUSE_PS2=y 445CONFIG_MOUSE_PS2=y
446CONFIG_MOUSE_PS2_ALPS=y
447CONFIG_MOUSE_PS2_LOGIPS2PP=y
448CONFIG_MOUSE_PS2_SYNAPTICS=y
449CONFIG_MOUSE_PS2_LIFEBOOK=y
450CONFIG_MOUSE_PS2_TRACKPOINT=y
451# CONFIG_MOUSE_PS2_TOUCHKIT is not set
493CONFIG_MOUSE_SERIAL=m 452CONFIG_MOUSE_SERIAL=m
494# CONFIG_MOUSE_VSXXXAA is not set 453# CONFIG_MOUSE_VSXXXAA is not set
495CONFIG_MOUSE_HIL=m 454CONFIG_MOUSE_HIL=m
496# CONFIG_INPUT_JOYSTICK is not set 455# CONFIG_INPUT_JOYSTICK is not set
456# CONFIG_INPUT_TABLET is not set
497# CONFIG_INPUT_TOUCHSCREEN is not set 457# CONFIG_INPUT_TOUCHSCREEN is not set
498# CONFIG_INPUT_MISC is not set 458# CONFIG_INPUT_MISC is not set
499 459
@@ -516,6 +476,7 @@ CONFIG_SERIO_LIBPS2=y
516CONFIG_VT=y 476CONFIG_VT=y
517CONFIG_VT_CONSOLE=y 477CONFIG_VT_CONSOLE=y
518CONFIG_HW_CONSOLE=y 478CONFIG_HW_CONSOLE=y
479# CONFIG_VT_HW_CONSOLE_BINDING is not set
519# CONFIG_SERIAL_NONSTANDARD is not set 480# CONFIG_SERIAL_NONSTANDARD is not set
520 481
521# 482#
@@ -523,6 +484,7 @@ CONFIG_HW_CONSOLE=y
523# 484#
524CONFIG_SERIAL_8250=y 485CONFIG_SERIAL_8250=y
525CONFIG_SERIAL_8250_CONSOLE=y 486CONFIG_SERIAL_8250_CONSOLE=y
487CONFIG_SERIAL_8250_GSC=y
526CONFIG_SERIAL_8250_NR_UARTS=17 488CONFIG_SERIAL_8250_NR_UARTS=17
527CONFIG_SERIAL_8250_RUNTIME_UARTS=4 489CONFIG_SERIAL_8250_RUNTIME_UARTS=4
528CONFIG_SERIAL_8250_EXTENDED=y 490CONFIG_SERIAL_8250_EXTENDED=y
@@ -545,36 +507,15 @@ CONFIG_PRINTER=m
545# CONFIG_LP_CONSOLE is not set 507# CONFIG_LP_CONSOLE is not set
546CONFIG_PPDEV=m 508CONFIG_PPDEV=m
547# CONFIG_TIPAR is not set 509# CONFIG_TIPAR is not set
548
549#
550# IPMI
551#
552# CONFIG_IPMI_HANDLER is not set 510# CONFIG_IPMI_HANDLER is not set
553
554#
555# Watchdog Cards
556#
557# CONFIG_WATCHDOG is not set 511# CONFIG_WATCHDOG is not set
512# CONFIG_HW_RANDOM is not set
558CONFIG_GEN_RTC=y 513CONFIG_GEN_RTC=y
559CONFIG_GEN_RTC_X=y 514CONFIG_GEN_RTC_X=y
560# CONFIG_DTLK is not set
561# CONFIG_R3964 is not set 515# CONFIG_R3964 is not set
562
563#
564# Ftape, the floppy tape device driver
565#
566CONFIG_RAW_DRIVER=y 516CONFIG_RAW_DRIVER=y
567CONFIG_MAX_RAW_DEVS=256 517CONFIG_MAX_RAW_DEVS=256
568
569#
570# TPM devices
571#
572# CONFIG_TCG_TPM is not set 518# CONFIG_TCG_TPM is not set
573# CONFIG_TELCLOCK is not set
574
575#
576# I2C support
577#
578# CONFIG_I2C is not set 519# CONFIG_I2C is not set
579 520
580# 521#
@@ -582,46 +523,59 @@ CONFIG_MAX_RAW_DEVS=256
582# 523#
583# CONFIG_SPI is not set 524# CONFIG_SPI is not set
584# CONFIG_SPI_MASTER is not set 525# CONFIG_SPI_MASTER is not set
585
586#
587# Dallas's 1-wire bus
588#
589# CONFIG_W1 is not set 526# CONFIG_W1 is not set
590 527# CONFIG_POWER_SUPPLY is not set
591#
592# Hardware Monitoring support
593#
594# CONFIG_HWMON is not set 528# CONFIG_HWMON is not set
595# CONFIG_HWMON_VID is not set
596 529
597# 530#
598# Misc devices 531# Sonics Silicon Backplane
599# 532#
533CONFIG_SSB_POSSIBLE=y
534# CONFIG_SSB is not set
600 535
601# 536#
602# Multimedia Capabilities Port drivers 537# Multifunction device drivers
603# 538#
539# CONFIG_MFD_SM501 is not set
604 540
605# 541#
606# Multimedia devices 542# Multimedia devices
607# 543#
608# CONFIG_VIDEO_DEV is not set 544# CONFIG_VIDEO_DEV is not set
545# CONFIG_DVB_CORE is not set
546# CONFIG_DAB is not set
609 547
610# 548#
611# Digital Video Broadcasting Devices 549# Graphics support
612# 550#
613# CONFIG_DVB is not set 551# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
614 552
615# 553#
616# Graphics support 554# Display device support
617# 555#
556# CONFIG_DISPLAY_SUPPORT is not set
557# CONFIG_VGASTATE is not set
558CONFIG_VIDEO_OUTPUT_CONTROL=m
618CONFIG_FB=y 559CONFIG_FB=y
560# CONFIG_FIRMWARE_EDID is not set
561# CONFIG_FB_DDC is not set
619CONFIG_FB_CFB_FILLRECT=y 562CONFIG_FB_CFB_FILLRECT=y
620CONFIG_FB_CFB_COPYAREA=y 563CONFIG_FB_CFB_COPYAREA=y
621CONFIG_FB_CFB_IMAGEBLIT=y 564CONFIG_FB_CFB_IMAGEBLIT=y
565# CONFIG_FB_SYS_FILLRECT is not set
566# CONFIG_FB_SYS_COPYAREA is not set
567# CONFIG_FB_SYS_IMAGEBLIT is not set
568# CONFIG_FB_SYS_FOPS is not set
569CONFIG_FB_DEFERRED_IO=y
570# CONFIG_FB_SVGALIB is not set
622# CONFIG_FB_MACMODES is not set 571# CONFIG_FB_MACMODES is not set
572# CONFIG_FB_BACKLIGHT is not set
623CONFIG_FB_MODE_HELPERS=y 573CONFIG_FB_MODE_HELPERS=y
624CONFIG_FB_TILEBLITTING=y 574CONFIG_FB_TILEBLITTING=y
575
576#
577# Frame buffer hardware drivers
578#
625CONFIG_FB_STI=y 579CONFIG_FB_STI=y
626# CONFIG_FB_S1D13XXX is not set 580# CONFIG_FB_S1D13XXX is not set
627# CONFIG_FB_VIRTUAL is not set 581# CONFIG_FB_VIRTUAL is not set
@@ -633,6 +587,7 @@ CONFIG_DUMMY_CONSOLE=y
633CONFIG_DUMMY_CONSOLE_COLUMNS=128 587CONFIG_DUMMY_CONSOLE_COLUMNS=128
634CONFIG_DUMMY_CONSOLE_ROWS=48 588CONFIG_DUMMY_CONSOLE_ROWS=48
635CONFIG_FRAMEBUFFER_CONSOLE=y 589CONFIG_FRAMEBUFFER_CONSOLE=y
590# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
636# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set 591# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
637CONFIG_STI_CONSOLE=y 592CONFIG_STI_CONSOLE=y
638CONFIG_FONTS=y 593CONFIG_FONTS=y
@@ -646,16 +601,11 @@ CONFIG_FONT_8x16=y
646# CONFIG_FONT_SUN8x16 is not set 601# CONFIG_FONT_SUN8x16 is not set
647# CONFIG_FONT_SUN12x22 is not set 602# CONFIG_FONT_SUN12x22 is not set
648# CONFIG_FONT_10x18 is not set 603# CONFIG_FONT_10x18 is not set
649
650#
651# Logo configuration
652#
653CONFIG_LOGO=y 604CONFIG_LOGO=y
654# CONFIG_LOGO_LINUX_MONO is not set 605# CONFIG_LOGO_LINUX_MONO is not set
655# CONFIG_LOGO_LINUX_VGA16 is not set 606# CONFIG_LOGO_LINUX_VGA16 is not set
656# CONFIG_LOGO_LINUX_CLUT224 is not set 607# CONFIG_LOGO_LINUX_CLUT224 is not set
657CONFIG_LOGO_PARISC_CLUT224=y 608CONFIG_LOGO_PARISC_CLUT224=y
658# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
659 609
660# 610#
661# Sound 611# Sound
@@ -673,9 +623,11 @@ CONFIG_SND_SEQUENCER=y
673CONFIG_SND_OSSEMUL=y 623CONFIG_SND_OSSEMUL=y
674CONFIG_SND_MIXER_OSS=y 624CONFIG_SND_MIXER_OSS=y
675CONFIG_SND_PCM_OSS=y 625CONFIG_SND_PCM_OSS=y
626CONFIG_SND_PCM_OSS_PLUGINS=y
676CONFIG_SND_SEQUENCER_OSS=y 627CONFIG_SND_SEQUENCER_OSS=y
677# CONFIG_SND_DYNAMIC_MINORS is not set 628# CONFIG_SND_DYNAMIC_MINORS is not set
678CONFIG_SND_SUPPORT_OLD_API=y 629CONFIG_SND_SUPPORT_OLD_API=y
630CONFIG_SND_VERBOSE_PROCFS=y
679# CONFIG_SND_VERBOSE_PRINTK is not set 631# CONFIG_SND_VERBOSE_PRINTK is not set
680# CONFIG_SND_DEBUG is not set 632# CONFIG_SND_DEBUG is not set
681 633
@@ -685,8 +637,10 @@ CONFIG_SND_SUPPORT_OLD_API=y
685# CONFIG_SND_DUMMY is not set 637# CONFIG_SND_DUMMY is not set
686# CONFIG_SND_VIRMIDI is not set 638# CONFIG_SND_VIRMIDI is not set
687# CONFIG_SND_MTPAV is not set 639# CONFIG_SND_MTPAV is not set
640# CONFIG_SND_MTS64 is not set
688# CONFIG_SND_SERIAL_U16550 is not set 641# CONFIG_SND_SERIAL_U16550 is not set
689# CONFIG_SND_MPU401 is not set 642# CONFIG_SND_MPU401 is not set
643# CONFIG_SND_PORTMAN2X4 is not set
690 644
691# 645#
692# GSC devices 646# GSC devices
@@ -694,15 +648,25 @@ CONFIG_SND_SUPPORT_OLD_API=y
694CONFIG_SND_HARMONY=y 648CONFIG_SND_HARMONY=y
695 649
696# 650#
697# Open Sound System 651# System on Chip audio support
698# 652#
699# CONFIG_SOUND_PRIME is not set 653# CONFIG_SND_SOC is not set
700 654
701# 655#
702# USB support 656# SoC Audio support for SuperH
703# 657#
658
659#
660# Open Sound System
661#
662# CONFIG_SOUND_PRIME is not set
663CONFIG_HID_SUPPORT=y
664CONFIG_HID=y
665CONFIG_HID_DEBUG=y
666CONFIG_USB_SUPPORT=y
704# CONFIG_USB_ARCH_HAS_HCD is not set 667# CONFIG_USB_ARCH_HAS_HCD is not set
705# CONFIG_USB_ARCH_HAS_OHCI is not set 668# CONFIG_USB_ARCH_HAS_OHCI is not set
669# CONFIG_USB_ARCH_HAS_EHCI is not set
706 670
707# 671#
708# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 672# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
@@ -712,19 +676,28 @@ CONFIG_SND_HARMONY=y
712# USB Gadget Support 676# USB Gadget Support
713# 677#
714# CONFIG_USB_GADGET is not set 678# CONFIG_USB_GADGET is not set
679# CONFIG_MMC is not set
680# CONFIG_NEW_LEDS is not set
681# CONFIG_RTC_CLASS is not set
715 682
716# 683#
717# MMC/SD Card support 684# DMA Engine support
685#
686# CONFIG_DMA_ENGINE is not set
687
688#
689# DMA Clients
718# 690#
719# CONFIG_MMC is not set
720 691
721# 692#
722# InfiniBand support 693# DMA Devices
723# 694#
695# CONFIG_AUXDISPLAY is not set
724 696
725# 697#
726# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) 698# Userspace I/O
727# 699#
700# CONFIG_UIO is not set
728 701
729# 702#
730# File systems 703# File systems
@@ -734,6 +707,7 @@ CONFIG_EXT2_FS=y
734# CONFIG_EXT2_FS_XIP is not set 707# CONFIG_EXT2_FS_XIP is not set
735CONFIG_EXT3_FS=y 708CONFIG_EXT3_FS=y
736# CONFIG_EXT3_FS_XATTR is not set 709# CONFIG_EXT3_FS_XATTR is not set
710# CONFIG_EXT4DEV_FS is not set
737CONFIG_JBD=y 711CONFIG_JBD=y
738# CONFIG_JBD_DEBUG is not set 712# CONFIG_JBD_DEBUG is not set
739# CONFIG_REISERFS_FS is not set 713# CONFIG_REISERFS_FS is not set
@@ -744,15 +718,16 @@ CONFIG_JFS_FS=m
744# CONFIG_JFS_STATISTICS is not set 718# CONFIG_JFS_STATISTICS is not set
745CONFIG_FS_POSIX_ACL=y 719CONFIG_FS_POSIX_ACL=y
746CONFIG_XFS_FS=m 720CONFIG_XFS_FS=m
747CONFIG_XFS_EXPORT=y
748# CONFIG_XFS_QUOTA is not set 721# CONFIG_XFS_QUOTA is not set
749# CONFIG_XFS_SECURITY is not set 722# CONFIG_XFS_SECURITY is not set
750# CONFIG_XFS_POSIX_ACL is not set 723# CONFIG_XFS_POSIX_ACL is not set
751# CONFIG_XFS_RT is not set 724# CONFIG_XFS_RT is not set
725# CONFIG_GFS2_FS is not set
752# CONFIG_OCFS2_FS is not set 726# CONFIG_OCFS2_FS is not set
753# CONFIG_MINIX_FS is not set 727# CONFIG_MINIX_FS is not set
754# CONFIG_ROMFS_FS is not set 728# CONFIG_ROMFS_FS is not set
755CONFIG_INOTIFY=y 729CONFIG_INOTIFY=y
730CONFIG_INOTIFY_USER=y
756# CONFIG_QUOTA is not set 731# CONFIG_QUOTA is not set
757CONFIG_DNOTIFY=y 732CONFIG_DNOTIFY=y
758# CONFIG_AUTOFS_FS is not set 733# CONFIG_AUTOFS_FS is not set
@@ -783,11 +758,12 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
783# 758#
784CONFIG_PROC_FS=y 759CONFIG_PROC_FS=y
785CONFIG_PROC_KCORE=y 760CONFIG_PROC_KCORE=y
761CONFIG_PROC_SYSCTL=y
786CONFIG_SYSFS=y 762CONFIG_SYSFS=y
787CONFIG_TMPFS=y 763CONFIG_TMPFS=y
764# CONFIG_TMPFS_POSIX_ACL is not set
788# CONFIG_HUGETLB_PAGE is not set 765# CONFIG_HUGETLB_PAGE is not set
789CONFIG_RAMFS=y 766CONFIG_RAMFS=y
790# CONFIG_RELAYFS_FS is not set
791# CONFIG_CONFIGFS_FS is not set 767# CONFIG_CONFIGFS_FS is not set
792 768
793# 769#
@@ -795,6 +771,7 @@ CONFIG_RAMFS=y
795# 771#
796# CONFIG_ADFS_FS is not set 772# CONFIG_ADFS_FS is not set
797# CONFIG_AFFS_FS is not set 773# CONFIG_AFFS_FS is not set
774# CONFIG_ECRYPT_FS is not set
798# CONFIG_HFS_FS is not set 775# CONFIG_HFS_FS is not set
799# CONFIG_HFSPLUS_FS is not set 776# CONFIG_HFSPLUS_FS is not set
800# CONFIG_BEFS_FS is not set 777# CONFIG_BEFS_FS is not set
@@ -806,6 +783,8 @@ CONFIG_RAMFS=y
806# CONFIG_QNX4FS_FS is not set 783# CONFIG_QNX4FS_FS is not set
807# CONFIG_SYSV_FS is not set 784# CONFIG_SYSV_FS is not set
808CONFIG_UFS_FS=m 785CONFIG_UFS_FS=m
786# CONFIG_UFS_FS_WRITE is not set
787# CONFIG_UFS_DEBUG is not set
809 788
810# 789#
811# Network File Systems 790# Network File Systems
@@ -827,6 +806,7 @@ CONFIG_EXPORTFS=m
827CONFIG_NFS_COMMON=y 806CONFIG_NFS_COMMON=y
828CONFIG_SUNRPC=y 807CONFIG_SUNRPC=y
829CONFIG_SUNRPC_GSS=y 808CONFIG_SUNRPC_GSS=y
809# CONFIG_SUNRPC_BIND34 is not set
830CONFIG_RPCSEC_GSS_KRB5=y 810CONFIG_RPCSEC_GSS_KRB5=y
831CONFIG_RPCSEC_GSS_SPKM3=m 811CONFIG_RPCSEC_GSS_SPKM3=m
832CONFIG_SMB_FS=m 812CONFIG_SMB_FS=m
@@ -834,12 +814,13 @@ CONFIG_SMB_NLS_DEFAULT=y
834CONFIG_SMB_NLS_REMOTE="cp437" 814CONFIG_SMB_NLS_REMOTE="cp437"
835CONFIG_CIFS=m 815CONFIG_CIFS=m
836# CONFIG_CIFS_STATS is not set 816# CONFIG_CIFS_STATS is not set
817# CONFIG_CIFS_WEAK_PW_HASH is not set
837# CONFIG_CIFS_XATTR is not set 818# CONFIG_CIFS_XATTR is not set
819# CONFIG_CIFS_DEBUG2 is not set
838# CONFIG_CIFS_EXPERIMENTAL is not set 820# CONFIG_CIFS_EXPERIMENTAL is not set
839# CONFIG_NCP_FS is not set 821# CONFIG_NCP_FS is not set
840# CONFIG_CODA_FS is not set 822# CONFIG_CODA_FS is not set
841# CONFIG_AFS_FS is not set 823# CONFIG_AFS_FS is not set
842# CONFIG_9P_FS is not set
843 824
844# 825#
845# Partition Types 826# Partition Types
@@ -892,6 +873,11 @@ CONFIG_NLS_KOI8_U=m
892CONFIG_NLS_UTF8=m 873CONFIG_NLS_UTF8=m
893 874
894# 875#
876# Distributed Lock Manager
877#
878# CONFIG_DLM is not set
879
880#
895# Profiling support 881# Profiling support
896# 882#
897CONFIG_PROFILING=y 883CONFIG_PROFILING=y
@@ -901,21 +887,32 @@ CONFIG_OPROFILE=m
901# Kernel hacking 887# Kernel hacking
902# 888#
903# CONFIG_PRINTK_TIME is not set 889# CONFIG_PRINTK_TIME is not set
890CONFIG_ENABLE_MUST_CHECK=y
904CONFIG_MAGIC_SYSRQ=y 891CONFIG_MAGIC_SYSRQ=y
892# CONFIG_UNUSED_SYMBOLS is not set
893# CONFIG_DEBUG_FS is not set
894# CONFIG_HEADERS_CHECK is not set
905CONFIG_DEBUG_KERNEL=y 895CONFIG_DEBUG_KERNEL=y
906CONFIG_LOG_BUF_SHIFT=16 896# CONFIG_DEBUG_SHIRQ is not set
907CONFIG_DETECT_SOFTLOCKUP=y 897CONFIG_DETECT_SOFTLOCKUP=y
898CONFIG_SCHED_DEBUG=y
908# CONFIG_SCHEDSTATS is not set 899# CONFIG_SCHEDSTATS is not set
900# CONFIG_TIMER_STATS is not set
909# CONFIG_DEBUG_SLAB is not set 901# CONFIG_DEBUG_SLAB is not set
910CONFIG_DEBUG_MUTEXES=y 902# CONFIG_DEBUG_RT_MUTEXES is not set
903# CONFIG_RT_MUTEX_TESTER is not set
911# CONFIG_DEBUG_SPINLOCK is not set 904# CONFIG_DEBUG_SPINLOCK is not set
905CONFIG_DEBUG_MUTEXES=y
912# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 906# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
907# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
913# CONFIG_DEBUG_KOBJECT is not set 908# CONFIG_DEBUG_KOBJECT is not set
909CONFIG_DEBUG_BUGVERBOSE=y
914# CONFIG_DEBUG_INFO is not set 910# CONFIG_DEBUG_INFO is not set
915# CONFIG_DEBUG_FS is not set
916# CONFIG_DEBUG_VM is not set 911# CONFIG_DEBUG_VM is not set
912# CONFIG_DEBUG_LIST is not set
917CONFIG_FORCED_INLINING=y 913CONFIG_FORCED_INLINING=y
918# CONFIG_RCU_TORTURE_TEST is not set 914# CONFIG_RCU_TORTURE_TEST is not set
915# CONFIG_FAULT_INJECTION is not set
919CONFIG_DEBUG_RODATA=y 916CONFIG_DEBUG_RODATA=y
920 917
921# 918#
@@ -924,12 +921,13 @@ CONFIG_DEBUG_RODATA=y
924CONFIG_KEYS=y 921CONFIG_KEYS=y
925CONFIG_KEYS_DEBUG_PROC_KEYS=y 922CONFIG_KEYS_DEBUG_PROC_KEYS=y
926# CONFIG_SECURITY is not set 923# CONFIG_SECURITY is not set
927
928#
929# Cryptographic options
930#
931CONFIG_CRYPTO=y 924CONFIG_CRYPTO=y
925CONFIG_CRYPTO_ALGAPI=y
926CONFIG_CRYPTO_BLKCIPHER=y
927CONFIG_CRYPTO_HASH=y
928CONFIG_CRYPTO_MANAGER=y
932CONFIG_CRYPTO_HMAC=y 929CONFIG_CRYPTO_HMAC=y
930# CONFIG_CRYPTO_XCBC is not set
933CONFIG_CRYPTO_NULL=m 931CONFIG_CRYPTO_NULL=m
934CONFIG_CRYPTO_MD4=m 932CONFIG_CRYPTO_MD4=m
935CONFIG_CRYPTO_MD5=y 933CONFIG_CRYPTO_MD5=y
@@ -938,9 +936,18 @@ CONFIG_CRYPTO_SHA256=m
938CONFIG_CRYPTO_SHA512=m 936CONFIG_CRYPTO_SHA512=m
939CONFIG_CRYPTO_WP512=m 937CONFIG_CRYPTO_WP512=m
940CONFIG_CRYPTO_TGR192=m 938CONFIG_CRYPTO_TGR192=m
939# CONFIG_CRYPTO_GF128MUL is not set
940CONFIG_CRYPTO_ECB=m
941CONFIG_CRYPTO_CBC=y
942# CONFIG_CRYPTO_PCBC is not set
943# CONFIG_CRYPTO_LRW is not set
944# CONFIG_CRYPTO_XTS is not set
945# CONFIG_CRYPTO_CRYPTD is not set
941CONFIG_CRYPTO_DES=y 946CONFIG_CRYPTO_DES=y
947# CONFIG_CRYPTO_FCRYPT is not set
942CONFIG_CRYPTO_BLOWFISH=m 948CONFIG_CRYPTO_BLOWFISH=m
943CONFIG_CRYPTO_TWOFISH=m 949CONFIG_CRYPTO_TWOFISH=m
950CONFIG_CRYPTO_TWOFISH_COMMON=m
944CONFIG_CRYPTO_SERPENT=m 951CONFIG_CRYPTO_SERPENT=m
945CONFIG_CRYPTO_AES=m 952CONFIG_CRYPTO_AES=m
946CONFIG_CRYPTO_CAST5=m 953CONFIG_CRYPTO_CAST5=m
@@ -949,21 +956,28 @@ CONFIG_CRYPTO_TEA=m
949CONFIG_CRYPTO_ARC4=m 956CONFIG_CRYPTO_ARC4=m
950CONFIG_CRYPTO_KHAZAD=m 957CONFIG_CRYPTO_KHAZAD=m
951CONFIG_CRYPTO_ANUBIS=m 958CONFIG_CRYPTO_ANUBIS=m
959# CONFIG_CRYPTO_SEED is not set
952CONFIG_CRYPTO_DEFLATE=m 960CONFIG_CRYPTO_DEFLATE=m
953CONFIG_CRYPTO_MICHAEL_MIC=m 961CONFIG_CRYPTO_MICHAEL_MIC=m
954CONFIG_CRYPTO_CRC32C=m 962CONFIG_CRYPTO_CRC32C=m
963# CONFIG_CRYPTO_CAMELLIA is not set
955CONFIG_CRYPTO_TEST=m 964CONFIG_CRYPTO_TEST=m
956 965# CONFIG_CRYPTO_AUTHENC is not set
957# 966# CONFIG_CRYPTO_HW is not set
958# Hardware crypto devices
959#
960 967
961# 968#
962# Library routines 969# Library routines
963# 970#
971CONFIG_BITREVERSE=y
964CONFIG_CRC_CCITT=m 972CONFIG_CRC_CCITT=m
965# CONFIG_CRC16 is not set 973# CONFIG_CRC16 is not set
974# CONFIG_CRC_ITU_T is not set
966CONFIG_CRC32=y 975CONFIG_CRC32=y
976# CONFIG_CRC7 is not set
967CONFIG_LIBCRC32C=m 977CONFIG_LIBCRC32C=m
968CONFIG_ZLIB_INFLATE=m 978CONFIG_ZLIB_INFLATE=m
969CONFIG_ZLIB_DEFLATE=m 979CONFIG_ZLIB_DEFLATE=m
980CONFIG_PLIST=y
981CONFIG_HAS_IOMEM=y
982CONFIG_HAS_IOPORT=y
983CONFIG_HAS_DMA=y
diff --git a/arch/parisc/configs/a500_defconfig b/arch/parisc/configs/a500_defconfig
index f3b812f04592..ea071218a3ed 100644
--- a/arch/parisc/configs/a500_defconfig
+++ b/arch/parisc/configs/a500_defconfig
@@ -1,73 +1,98 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.14-rc5-pa1 3# Linux kernel version: 2.6.23
4# Fri Oct 21 23:04:54 2005 4# Fri Oct 12 21:12:44 2007
5# 5#
6CONFIG_PARISC=y 6CONFIG_PARISC=y
7CONFIG_MMU=y 7CONFIG_MMU=y
8CONFIG_STACK_GROWSUP=y 8CONFIG_STACK_GROWSUP=y
9CONFIG_RWSEM_GENERIC_SPINLOCK=y 9CONFIG_RWSEM_GENERIC_SPINLOCK=y
10# CONFIG_ARCH_HAS_ILOG2_U32 is not set
11# CONFIG_ARCH_HAS_ILOG2_U64 is not set
12CONFIG_GENERIC_FIND_NEXT_BIT=y
13CONFIG_GENERIC_BUG=y
14CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_CALIBRATE_DELAY=y 15CONFIG_GENERIC_CALIBRATE_DELAY=y
16CONFIG_GENERIC_TIME=y
17CONFIG_TIME_LOW_RES=y
11CONFIG_GENERIC_HARDIRQS=y 18CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y 19CONFIG_GENERIC_IRQ_PROBE=y
13CONFIG_ARCH_MAY_HAVE_PC_FDC=y 20CONFIG_IRQ_PER_CPU=y
21CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
14 22
15# 23#
16# Code maturity level options 24# General setup
17# 25#
18CONFIG_EXPERIMENTAL=y 26CONFIG_EXPERIMENTAL=y
19# CONFIG_CLEAN_COMPILE is not set
20CONFIG_BROKEN=y
21CONFIG_BROKEN_ON_SMP=y
22CONFIG_LOCK_KERNEL=y 27CONFIG_LOCK_KERNEL=y
23CONFIG_INIT_ENV_ARG_LIMIT=32 28CONFIG_INIT_ENV_ARG_LIMIT=32
24
25#
26# General setup
27#
28CONFIG_LOCALVERSION="" 29CONFIG_LOCALVERSION=""
29# CONFIG_LOCALVERSION_AUTO is not set 30# CONFIG_LOCALVERSION_AUTO is not set
30CONFIG_SWAP=y 31CONFIG_SWAP=y
31CONFIG_SYSVIPC=y 32CONFIG_SYSVIPC=y
33CONFIG_SYSVIPC_SYSCTL=y
32CONFIG_POSIX_MQUEUE=y 34CONFIG_POSIX_MQUEUE=y
33# CONFIG_BSD_PROCESS_ACCT is not set 35# CONFIG_BSD_PROCESS_ACCT is not set
34CONFIG_SYSCTL=y 36# CONFIG_TASKSTATS is not set
37# CONFIG_USER_NS is not set
35# CONFIG_AUDIT is not set 38# CONFIG_AUDIT is not set
36CONFIG_HOTPLUG=y
37CONFIG_KOBJECT_UEVENT=y
38CONFIG_IKCONFIG=y 39CONFIG_IKCONFIG=y
39CONFIG_IKCONFIG_PROC=y 40CONFIG_IKCONFIG_PROC=y
41CONFIG_LOG_BUF_SHIFT=16
40# CONFIG_CPUSETS is not set 42# CONFIG_CPUSETS is not set
43CONFIG_SYSFS_DEPRECATED=y
44# CONFIG_RELAY is not set
45CONFIG_BLK_DEV_INITRD=y
41CONFIG_INITRAMFS_SOURCE="" 46CONFIG_INITRAMFS_SOURCE=""
47# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
48CONFIG_SYSCTL=y
42CONFIG_EMBEDDED=y 49CONFIG_EMBEDDED=y
50CONFIG_SYSCTL_SYSCALL=y
43CONFIG_KALLSYMS=y 51CONFIG_KALLSYMS=y
44CONFIG_KALLSYMS_ALL=y 52CONFIG_KALLSYMS_ALL=y
45# CONFIG_KALLSYMS_EXTRA_PASS is not set 53# CONFIG_KALLSYMS_EXTRA_PASS is not set
54CONFIG_HOTPLUG=y
46CONFIG_PRINTK=y 55CONFIG_PRINTK=y
47CONFIG_BUG=y 56CONFIG_BUG=y
57CONFIG_ELF_CORE=y
48CONFIG_BASE_FULL=y 58CONFIG_BASE_FULL=y
49CONFIG_FUTEX=y 59CONFIG_FUTEX=y
60CONFIG_ANON_INODES=y
50CONFIG_EPOLL=y 61CONFIG_EPOLL=y
51# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 62CONFIG_SIGNALFD=y
63CONFIG_EVENTFD=y
52CONFIG_SHMEM=y 64CONFIG_SHMEM=y
53CONFIG_CC_ALIGN_FUNCTIONS=0 65CONFIG_VM_EVENT_COUNTERS=y
54CONFIG_CC_ALIGN_LABELS=0 66CONFIG_SLAB=y
55CONFIG_CC_ALIGN_LOOPS=0 67# CONFIG_SLUB is not set
56CONFIG_CC_ALIGN_JUMPS=0 68# CONFIG_SLOB is not set
69CONFIG_RT_MUTEXES=y
57# CONFIG_TINY_SHMEM is not set 70# CONFIG_TINY_SHMEM is not set
58CONFIG_BASE_SMALL=0 71CONFIG_BASE_SMALL=0
59
60#
61# Loadable module support
62#
63CONFIG_MODULES=y 72CONFIG_MODULES=y
64CONFIG_MODULE_UNLOAD=y 73CONFIG_MODULE_UNLOAD=y
65CONFIG_MODULE_FORCE_UNLOAD=y 74CONFIG_MODULE_FORCE_UNLOAD=y
66CONFIG_OBSOLETE_MODPARM=y
67# CONFIG_MODVERSIONS is not set 75# CONFIG_MODVERSIONS is not set
68# CONFIG_MODULE_SRCVERSION_ALL is not set 76# CONFIG_MODULE_SRCVERSION_ALL is not set
69CONFIG_KMOD=y 77CONFIG_KMOD=y
70CONFIG_STOP_MACHINE=y 78CONFIG_STOP_MACHINE=y
79CONFIG_BLOCK=y
80# CONFIG_BLK_DEV_IO_TRACE is not set
81# CONFIG_BLK_DEV_BSG is not set
82CONFIG_BLOCK_COMPAT=y
83
84#
85# IO Schedulers
86#
87CONFIG_IOSCHED_NOOP=y
88CONFIG_IOSCHED_AS=y
89CONFIG_IOSCHED_DEADLINE=y
90CONFIG_IOSCHED_CFQ=y
91# CONFIG_DEFAULT_AS is not set
92# CONFIG_DEFAULT_DEADLINE is not set
93CONFIG_DEFAULT_CFQ=y
94# CONFIG_DEFAULT_NOOP is not set
95CONFIG_DEFAULT_IOSCHED="cfq"
71 96
72# 97#
73# Processor type and features 98# Processor type and features
@@ -80,11 +105,23 @@ CONFIG_PA8X00=y
80CONFIG_PA20=y 105CONFIG_PA20=y
81CONFIG_PREFETCH=y 106CONFIG_PREFETCH=y
82CONFIG_64BIT=y 107CONFIG_64BIT=y
108CONFIG_PARISC_PAGE_SIZE_4KB=y
109# CONFIG_PARISC_PAGE_SIZE_16KB is not set
110# CONFIG_PARISC_PAGE_SIZE_64KB is not set
83CONFIG_SMP=y 111CONFIG_SMP=y
84CONFIG_HOTPLUG_CPU=y 112CONFIG_HOTPLUG_CPU=y
113CONFIG_ARCH_SELECT_MEMORY_MODEL=y
85CONFIG_ARCH_DISCONTIGMEM_ENABLE=y 114CONFIG_ARCH_DISCONTIGMEM_ENABLE=y
115CONFIG_ARCH_FLATMEM_ENABLE=y
116CONFIG_ARCH_DISCONTIGMEM_DEFAULT=y
117CONFIG_NODES_SHIFT=3
118CONFIG_PREEMPT_NONE=y
119# CONFIG_PREEMPT_VOLUNTARY is not set
120# CONFIG_PREEMPT is not set
121CONFIG_PREEMPT_BKL=y
86# CONFIG_HZ_100 is not set 122# CONFIG_HZ_100 is not set
87CONFIG_HZ_250=y 123CONFIG_HZ_250=y
124# CONFIG_HZ_300 is not set
88# CONFIG_HZ_1000 is not set 125# CONFIG_HZ_1000 is not set
89CONFIG_HZ=250 126CONFIG_HZ=250
90CONFIG_SELECT_MEMORY_MODEL=y 127CONFIG_SELECT_MEMORY_MODEL=y
@@ -95,7 +132,10 @@ CONFIG_DISCONTIGMEM=y
95CONFIG_FLAT_NODE_MEM_MAP=y 132CONFIG_FLAT_NODE_MEM_MAP=y
96CONFIG_NEED_MULTIPLE_NODES=y 133CONFIG_NEED_MULTIPLE_NODES=y
97# CONFIG_SPARSEMEM_STATIC is not set 134# CONFIG_SPARSEMEM_STATIC is not set
98# CONFIG_PREEMPT is not set 135CONFIG_SPLIT_PTLOCK_CPUS=4
136CONFIG_RESOURCES_64BIT=y
137CONFIG_ZONE_DMA_FLAG=0
138CONFIG_VIRT_TO_BUS=y
99CONFIG_COMPAT=y 139CONFIG_COMPAT=y
100CONFIG_NR_CPUS=8 140CONFIG_NR_CPUS=8
101 141
@@ -104,7 +144,7 @@ CONFIG_NR_CPUS=8
104# 144#
105# CONFIG_GSC is not set 145# CONFIG_GSC is not set
106CONFIG_PCI=y 146CONFIG_PCI=y
107CONFIG_PCI_LEGACY_PROC=y 147# CONFIG_ARCH_SUPPORTS_MSI is not set
108# CONFIG_PCI_DEBUG is not set 148# CONFIG_PCI_DEBUG is not set
109CONFIG_PCI_LBA=y 149CONFIG_PCI_LBA=y
110CONFIG_IOSAPIC=y 150CONFIG_IOSAPIC=y
@@ -124,13 +164,14 @@ CONFIG_CARDBUS=y
124# PC-card bridges 164# PC-card bridges
125# 165#
126CONFIG_YENTA=m 166CONFIG_YENTA=m
167CONFIG_YENTA_O2=y
168CONFIG_YENTA_RICOH=y
169CONFIG_YENTA_TI=y
170CONFIG_YENTA_ENE_TUNE=y
171CONFIG_YENTA_TOSHIBA=y
127CONFIG_PD6729=m 172CONFIG_PD6729=m
128CONFIG_I82092=m 173CONFIG_I82092=m
129CONFIG_PCCARD_NONSTATIC=m 174CONFIG_PCCARD_NONSTATIC=m
130
131#
132# PCI Hotplug Support
133#
134# CONFIG_HOTPLUG_PCI is not set 175# CONFIG_HOTPLUG_PCI is not set
135 176
136# 177#
@@ -139,6 +180,7 @@ CONFIG_PCCARD_NONSTATIC=m
139# CONFIG_SUPERIO is not set 180# CONFIG_SUPERIO is not set
140# CONFIG_CHASSIS_LCD_LED is not set 181# CONFIG_CHASSIS_LCD_LED is not set
141CONFIG_PDC_CHASSIS=y 182CONFIG_PDC_CHASSIS=y
183CONFIG_PDC_CHASSIS_WARN=y
142CONFIG_PDC_STABLE=y 184CONFIG_PDC_STABLE=y
143 185
144# 186#
@@ -160,7 +202,10 @@ CONFIG_PACKET_MMAP=y
160CONFIG_UNIX=y 202CONFIG_UNIX=y
161CONFIG_XFRM=y 203CONFIG_XFRM=y
162CONFIG_XFRM_USER=m 204CONFIG_XFRM_USER=m
205# CONFIG_XFRM_SUB_POLICY is not set
206# CONFIG_XFRM_MIGRATE is not set
163CONFIG_NET_KEY=m 207CONFIG_NET_KEY=m
208# CONFIG_NET_KEY_MIGRATE is not set
164CONFIG_INET=y 209CONFIG_INET=y
165CONFIG_IP_MULTICAST=y 210CONFIG_IP_MULTICAST=y
166# CONFIG_IP_ADVANCED_ROUTER is not set 211# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -177,97 +222,97 @@ CONFIG_IP_PNP_BOOTP=y
177CONFIG_INET_AH=m 222CONFIG_INET_AH=m
178CONFIG_INET_ESP=m 223CONFIG_INET_ESP=m
179# CONFIG_INET_IPCOMP is not set 224# CONFIG_INET_IPCOMP is not set
225# CONFIG_INET_XFRM_TUNNEL is not set
180CONFIG_INET_TUNNEL=m 226CONFIG_INET_TUNNEL=m
227CONFIG_INET_XFRM_MODE_TRANSPORT=y
228CONFIG_INET_XFRM_MODE_TUNNEL=y
229CONFIG_INET_XFRM_MODE_BEET=y
230# CONFIG_INET_LRO is not set
181CONFIG_INET_DIAG=y 231CONFIG_INET_DIAG=y
182CONFIG_INET_TCP_DIAG=y 232CONFIG_INET_TCP_DIAG=y
183# CONFIG_TCP_CONG_ADVANCED is not set 233# CONFIG_TCP_CONG_ADVANCED is not set
184CONFIG_TCP_CONG_BIC=y 234CONFIG_TCP_CONG_CUBIC=y
185 235CONFIG_DEFAULT_TCP_CONG="cubic"
186# 236# CONFIG_TCP_MD5SIG is not set
187# IP: Virtual Server Configuration
188#
189# CONFIG_IP_VS is not set 237# CONFIG_IP_VS is not set
190CONFIG_IPV6=m 238CONFIG_IPV6=m
191# CONFIG_IPV6_PRIVACY is not set 239# CONFIG_IPV6_PRIVACY is not set
240# CONFIG_IPV6_ROUTER_PREF is not set
241# CONFIG_IPV6_OPTIMISTIC_DAD is not set
192CONFIG_INET6_AH=m 242CONFIG_INET6_AH=m
193CONFIG_INET6_ESP=m 243CONFIG_INET6_ESP=m
194CONFIG_INET6_IPCOMP=m 244CONFIG_INET6_IPCOMP=m
245# CONFIG_IPV6_MIP6 is not set
246CONFIG_INET6_XFRM_TUNNEL=m
195CONFIG_INET6_TUNNEL=m 247CONFIG_INET6_TUNNEL=m
248CONFIG_INET6_XFRM_MODE_TRANSPORT=m
249CONFIG_INET6_XFRM_MODE_TUNNEL=m
250CONFIG_INET6_XFRM_MODE_BEET=m
251# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
252CONFIG_IPV6_SIT=m
196CONFIG_IPV6_TUNNEL=m 253CONFIG_IPV6_TUNNEL=m
254# CONFIG_IPV6_MULTIPLE_TABLES is not set
255# CONFIG_NETWORK_SECMARK is not set
197CONFIG_NETFILTER=y 256CONFIG_NETFILTER=y
198# CONFIG_NETFILTER_DEBUG is not set 257# CONFIG_NETFILTER_DEBUG is not set
258
259#
260# Core Netfilter Configuration
261#
199# CONFIG_NETFILTER_NETLINK is not set 262# CONFIG_NETFILTER_NETLINK is not set
263# CONFIG_NF_CONNTRACK_ENABLED is not set
264# CONFIG_NF_CONNTRACK is not set
265CONFIG_NETFILTER_XTABLES=m
266# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
267# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
268# CONFIG_NETFILTER_XT_TARGET_MARK is not set
269# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
270# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
271# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
272# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
273# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
274# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
275# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
276# CONFIG_NETFILTER_XT_MATCH_ESP is not set
277# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
278# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
279# CONFIG_NETFILTER_XT_MATCH_MAC is not set
280# CONFIG_NETFILTER_XT_MATCH_MARK is not set
281# CONFIG_NETFILTER_XT_MATCH_POLICY is not set
282# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
283# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
284# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
285# CONFIG_NETFILTER_XT_MATCH_REALM is not set
286# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
287# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
288# CONFIG_NETFILTER_XT_MATCH_STRING is not set
289# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
290# CONFIG_NETFILTER_XT_MATCH_TIME is not set
291# CONFIG_NETFILTER_XT_MATCH_U32 is not set
292# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
200 293
201# 294#
202# IP: Netfilter Configuration 295# IP: Netfilter Configuration
203# 296#
204CONFIG_IP_NF_CONNTRACK=m
205# CONFIG_IP_NF_CT_ACCT is not set
206CONFIG_IP_NF_CONNTRACK_MARK=y
207# CONFIG_IP_NF_CONNTRACK_EVENTS is not set
208CONFIG_IP_NF_CT_PROTO_SCTP=m
209CONFIG_IP_NF_FTP=m
210CONFIG_IP_NF_IRC=m
211# CONFIG_IP_NF_NETBIOS_NS is not set
212CONFIG_IP_NF_TFTP=m
213CONFIG_IP_NF_AMANDA=m
214# CONFIG_IP_NF_PPTP is not set
215CONFIG_IP_NF_QUEUE=m 297CONFIG_IP_NF_QUEUE=m
216CONFIG_IP_NF_IPTABLES=m 298CONFIG_IP_NF_IPTABLES=m
217CONFIG_IP_NF_MATCH_LIMIT=m
218CONFIG_IP_NF_MATCH_IPRANGE=m 299CONFIG_IP_NF_MATCH_IPRANGE=m
219CONFIG_IP_NF_MATCH_MAC=m
220CONFIG_IP_NF_MATCH_PKTTYPE=m
221CONFIG_IP_NF_MATCH_MARK=m
222CONFIG_IP_NF_MATCH_MULTIPORT=m
223CONFIG_IP_NF_MATCH_TOS=m 300CONFIG_IP_NF_MATCH_TOS=m
224CONFIG_IP_NF_MATCH_RECENT=m 301CONFIG_IP_NF_MATCH_RECENT=m
225CONFIG_IP_NF_MATCH_ECN=m 302CONFIG_IP_NF_MATCH_ECN=m
226CONFIG_IP_NF_MATCH_DSCP=m 303# CONFIG_IP_NF_MATCH_AH is not set
227CONFIG_IP_NF_MATCH_AH_ESP=m
228CONFIG_IP_NF_MATCH_LENGTH=m
229CONFIG_IP_NF_MATCH_TTL=m 304CONFIG_IP_NF_MATCH_TTL=m
230CONFIG_IP_NF_MATCH_TCPMSS=m
231CONFIG_IP_NF_MATCH_HELPER=m
232CONFIG_IP_NF_MATCH_STATE=m
233CONFIG_IP_NF_MATCH_CONNTRACK=m
234CONFIG_IP_NF_MATCH_OWNER=m 305CONFIG_IP_NF_MATCH_OWNER=m
235# CONFIG_IP_NF_MATCH_ADDRTYPE is not set 306# CONFIG_IP_NF_MATCH_ADDRTYPE is not set
236# CONFIG_IP_NF_MATCH_REALM is not set
237CONFIG_IP_NF_MATCH_SCTP=m
238# CONFIG_IP_NF_MATCH_DCCP is not set
239CONFIG_IP_NF_MATCH_COMMENT=m
240CONFIG_IP_NF_MATCH_CONNMARK=m
241CONFIG_IP_NF_MATCH_HASHLIMIT=m
242# CONFIG_IP_NF_MATCH_STRING is not set
243CONFIG_IP_NF_FILTER=m 307CONFIG_IP_NF_FILTER=m
244CONFIG_IP_NF_TARGET_REJECT=m 308CONFIG_IP_NF_TARGET_REJECT=m
245CONFIG_IP_NF_TARGET_LOG=m 309CONFIG_IP_NF_TARGET_LOG=m
246CONFIG_IP_NF_TARGET_ULOG=m 310CONFIG_IP_NF_TARGET_ULOG=m
247CONFIG_IP_NF_TARGET_TCPMSS=m
248# CONFIG_IP_NF_TARGET_NFQUEUE is not set
249CONFIG_IP_NF_NAT=m
250CONFIG_IP_NF_NAT_NEEDED=y
251CONFIG_IP_NF_TARGET_MASQUERADE=m
252CONFIG_IP_NF_TARGET_REDIRECT=m
253CONFIG_IP_NF_TARGET_NETMAP=m
254CONFIG_IP_NF_TARGET_SAME=m
255CONFIG_IP_NF_NAT_SNMP_BASIC=m
256CONFIG_IP_NF_NAT_IRC=m
257CONFIG_IP_NF_NAT_FTP=m
258CONFIG_IP_NF_NAT_TFTP=m
259CONFIG_IP_NF_NAT_AMANDA=m
260CONFIG_IP_NF_MANGLE=m 311CONFIG_IP_NF_MANGLE=m
261CONFIG_IP_NF_TARGET_TOS=m 312CONFIG_IP_NF_TARGET_TOS=m
262CONFIG_IP_NF_TARGET_ECN=m 313CONFIG_IP_NF_TARGET_ECN=m
263CONFIG_IP_NF_TARGET_DSCP=m
264CONFIG_IP_NF_TARGET_MARK=m
265CONFIG_IP_NF_TARGET_CLASSIFY=m
266# CONFIG_IP_NF_TARGET_TTL is not set 314# CONFIG_IP_NF_TARGET_TTL is not set
267CONFIG_IP_NF_TARGET_CONNMARK=m
268CONFIG_IP_NF_TARGET_CLUSTERIP=m
269CONFIG_IP_NF_RAW=m 315CONFIG_IP_NF_RAW=m
270CONFIG_IP_NF_TARGET_NOTRACK=m
271CONFIG_IP_NF_ARPTABLES=m 316CONFIG_IP_NF_ARPTABLES=m
272CONFIG_IP_NF_ARPFILTER=m 317CONFIG_IP_NF_ARPFILTER=m
273CONFIG_IP_NF_ARP_MANGLE=m 318CONFIG_IP_NF_ARP_MANGLE=m
@@ -277,48 +322,38 @@ CONFIG_IP_NF_ARP_MANGLE=m
277# 322#
278# CONFIG_IP6_NF_QUEUE is not set 323# CONFIG_IP6_NF_QUEUE is not set
279CONFIG_IP6_NF_IPTABLES=m 324CONFIG_IP6_NF_IPTABLES=m
280# CONFIG_IP6_NF_MATCH_LIMIT is not set
281CONFIG_IP6_NF_MATCH_MAC=m
282CONFIG_IP6_NF_MATCH_RT=m 325CONFIG_IP6_NF_MATCH_RT=m
283CONFIG_IP6_NF_MATCH_OPTS=m 326CONFIG_IP6_NF_MATCH_OPTS=m
284CONFIG_IP6_NF_MATCH_FRAG=m 327CONFIG_IP6_NF_MATCH_FRAG=m
285CONFIG_IP6_NF_MATCH_HL=m 328CONFIG_IP6_NF_MATCH_HL=m
286# CONFIG_IP6_NF_MATCH_MULTIPORT is not set
287# CONFIG_IP6_NF_MATCH_OWNER is not set 329# CONFIG_IP6_NF_MATCH_OWNER is not set
288# CONFIG_IP6_NF_MATCH_MARK is not set
289CONFIG_IP6_NF_MATCH_IPV6HEADER=m 330CONFIG_IP6_NF_MATCH_IPV6HEADER=m
290# CONFIG_IP6_NF_MATCH_AHESP is not set 331# CONFIG_IP6_NF_MATCH_AH is not set
291# CONFIG_IP6_NF_MATCH_LENGTH is not set 332# CONFIG_IP6_NF_MATCH_MH is not set
292# CONFIG_IP6_NF_MATCH_EUI64 is not set 333# CONFIG_IP6_NF_MATCH_EUI64 is not set
293CONFIG_IP6_NF_FILTER=m 334CONFIG_IP6_NF_FILTER=m
294CONFIG_IP6_NF_TARGET_LOG=m 335CONFIG_IP6_NF_TARGET_LOG=m
295CONFIG_IP6_NF_TARGET_REJECT=m 336CONFIG_IP6_NF_TARGET_REJECT=m
296# CONFIG_IP6_NF_TARGET_NFQUEUE is not set
297CONFIG_IP6_NF_MANGLE=m 337CONFIG_IP6_NF_MANGLE=m
298# CONFIG_IP6_NF_TARGET_MARK is not set
299# CONFIG_IP6_NF_TARGET_HL is not set 338# CONFIG_IP6_NF_TARGET_HL is not set
300CONFIG_IP6_NF_RAW=m 339CONFIG_IP6_NF_RAW=m
301
302#
303# DCCP Configuration (EXPERIMENTAL)
304#
305CONFIG_IP_DCCP=m 340CONFIG_IP_DCCP=m
306CONFIG_INET_DCCP_DIAG=m 341CONFIG_INET_DCCP_DIAG=m
342CONFIG_IP_DCCP_ACKVEC=y
307 343
308# 344#
309# DCCP CCIDs Configuration (EXPERIMENTAL) 345# DCCP CCIDs Configuration (EXPERIMENTAL)
310# 346#
347CONFIG_IP_DCCP_CCID2=m
348# CONFIG_IP_DCCP_CCID2_DEBUG is not set
311# CONFIG_IP_DCCP_CCID3 is not set 349# CONFIG_IP_DCCP_CCID3 is not set
312 350
313# 351#
314# DCCP Kernel Hacking 352# DCCP Kernel Hacking
315# 353#
316# CONFIG_IP_DCCP_DEBUG is not set 354# CONFIG_IP_DCCP_DEBUG is not set
317
318#
319# SCTP Configuration (EXPERIMENTAL)
320#
321# CONFIG_IP_SCTP is not set 355# CONFIG_IP_SCTP is not set
356# CONFIG_TIPC is not set
322# CONFIG_ATM is not set 357# CONFIG_ATM is not set
323# CONFIG_BRIDGE is not set 358# CONFIG_BRIDGE is not set
324# CONFIG_VLAN_8021Q is not set 359# CONFIG_VLAN_8021Q is not set
@@ -329,11 +364,13 @@ CONFIG_LLC2=m
329# CONFIG_ATALK is not set 364# CONFIG_ATALK is not set
330# CONFIG_X25 is not set 365# CONFIG_X25 is not set
331# CONFIG_LAPB is not set 366# CONFIG_LAPB is not set
332# CONFIG_NET_DIVERT is not set
333# CONFIG_ECONET is not set 367# CONFIG_ECONET is not set
334# CONFIG_WAN_ROUTER is not set 368# CONFIG_WAN_ROUTER is not set
369
370#
371# QoS and/or fair queueing
372#
335# CONFIG_NET_SCHED is not set 373# CONFIG_NET_SCHED is not set
336# CONFIG_NET_CLS_ROUTE is not set
337 374
338# 375#
339# Network testing 376# Network testing
@@ -342,7 +379,17 @@ CONFIG_NET_PKTGEN=m
342# CONFIG_HAMRADIO is not set 379# CONFIG_HAMRADIO is not set
343# CONFIG_IRDA is not set 380# CONFIG_IRDA is not set
344# CONFIG_BT is not set 381# CONFIG_BT is not set
382# CONFIG_AF_RXRPC is not set
383
384#
385# Wireless
386#
387# CONFIG_CFG80211 is not set
388# CONFIG_WIRELESS_EXT is not set
389# CONFIG_MAC80211 is not set
345# CONFIG_IEEE80211 is not set 390# CONFIG_IEEE80211 is not set
391# CONFIG_RFKILL is not set
392# CONFIG_NET_9P is not set
346 393
347# 394#
348# Device Drivers 395# Device Drivers
@@ -351,34 +398,17 @@ CONFIG_NET_PKTGEN=m
351# 398#
352# Generic Driver Options 399# Generic Driver Options
353# 400#
401CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
354# CONFIG_STANDALONE is not set 402# CONFIG_STANDALONE is not set
355# CONFIG_PREVENT_FIRMWARE_BUILD is not set 403# CONFIG_PREVENT_FIRMWARE_BUILD is not set
356CONFIG_FW_LOADER=y 404CONFIG_FW_LOADER=y
357# CONFIG_DEBUG_DRIVER is not set 405# CONFIG_DEBUG_DRIVER is not set
358 406# CONFIG_DEBUG_DEVRES is not set
359# 407# CONFIG_SYS_HYPERVISOR is not set
360# Connector - unified userspace <-> kernelspace linker
361#
362# CONFIG_CONNECTOR is not set 408# CONFIG_CONNECTOR is not set
363
364#
365# Memory Technology Devices (MTD)
366#
367# CONFIG_MTD is not set 409# CONFIG_MTD is not set
368
369#
370# Parallel port support
371#
372# CONFIG_PARPORT is not set 410# CONFIG_PARPORT is not set
373 411CONFIG_BLK_DEV=y
374#
375# Plug and Play support
376#
377
378#
379# Block devices
380#
381# CONFIG_BLK_DEV_FD is not set
382# CONFIG_BLK_CPQ_DA is not set 412# CONFIG_BLK_CPQ_DA is not set
383# CONFIG_BLK_CPQ_CISS_DA is not set 413# CONFIG_BLK_CPQ_CISS_DA is not set
384# CONFIG_BLK_DEV_DAC960 is not set 414# CONFIG_BLK_DEV_DAC960 is not set
@@ -391,21 +421,14 @@ CONFIG_BLK_DEV_LOOP=y
391CONFIG_BLK_DEV_RAM=y 421CONFIG_BLK_DEV_RAM=y
392CONFIG_BLK_DEV_RAM_COUNT=16 422CONFIG_BLK_DEV_RAM_COUNT=16
393CONFIG_BLK_DEV_RAM_SIZE=6144 423CONFIG_BLK_DEV_RAM_SIZE=6144
394CONFIG_BLK_DEV_INITRD=y 424CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
395# CONFIG_CDROM_PKTCDVD is not set 425# CONFIG_CDROM_PKTCDVD is not set
396
397#
398# IO Schedulers
399#
400CONFIG_IOSCHED_NOOP=y
401CONFIG_IOSCHED_AS=y
402CONFIG_IOSCHED_DEADLINE=y
403CONFIG_IOSCHED_CFQ=y
404# CONFIG_ATA_OVER_ETH is not set 426# CONFIG_ATA_OVER_ETH is not set
405 427CONFIG_MISC_DEVICES=y
406# 428# CONFIG_PHANTOM is not set
407# ATA/ATAPI/MFM/RLL support 429# CONFIG_EEPROM_93CX6 is not set
408# 430# CONFIG_SGI_IOC4 is not set
431# CONFIG_TIFM_CORE is not set
409# CONFIG_IDE is not set 432# CONFIG_IDE is not set
410 433
411# 434#
@@ -413,6 +436,9 @@ CONFIG_IOSCHED_CFQ=y
413# 436#
414CONFIG_RAID_ATTRS=m 437CONFIG_RAID_ATTRS=m
415CONFIG_SCSI=y 438CONFIG_SCSI=y
439CONFIG_SCSI_DMA=y
440# CONFIG_SCSI_TGT is not set
441CONFIG_SCSI_NETLINK=y
416CONFIG_SCSI_PROC_FS=y 442CONFIG_SCSI_PROC_FS=y
417 443
418# 444#
@@ -432,18 +458,18 @@ CONFIG_CHR_DEV_SG=y
432CONFIG_SCSI_MULTI_LUN=y 458CONFIG_SCSI_MULTI_LUN=y
433# CONFIG_SCSI_CONSTANTS is not set 459# CONFIG_SCSI_CONSTANTS is not set
434# CONFIG_SCSI_LOGGING is not set 460# CONFIG_SCSI_LOGGING is not set
461# CONFIG_SCSI_SCAN_ASYNC is not set
462CONFIG_SCSI_WAIT_SCAN=m
435 463
436# 464#
437# SCSI Transport Attributes 465# SCSI Transports
438# 466#
439CONFIG_SCSI_SPI_ATTRS=y 467CONFIG_SCSI_SPI_ATTRS=y
440CONFIG_SCSI_FC_ATTRS=m 468CONFIG_SCSI_FC_ATTRS=m
441CONFIG_SCSI_ISCSI_ATTRS=m 469CONFIG_SCSI_ISCSI_ATTRS=m
442CONFIG_SCSI_SAS_ATTRS=m 470# CONFIG_SCSI_SAS_LIBSAS is not set
443 471CONFIG_SCSI_LOWLEVEL=y
444# 472# CONFIG_ISCSI_TCP is not set
445# SCSI low-level drivers
446#
447# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 473# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
448# CONFIG_SCSI_3W_9XXX is not set 474# CONFIG_SCSI_3W_9XXX is not set
449# CONFIG_SCSI_ACARD is not set 475# CONFIG_SCSI_ACARD is not set
@@ -451,59 +477,40 @@ CONFIG_SCSI_SAS_ATTRS=m
451# CONFIG_SCSI_AIC7XXX is not set 477# CONFIG_SCSI_AIC7XXX is not set
452# CONFIG_SCSI_AIC7XXX_OLD is not set 478# CONFIG_SCSI_AIC7XXX_OLD is not set
453# CONFIG_SCSI_AIC79XX is not set 479# CONFIG_SCSI_AIC79XX is not set
454# CONFIG_SCSI_ADVANSYS is not set 480# CONFIG_SCSI_AIC94XX is not set
481# CONFIG_SCSI_ARCMSR is not set
455# CONFIG_MEGARAID_NEWGEN is not set 482# CONFIG_MEGARAID_NEWGEN is not set
456# CONFIG_MEGARAID_LEGACY is not set 483# CONFIG_MEGARAID_LEGACY is not set
457# CONFIG_MEGARAID_SAS is not set 484# CONFIG_MEGARAID_SAS is not set
458# CONFIG_SCSI_SATA is not set 485# CONFIG_SCSI_HPTIOP is not set
459# CONFIG_SCSI_CPQFCTS is not set
460# CONFIG_SCSI_DMX3191D is not set 486# CONFIG_SCSI_DMX3191D is not set
461# CONFIG_SCSI_EATA_PIO is not set
462# CONFIG_SCSI_FUTURE_DOMAIN is not set 487# CONFIG_SCSI_FUTURE_DOMAIN is not set
463# CONFIG_SCSI_IPS is not set 488# CONFIG_SCSI_IPS is not set
464# CONFIG_SCSI_INITIO is not set 489# CONFIG_SCSI_INITIO is not set
465# CONFIG_SCSI_INIA100 is not set 490# CONFIG_SCSI_INIA100 is not set
491# CONFIG_SCSI_STEX is not set
466CONFIG_SCSI_SYM53C8XX_2=y 492CONFIG_SCSI_SYM53C8XX_2=y
467CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 493CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
468CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 494CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
469CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 495CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
470# CONFIG_SCSI_SYM53C8XX_IOMAPPED is not set 496CONFIG_SCSI_SYM53C8XX_MMIO=y
471# CONFIG_SCSI_IPR is not set
472# CONFIG_SCSI_QLOGIC_ISP is not set
473CONFIG_SCSI_QLOGIC_FC=m
474# CONFIG_SCSI_QLOGIC_FC_FIRMWARE is not set
475CONFIG_SCSI_QLOGIC_1280=m 497CONFIG_SCSI_QLOGIC_1280=m
476# CONFIG_SCSI_QLOGIC_1280_1040 is not set 498# CONFIG_SCSI_QLA_FC is not set
477CONFIG_SCSI_QLA2XXX=y 499# CONFIG_SCSI_QLA_ISCSI is not set
478# CONFIG_SCSI_QLA21XX is not set
479# CONFIG_SCSI_QLA22XX is not set
480CONFIG_SCSI_QLA2300=m
481CONFIG_SCSI_QLA2322=m
482# CONFIG_SCSI_QLA6312 is not set
483# CONFIG_SCSI_QLA24XX is not set
484# CONFIG_SCSI_LPFC is not set 500# CONFIG_SCSI_LPFC is not set
485# CONFIG_SCSI_DC395x is not set 501# CONFIG_SCSI_DC395x is not set
486# CONFIG_SCSI_DC390T is not set 502# CONFIG_SCSI_DC390T is not set
487CONFIG_SCSI_DEBUG=m 503CONFIG_SCSI_DEBUG=m
488 504# CONFIG_SCSI_SRP is not set
489# 505# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
490# PCMCIA SCSI adapter support 506# CONFIG_ATA is not set
491#
492CONFIG_PCMCIA_FDOMAIN=m
493CONFIG_PCMCIA_QLOGIC=m
494CONFIG_PCMCIA_SYM53C500=m
495
496#
497# Multi-device support (RAID and LVM)
498#
499CONFIG_MD=y 507CONFIG_MD=y
500CONFIG_BLK_DEV_MD=y 508CONFIG_BLK_DEV_MD=y
501CONFIG_MD_LINEAR=y 509CONFIG_MD_LINEAR=y
502CONFIG_MD_RAID0=y 510CONFIG_MD_RAID0=y
503CONFIG_MD_RAID1=y 511CONFIG_MD_RAID1=y
504# CONFIG_MD_RAID10 is not set 512# CONFIG_MD_RAID10 is not set
505# CONFIG_MD_RAID5 is not set 513# CONFIG_MD_RAID456 is not set
506# CONFIG_MD_RAID6 is not set
507# CONFIG_MD_MULTIPATH is not set 514# CONFIG_MD_MULTIPATH is not set
508# CONFIG_MD_FAULTY is not set 515# CONFIG_MD_FAULTY is not set
509# CONFIG_BLK_DEV_DM is not set 516# CONFIG_BLK_DEV_DM is not set
@@ -517,39 +524,25 @@ CONFIG_FUSION_FC=m
517# CONFIG_FUSION_SAS is not set 524# CONFIG_FUSION_SAS is not set
518CONFIG_FUSION_MAX_SGE=128 525CONFIG_FUSION_MAX_SGE=128
519CONFIG_FUSION_CTL=m 526CONFIG_FUSION_CTL=m
527# CONFIG_FUSION_LOGGING is not set
520 528
521# 529#
522# IEEE 1394 (FireWire) support 530# IEEE 1394 (FireWire) support
523# 531#
532# CONFIG_FIREWIRE is not set
524# CONFIG_IEEE1394 is not set 533# CONFIG_IEEE1394 is not set
525
526#
527# I2O device support
528#
529# CONFIG_I2O is not set 534# CONFIG_I2O is not set
530
531#
532# Network device support
533#
534CONFIG_NETDEVICES=y 535CONFIG_NETDEVICES=y
536# CONFIG_NETDEVICES_MULTIQUEUE is not set
535CONFIG_DUMMY=m 537CONFIG_DUMMY=m
536CONFIG_BONDING=m 538CONFIG_BONDING=m
539# CONFIG_MACVLAN is not set
537# CONFIG_EQUALIZER is not set 540# CONFIG_EQUALIZER is not set
538CONFIG_TUN=m 541CONFIG_TUN=m
539 542# CONFIG_VETH is not set
540# 543# CONFIG_IP1000 is not set
541# ARCnet devices
542#
543# CONFIG_ARCNET is not set 544# CONFIG_ARCNET is not set
544
545#
546# PHY device support
547#
548# CONFIG_PHYLIB is not set 545# CONFIG_PHYLIB is not set
549
550#
551# Ethernet (10 or 100Mbit)
552#
553CONFIG_NET_ETHERNET=y 546CONFIG_NET_ETHERNET=y
554CONFIG_MII=m 547CONFIG_MII=m
555# CONFIG_HAPPYMEAL is not set 548# CONFIG_HAPPYMEAL is not set
@@ -558,10 +551,6 @@ CONFIG_MII=m
558CONFIG_NET_VENDOR_3COM=y 551CONFIG_NET_VENDOR_3COM=y
559CONFIG_VORTEX=m 552CONFIG_VORTEX=m
560CONFIG_TYPHOON=m 553CONFIG_TYPHOON=m
561
562#
563# Tulip family network device support
564#
565CONFIG_NET_TULIP=y 554CONFIG_NET_TULIP=y
566CONFIG_DE2104X=m 555CONFIG_DE2104X=m
567CONFIG_TULIP=y 556CONFIG_TULIP=y
@@ -573,15 +562,18 @@ CONFIG_TULIP_MMIO=y
573# CONFIG_DM9102 is not set 562# CONFIG_DM9102 is not set
574# CONFIG_ULI526X is not set 563# CONFIG_ULI526X is not set
575CONFIG_PCMCIA_XIRCOM=m 564CONFIG_PCMCIA_XIRCOM=m
576# CONFIG_PCMCIA_XIRTULIP is not set
577CONFIG_HP100=m 565CONFIG_HP100=m
566# CONFIG_IBM_NEW_EMAC_ZMII is not set
567# CONFIG_IBM_NEW_EMAC_RGMII is not set
568# CONFIG_IBM_NEW_EMAC_TAH is not set
569# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
578CONFIG_NET_PCI=y 570CONFIG_NET_PCI=y
579CONFIG_PCNET32=m 571CONFIG_PCNET32=m
572# CONFIG_PCNET32_NAPI is not set
580# CONFIG_AMD8111_ETH is not set 573# CONFIG_AMD8111_ETH is not set
581# CONFIG_ADAPTEC_STARFIRE is not set 574# CONFIG_ADAPTEC_STARFIRE is not set
582# CONFIG_B44 is not set 575# CONFIG_B44 is not set
583# CONFIG_FORCEDETH is not set 576# CONFIG_FORCEDETH is not set
584# CONFIG_DGRS is not set
585# CONFIG_EEPRO100 is not set 577# CONFIG_EEPRO100 is not set
586CONFIG_E100=m 578CONFIG_E100=m
587# CONFIG_FEALNX is not set 579# CONFIG_FEALNX is not set
@@ -593,84 +585,46 @@ CONFIG_E100=m
593# CONFIG_EPIC100 is not set 585# CONFIG_EPIC100 is not set
594# CONFIG_SUNDANCE is not set 586# CONFIG_SUNDANCE is not set
595# CONFIG_VIA_RHINE is not set 587# CONFIG_VIA_RHINE is not set
596 588# CONFIG_SC92031 is not set
597# 589CONFIG_NETDEV_1000=y
598# Ethernet (1000 Mbit)
599#
600CONFIG_ACENIC=m 590CONFIG_ACENIC=m
601CONFIG_ACENIC_OMIT_TIGON_I=y 591CONFIG_ACENIC_OMIT_TIGON_I=y
602# CONFIG_DL2K is not set 592# CONFIG_DL2K is not set
603CONFIG_E1000=m 593CONFIG_E1000=m
604CONFIG_E1000_NAPI=y 594CONFIG_E1000_NAPI=y
605# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set 595# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
596# CONFIG_E1000E is not set
606# CONFIG_NS83820 is not set 597# CONFIG_NS83820 is not set
607# CONFIG_HAMACHI is not set 598# CONFIG_HAMACHI is not set
608# CONFIG_YELLOWFIN is not set 599# CONFIG_YELLOWFIN is not set
609# CONFIG_R8169 is not set 600# CONFIG_R8169 is not set
610# CONFIG_SIS190 is not set 601# CONFIG_SIS190 is not set
611# CONFIG_SKGE is not set 602# CONFIG_SKGE is not set
603# CONFIG_SKY2 is not set
612# CONFIG_SK98LIN is not set 604# CONFIG_SK98LIN is not set
613# CONFIG_VIA_VELOCITY is not set 605# CONFIG_VIA_VELOCITY is not set
614CONFIG_TIGON3=m 606CONFIG_TIGON3=m
615# CONFIG_BNX2 is not set 607# CONFIG_BNX2 is not set
616 608# CONFIG_QLA3XXX is not set
617# 609# CONFIG_ATL1 is not set
618# Ethernet (10000 Mbit) 610CONFIG_NETDEV_10000=y
619#
620# CONFIG_CHELSIO_T1 is not set 611# CONFIG_CHELSIO_T1 is not set
612# CONFIG_CHELSIO_T3 is not set
613# CONFIG_IXGBE is not set
621# CONFIG_IXGB is not set 614# CONFIG_IXGB is not set
622# CONFIG_S2IO is not set 615# CONFIG_S2IO is not set
623 616# CONFIG_MYRI10GE is not set
624# 617# CONFIG_NETXEN_NIC is not set
625# Token Ring devices 618# CONFIG_NIU is not set
626# 619# CONFIG_MLX4_CORE is not set
620# CONFIG_TEHUTI is not set
627# CONFIG_TR is not set 621# CONFIG_TR is not set
628 622
629# 623#
630# Wireless LAN (non-hamradio) 624# Wireless LAN
631#
632CONFIG_NET_RADIO=y
633
634#
635# Obsolete Wireless cards support (pre-802.11)
636#
637# CONFIG_STRIP is not set
638# CONFIG_PCMCIA_WAVELAN is not set
639CONFIG_PCMCIA_NETWAVE=m
640
641#
642# Wireless 802.11 Frequency Hopping cards support
643#
644CONFIG_PCMCIA_RAYCS=m
645
646#
647# Wireless 802.11b ISA/PCI cards support
648#
649CONFIG_HERMES=m
650CONFIG_PLX_HERMES=m
651CONFIG_TMD_HERMES=m
652# CONFIG_NORTEL_HERMES is not set
653CONFIG_PCI_HERMES=m
654# CONFIG_ATMEL is not set
655
656#
657# Wireless 802.11b Pcmcia/Cardbus cards support
658#
659CONFIG_PCMCIA_HERMES=m
660# CONFIG_PCMCIA_SPECTRUM is not set
661CONFIG_AIRO_CS=m
662CONFIG_PCMCIA_WL3501=m
663
664#
665# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
666#
667# CONFIG_PRISM54 is not set
668# CONFIG_HOSTAP is not set
669CONFIG_NET_WIRELESS=y
670
671#
672# PCMCIA network device support
673# 625#
626# CONFIG_WLAN_PRE80211 is not set
627# CONFIG_WLAN_80211 is not set
674CONFIG_NET_PCMCIA=y 628CONFIG_NET_PCMCIA=y
675CONFIG_PCMCIA_3C589=m 629CONFIG_PCMCIA_3C589=m
676CONFIG_PCMCIA_3C574=m 630CONFIG_PCMCIA_3C574=m
@@ -680,10 +634,6 @@ CONFIG_PCMCIA_3C574=m
680CONFIG_PCMCIA_SMC91C92=m 634CONFIG_PCMCIA_SMC91C92=m
681CONFIG_PCMCIA_XIRC2PS=m 635CONFIG_PCMCIA_XIRC2PS=m
682# CONFIG_PCMCIA_AXNET is not set 636# CONFIG_PCMCIA_AXNET is not set
683
684#
685# Wan interfaces
686#
687# CONFIG_WAN is not set 637# CONFIG_WAN is not set
688# CONFIG_FDDI is not set 638# CONFIG_FDDI is not set
689# CONFIG_HIPPI is not set 639# CONFIG_HIPPI is not set
@@ -694,28 +644,25 @@ CONFIG_PPP_ASYNC=m
694CONFIG_PPP_SYNC_TTY=m 644CONFIG_PPP_SYNC_TTY=m
695CONFIG_PPP_DEFLATE=m 645CONFIG_PPP_DEFLATE=m
696CONFIG_PPP_BSDCOMP=m 646CONFIG_PPP_BSDCOMP=m
647# CONFIG_PPP_MPPE is not set
697# CONFIG_PPPOE is not set 648# CONFIG_PPPOE is not set
649# CONFIG_PPPOL2TP is not set
698# CONFIG_SLIP is not set 650# CONFIG_SLIP is not set
651CONFIG_SLHC=m
699# CONFIG_NET_FC is not set 652# CONFIG_NET_FC is not set
700# CONFIG_SHAPER is not set 653# CONFIG_SHAPER is not set
701# CONFIG_NETCONSOLE is not set 654# CONFIG_NETCONSOLE is not set
702# CONFIG_NETPOLL is not set 655# CONFIG_NETPOLL is not set
703# CONFIG_NET_POLL_CONTROLLER is not set 656# CONFIG_NET_POLL_CONTROLLER is not set
704
705#
706# ISDN subsystem
707#
708# CONFIG_ISDN is not set 657# CONFIG_ISDN is not set
709
710#
711# Telephony Support
712#
713# CONFIG_PHONE is not set 658# CONFIG_PHONE is not set
714 659
715# 660#
716# Input device support 661# Input device support
717# 662#
718CONFIG_INPUT=y 663CONFIG_INPUT=y
664# CONFIG_INPUT_FF_MEMLESS is not set
665# CONFIG_INPUT_POLLDEV is not set
719 666
720# 667#
721# Userland interfaces 668# Userland interfaces
@@ -732,6 +679,7 @@ CONFIG_INPUT=y
732# CONFIG_INPUT_KEYBOARD is not set 679# CONFIG_INPUT_KEYBOARD is not set
733# CONFIG_INPUT_MOUSE is not set 680# CONFIG_INPUT_MOUSE is not set
734# CONFIG_INPUT_JOYSTICK is not set 681# CONFIG_INPUT_JOYSTICK is not set
682# CONFIG_INPUT_TABLET is not set
735# CONFIG_INPUT_TOUCHSCREEN is not set 683# CONFIG_INPUT_TOUCHSCREEN is not set
736# CONFIG_INPUT_MISC is not set 684# CONFIG_INPUT_MISC is not set
737 685
@@ -747,6 +695,7 @@ CONFIG_INPUT=y
747CONFIG_VT=y 695CONFIG_VT=y
748CONFIG_VT_CONSOLE=y 696CONFIG_VT_CONSOLE=y
749CONFIG_HW_CONSOLE=y 697CONFIG_HW_CONSOLE=y
698# CONFIG_VT_HW_CONSOLE_BINDING is not set
750# CONFIG_SERIAL_NONSTANDARD is not set 699# CONFIG_SERIAL_NONSTANDARD is not set
751 700
752# 701#
@@ -754,8 +703,10 @@ CONFIG_HW_CONSOLE=y
754# 703#
755CONFIG_SERIAL_8250=y 704CONFIG_SERIAL_8250=y
756CONFIG_SERIAL_8250_CONSOLE=y 705CONFIG_SERIAL_8250_CONSOLE=y
706CONFIG_SERIAL_8250_PCI=y
757CONFIG_SERIAL_8250_CS=m 707CONFIG_SERIAL_8250_CS=m
758CONFIG_SERIAL_8250_NR_UARTS=17 708CONFIG_SERIAL_8250_NR_UARTS=17
709CONFIG_SERIAL_8250_RUNTIME_UARTS=4
759CONFIG_SERIAL_8250_EXTENDED=y 710CONFIG_SERIAL_8250_EXTENDED=y
760CONFIG_SERIAL_8250_MANY_PORTS=y 711CONFIG_SERIAL_8250_MANY_PORTS=y
761CONFIG_SERIAL_8250_SHARE_IRQ=y 712CONFIG_SERIAL_8250_SHARE_IRQ=y
@@ -765,83 +716,73 @@ CONFIG_SERIAL_8250_SHARE_IRQ=y
765# 716#
766# Non-8250 serial port support 717# Non-8250 serial port support
767# 718#
768# CONFIG_SERIAL_MUX is not set
769CONFIG_PDC_CONSOLE=y 719CONFIG_PDC_CONSOLE=y
770CONFIG_SERIAL_CORE=y 720CONFIG_SERIAL_CORE=y
771CONFIG_SERIAL_CORE_CONSOLE=y 721CONFIG_SERIAL_CORE_CONSOLE=y
772# CONFIG_SERIAL_JSM is not set 722# CONFIG_SERIAL_JSM is not set
773CONFIG_UNIX98_PTYS=y 723CONFIG_UNIX98_PTYS=y
774# CONFIG_LEGACY_PTYS is not set 724# CONFIG_LEGACY_PTYS is not set
775
776#
777# IPMI
778#
779# CONFIG_IPMI_HANDLER is not set 725# CONFIG_IPMI_HANDLER is not set
780
781#
782# Watchdog Cards
783#
784# CONFIG_WATCHDOG is not set 726# CONFIG_WATCHDOG is not set
727# CONFIG_HW_RANDOM is not set
785CONFIG_GEN_RTC=y 728CONFIG_GEN_RTC=y
786CONFIG_GEN_RTC_X=y 729CONFIG_GEN_RTC_X=y
787# CONFIG_DTLK is not set
788# CONFIG_R3964 is not set 730# CONFIG_R3964 is not set
789# CONFIG_APPLICOM is not set 731# CONFIG_APPLICOM is not set
790 732CONFIG_AGP=y
791# 733CONFIG_AGP_PARISC=y
792# Ftape, the floppy tape device driver
793#
794# CONFIG_DRM is not set 734# CONFIG_DRM is not set
795 735
796# 736#
797# PCMCIA character devices 737# PCMCIA character devices
798# 738#
799# CONFIG_SYNCLINK_CS is not set 739# CONFIG_SYNCLINK_CS is not set
740# CONFIG_CARDMAN_4000 is not set
741# CONFIG_CARDMAN_4040 is not set
800CONFIG_RAW_DRIVER=y 742CONFIG_RAW_DRIVER=y
801CONFIG_MAX_RAW_DEVS=256 743CONFIG_MAX_RAW_DEVS=256
802
803#
804# TPM devices
805#
806# CONFIG_TCG_TPM is not set 744# CONFIG_TCG_TPM is not set
807 745CONFIG_DEVPORT=y
808#
809# I2C support
810#
811# CONFIG_I2C is not set 746# CONFIG_I2C is not set
812 747
813# 748#
814# Dallas's 1-wire bus 749# SPI support
815# 750#
751# CONFIG_SPI is not set
752# CONFIG_SPI_MASTER is not set
816# CONFIG_W1 is not set 753# CONFIG_W1 is not set
817 754# CONFIG_POWER_SUPPLY is not set
818#
819# Hardware Monitoring support
820#
821# CONFIG_HWMON is not set 755# CONFIG_HWMON is not set
822# CONFIG_HWMON_VID is not set
823 756
824# 757#
825# Misc devices 758# Sonics Silicon Backplane
826# 759#
760CONFIG_SSB_POSSIBLE=y
761# CONFIG_SSB is not set
827 762
828# 763#
829# Multimedia Capabilities Port drivers 764# Multifunction device drivers
830# 765#
766# CONFIG_MFD_SM501 is not set
831 767
832# 768#
833# Multimedia devices 769# Multimedia devices
834# 770#
835# CONFIG_VIDEO_DEV is not set 771# CONFIG_VIDEO_DEV is not set
772# CONFIG_DVB_CORE is not set
773# CONFIG_DAB is not set
836 774
837# 775#
838# Digital Video Broadcasting Devices 776# Graphics support
839# 777#
840# CONFIG_DVB is not set 778# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
841 779
842# 780#
843# Graphics support 781# Display device support
844# 782#
783# CONFIG_DISPLAY_SUPPORT is not set
784# CONFIG_VGASTATE is not set
785# CONFIG_VIDEO_OUTPUT_CONTROL is not set
845# CONFIG_FB is not set 786# CONFIG_FB is not set
846 787
847# 788#
@@ -856,34 +797,47 @@ CONFIG_DUMMY_CONSOLE_ROWS=64
856# Sound 797# Sound
857# 798#
858# CONFIG_SOUND is not set 799# CONFIG_SOUND is not set
859 800CONFIG_HID_SUPPORT=y
860# 801CONFIG_HID=y
861# USB support 802# CONFIG_HID_DEBUG is not set
862# 803CONFIG_USB_SUPPORT=y
863CONFIG_USB_ARCH_HAS_HCD=y 804CONFIG_USB_ARCH_HAS_HCD=y
864CONFIG_USB_ARCH_HAS_OHCI=y 805CONFIG_USB_ARCH_HAS_OHCI=y
806CONFIG_USB_ARCH_HAS_EHCI=y
865# CONFIG_USB is not set 807# CONFIG_USB is not set
866 808
867# 809#
810# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
811#
812
813#
868# USB Gadget Support 814# USB Gadget Support
869# 815#
870# CONFIG_USB_GADGET is not set 816# CONFIG_USB_GADGET is not set
817# CONFIG_MMC is not set
818# CONFIG_NEW_LEDS is not set
819# CONFIG_INFINIBAND is not set
820# CONFIG_RTC_CLASS is not set
871 821
872# 822#
873# MMC/SD Card support 823# DMA Engine support
874# 824#
875# CONFIG_MMC is not set 825# CONFIG_DMA_ENGINE is not set
876 826
877# 827#
878# InfiniBand support 828# DMA Clients
879# 829#
880# CONFIG_INFINIBAND is not set
881 830
882# 831#
883# SN Devices 832# DMA Devices
884# 833#
885 834
886# 835#
836# Userspace I/O
837#
838# CONFIG_UIO is not set
839
840#
887# File systems 841# File systems
888# 842#
889CONFIG_EXT2_FS=y 843CONFIG_EXT2_FS=y
@@ -891,6 +845,7 @@ CONFIG_EXT2_FS=y
891# CONFIG_EXT2_FS_XIP is not set 845# CONFIG_EXT2_FS_XIP is not set
892CONFIG_EXT3_FS=y 846CONFIG_EXT3_FS=y
893# CONFIG_EXT3_FS_XATTR is not set 847# CONFIG_EXT3_FS_XATTR is not set
848# CONFIG_EXT4DEV_FS is not set
894CONFIG_JBD=y 849CONFIG_JBD=y
895# CONFIG_JBD_DEBUG is not set 850# CONFIG_JBD_DEBUG is not set
896# CONFIG_REISERFS_FS is not set 851# CONFIG_REISERFS_FS is not set
@@ -901,14 +856,16 @@ CONFIG_JFS_FS=m
901# CONFIG_JFS_STATISTICS is not set 856# CONFIG_JFS_STATISTICS is not set
902CONFIG_FS_POSIX_ACL=y 857CONFIG_FS_POSIX_ACL=y
903CONFIG_XFS_FS=m 858CONFIG_XFS_FS=m
904CONFIG_XFS_EXPORT=y
905# CONFIG_XFS_QUOTA is not set 859# CONFIG_XFS_QUOTA is not set
906# CONFIG_XFS_SECURITY is not set 860# CONFIG_XFS_SECURITY is not set
907# CONFIG_XFS_POSIX_ACL is not set 861# CONFIG_XFS_POSIX_ACL is not set
908# CONFIG_XFS_RT is not set 862# CONFIG_XFS_RT is not set
863# CONFIG_GFS2_FS is not set
864# CONFIG_OCFS2_FS is not set
909# CONFIG_MINIX_FS is not set 865# CONFIG_MINIX_FS is not set
910# CONFIG_ROMFS_FS is not set 866# CONFIG_ROMFS_FS is not set
911CONFIG_INOTIFY=y 867CONFIG_INOTIFY=y
868CONFIG_INOTIFY_USER=y
912# CONFIG_QUOTA is not set 869# CONFIG_QUOTA is not set
913CONFIG_DNOTIFY=y 870CONFIG_DNOTIFY=y
914# CONFIG_AUTOFS_FS is not set 871# CONFIG_AUTOFS_FS is not set
@@ -939,18 +896,20 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
939# 896#
940CONFIG_PROC_FS=y 897CONFIG_PROC_FS=y
941CONFIG_PROC_KCORE=y 898CONFIG_PROC_KCORE=y
899CONFIG_PROC_SYSCTL=y
942CONFIG_SYSFS=y 900CONFIG_SYSFS=y
943CONFIG_TMPFS=y 901CONFIG_TMPFS=y
944# CONFIG_HUGETLBFS is not set 902# CONFIG_TMPFS_POSIX_ACL is not set
945# CONFIG_HUGETLB_PAGE is not set 903# CONFIG_HUGETLB_PAGE is not set
946CONFIG_RAMFS=y 904CONFIG_RAMFS=y
947# CONFIG_RELAYFS_FS is not set 905# CONFIG_CONFIGFS_FS is not set
948 906
949# 907#
950# Miscellaneous filesystems 908# Miscellaneous filesystems
951# 909#
952# CONFIG_ADFS_FS is not set 910# CONFIG_ADFS_FS is not set
953# CONFIG_AFFS_FS is not set 911# CONFIG_AFFS_FS is not set
912# CONFIG_ECRYPT_FS is not set
954# CONFIG_HFS_FS is not set 913# CONFIG_HFS_FS is not set
955# CONFIG_HFSPLUS_FS is not set 914# CONFIG_HFSPLUS_FS is not set
956# CONFIG_BEFS_FS is not set 915# CONFIG_BEFS_FS is not set
@@ -963,6 +922,7 @@ CONFIG_RAMFS=y
963# CONFIG_SYSV_FS is not set 922# CONFIG_SYSV_FS is not set
964CONFIG_UFS_FS=m 923CONFIG_UFS_FS=m
965# CONFIG_UFS_FS_WRITE is not set 924# CONFIG_UFS_FS_WRITE is not set
925# CONFIG_UFS_DEBUG is not set
966 926
967# 927#
968# Network File Systems 928# Network File Systems
@@ -983,6 +943,7 @@ CONFIG_EXPORTFS=m
983CONFIG_NFS_COMMON=y 943CONFIG_NFS_COMMON=y
984CONFIG_SUNRPC=m 944CONFIG_SUNRPC=m
985CONFIG_SUNRPC_GSS=m 945CONFIG_SUNRPC_GSS=m
946# CONFIG_SUNRPC_BIND34 is not set
986CONFIG_RPCSEC_GSS_KRB5=m 947CONFIG_RPCSEC_GSS_KRB5=m
987CONFIG_RPCSEC_GSS_SPKM3=m 948CONFIG_RPCSEC_GSS_SPKM3=m
988CONFIG_SMB_FS=m 949CONFIG_SMB_FS=m
@@ -990,12 +951,13 @@ CONFIG_SMB_NLS_DEFAULT=y
990CONFIG_SMB_NLS_REMOTE="cp437" 951CONFIG_SMB_NLS_REMOTE="cp437"
991CONFIG_CIFS=m 952CONFIG_CIFS=m
992# CONFIG_CIFS_STATS is not set 953# CONFIG_CIFS_STATS is not set
954# CONFIG_CIFS_WEAK_PW_HASH is not set
993# CONFIG_CIFS_XATTR is not set 955# CONFIG_CIFS_XATTR is not set
956# CONFIG_CIFS_DEBUG2 is not set
994# CONFIG_CIFS_EXPERIMENTAL is not set 957# CONFIG_CIFS_EXPERIMENTAL is not set
995# CONFIG_NCP_FS is not set 958# CONFIG_NCP_FS is not set
996# CONFIG_CODA_FS is not set 959# CONFIG_CODA_FS is not set
997# CONFIG_AFS_FS is not set 960# CONFIG_AFS_FS is not set
998# CONFIG_9P_FS is not set
999 961
1000# 962#
1001# Partition Types 963# Partition Types
@@ -1048,6 +1010,11 @@ CONFIG_NLS_ISO8859_15=m
1048CONFIG_NLS_UTF8=m 1010CONFIG_NLS_UTF8=m
1049 1011
1050# 1012#
1013# Distributed Lock Manager
1014#
1015# CONFIG_DLM is not set
1016
1017#
1051# Profiling support 1018# Profiling support
1052# 1019#
1053CONFIG_PROFILING=y 1020CONFIG_PROFILING=y
@@ -1057,19 +1024,34 @@ CONFIG_OPROFILE=m
1057# Kernel hacking 1024# Kernel hacking
1058# 1025#
1059# CONFIG_PRINTK_TIME is not set 1026# CONFIG_PRINTK_TIME is not set
1060CONFIG_DEBUG_KERNEL=y 1027CONFIG_ENABLE_MUST_CHECK=y
1061CONFIG_MAGIC_SYSRQ=y 1028CONFIG_MAGIC_SYSRQ=y
1062CONFIG_LOG_BUF_SHIFT=16 1029# CONFIG_UNUSED_SYMBOLS is not set
1030# CONFIG_DEBUG_FS is not set
1031CONFIG_HEADERS_CHECK=y
1032CONFIG_DEBUG_KERNEL=y
1033# CONFIG_DEBUG_SHIRQ is not set
1063CONFIG_DETECT_SOFTLOCKUP=y 1034CONFIG_DETECT_SOFTLOCKUP=y
1035CONFIG_SCHED_DEBUG=y
1064# CONFIG_SCHEDSTATS is not set 1036# CONFIG_SCHEDSTATS is not set
1037# CONFIG_TIMER_STATS is not set
1065# CONFIG_DEBUG_SLAB is not set 1038# CONFIG_DEBUG_SLAB is not set
1039# CONFIG_DEBUG_RT_MUTEXES is not set
1040# CONFIG_RT_MUTEX_TESTER is not set
1066# CONFIG_DEBUG_SPINLOCK is not set 1041# CONFIG_DEBUG_SPINLOCK is not set
1042# CONFIG_DEBUG_MUTEXES is not set
1067# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1043# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1044# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1068# CONFIG_DEBUG_KOBJECT is not set 1045# CONFIG_DEBUG_KOBJECT is not set
1046# CONFIG_DEBUG_BUGVERBOSE is not set
1069# CONFIG_DEBUG_INFO is not set 1047# CONFIG_DEBUG_INFO is not set
1070# CONFIG_DEBUG_IOREMAP is not set 1048# CONFIG_DEBUG_VM is not set
1071# CONFIG_DEBUG_FS is not set 1049# CONFIG_DEBUG_LIST is not set
1050CONFIG_FORCED_INLINING=y
1051# CONFIG_RCU_TORTURE_TEST is not set
1052# CONFIG_FAULT_INJECTION is not set
1072# CONFIG_DEBUG_RWLOCK is not set 1053# CONFIG_DEBUG_RWLOCK is not set
1054# CONFIG_DEBUG_RODATA is not set
1073 1055
1074# 1056#
1075# Security options 1057# Security options
@@ -1077,12 +1059,13 @@ CONFIG_DETECT_SOFTLOCKUP=y
1077CONFIG_KEYS=y 1059CONFIG_KEYS=y
1078CONFIG_KEYS_DEBUG_PROC_KEYS=y 1060CONFIG_KEYS_DEBUG_PROC_KEYS=y
1079# CONFIG_SECURITY is not set 1061# CONFIG_SECURITY is not set
1080
1081#
1082# Cryptographic options
1083#
1084CONFIG_CRYPTO=y 1062CONFIG_CRYPTO=y
1063CONFIG_CRYPTO_ALGAPI=y
1064CONFIG_CRYPTO_BLKCIPHER=m
1065CONFIG_CRYPTO_HASH=y
1066CONFIG_CRYPTO_MANAGER=y
1085CONFIG_CRYPTO_HMAC=y 1067CONFIG_CRYPTO_HMAC=y
1068# CONFIG_CRYPTO_XCBC is not set
1086CONFIG_CRYPTO_NULL=m 1069CONFIG_CRYPTO_NULL=m
1087# CONFIG_CRYPTO_MD4 is not set 1070# CONFIG_CRYPTO_MD4 is not set
1088CONFIG_CRYPTO_MD5=y 1071CONFIG_CRYPTO_MD5=y
@@ -1091,32 +1074,47 @@ CONFIG_CRYPTO_SHA1=m
1091# CONFIG_CRYPTO_SHA512 is not set 1074# CONFIG_CRYPTO_SHA512 is not set
1092# CONFIG_CRYPTO_WP512 is not set 1075# CONFIG_CRYPTO_WP512 is not set
1093# CONFIG_CRYPTO_TGR192 is not set 1076# CONFIG_CRYPTO_TGR192 is not set
1077# CONFIG_CRYPTO_GF128MUL is not set
1078# CONFIG_CRYPTO_ECB is not set
1079CONFIG_CRYPTO_CBC=m
1080# CONFIG_CRYPTO_PCBC is not set
1081# CONFIG_CRYPTO_LRW is not set
1082# CONFIG_CRYPTO_XTS is not set
1083# CONFIG_CRYPTO_CRYPTD is not set
1094CONFIG_CRYPTO_DES=m 1084CONFIG_CRYPTO_DES=m
1085# CONFIG_CRYPTO_FCRYPT is not set
1095CONFIG_CRYPTO_BLOWFISH=m 1086CONFIG_CRYPTO_BLOWFISH=m
1096# CONFIG_CRYPTO_TWOFISH is not set 1087# CONFIG_CRYPTO_TWOFISH is not set
1097# CONFIG_CRYPTO_SERPENT is not set 1088# CONFIG_CRYPTO_SERPENT is not set
1098# CONFIG_CRYPTO_AES is not set 1089# CONFIG_CRYPTO_AES is not set
1099# CONFIG_CRYPTO_CAST5 is not set 1090CONFIG_CRYPTO_CAST5=m
1100# CONFIG_CRYPTO_CAST6 is not set 1091# CONFIG_CRYPTO_CAST6 is not set
1101# CONFIG_CRYPTO_TEA is not set 1092# CONFIG_CRYPTO_TEA is not set
1102# CONFIG_CRYPTO_ARC4 is not set 1093# CONFIG_CRYPTO_ARC4 is not set
1103# CONFIG_CRYPTO_KHAZAD is not set 1094# CONFIG_CRYPTO_KHAZAD is not set
1104# CONFIG_CRYPTO_ANUBIS is not set 1095# CONFIG_CRYPTO_ANUBIS is not set
1096# CONFIG_CRYPTO_SEED is not set
1105CONFIG_CRYPTO_DEFLATE=m 1097CONFIG_CRYPTO_DEFLATE=m
1106# CONFIG_CRYPTO_MICHAEL_MIC is not set 1098# CONFIG_CRYPTO_MICHAEL_MIC is not set
1107CONFIG_CRYPTO_CRC32C=m 1099CONFIG_CRYPTO_CRC32C=m
1100# CONFIG_CRYPTO_CAMELLIA is not set
1108CONFIG_CRYPTO_TEST=m 1101CONFIG_CRYPTO_TEST=m
1109 1102# CONFIG_CRYPTO_AUTHENC is not set
1110# 1103# CONFIG_CRYPTO_HW is not set
1111# Hardware crypto devices
1112#
1113 1104
1114# 1105#
1115# Library routines 1106# Library routines
1116# 1107#
1108CONFIG_BITREVERSE=y
1117CONFIG_CRC_CCITT=m 1109CONFIG_CRC_CCITT=m
1118# CONFIG_CRC16 is not set 1110# CONFIG_CRC16 is not set
1111# CONFIG_CRC_ITU_T is not set
1119CONFIG_CRC32=y 1112CONFIG_CRC32=y
1113# CONFIG_CRC7 is not set
1120CONFIG_LIBCRC32C=m 1114CONFIG_LIBCRC32C=m
1121CONFIG_ZLIB_INFLATE=m 1115CONFIG_ZLIB_INFLATE=m
1122CONFIG_ZLIB_DEFLATE=m 1116CONFIG_ZLIB_DEFLATE=m
1117CONFIG_PLIST=y
1118CONFIG_HAS_IOMEM=y
1119CONFIG_HAS_IOPORT=y
1120CONFIG_HAS_DMA=y
diff --git a/arch/parisc/configs/b180_defconfig b/arch/parisc/configs/b180_defconfig
index 35093612ad2c..1bf22c9a4614 100644
--- a/arch/parisc/configs/b180_defconfig
+++ b/arch/parisc/configs/b180_defconfig
@@ -1,38 +1,47 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.16-rc1-pa0 3# Linux kernel version: 2.6.23
4# Tue Jan 17 08:21:01 2006 4# Fri Oct 12 21:16:46 2007
5# 5#
6CONFIG_PARISC=y 6CONFIG_PARISC=y
7CONFIG_MMU=y 7CONFIG_MMU=y
8CONFIG_STACK_GROWSUP=y 8CONFIG_STACK_GROWSUP=y
9CONFIG_RWSEM_GENERIC_SPINLOCK=y 9CONFIG_RWSEM_GENERIC_SPINLOCK=y
10# CONFIG_ARCH_HAS_ILOG2_U32 is not set
11# CONFIG_ARCH_HAS_ILOG2_U64 is not set
12CONFIG_GENERIC_FIND_NEXT_BIT=y
13CONFIG_GENERIC_BUG=y
14CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_CALIBRATE_DELAY=y 15CONFIG_GENERIC_CALIBRATE_DELAY=y
16CONFIG_GENERIC_TIME=y
11CONFIG_GENERIC_HARDIRQS=y 17CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y 18CONFIG_GENERIC_IRQ_PROBE=y
19CONFIG_IRQ_PER_CPU=y
20CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 21
14# 22#
15# Code maturity level options 23# General setup
16# 24#
17# CONFIG_EXPERIMENTAL is not set 25# CONFIG_EXPERIMENTAL is not set
18CONFIG_CLEAN_COMPILE=y
19CONFIG_BROKEN_ON_SMP=y 26CONFIG_BROKEN_ON_SMP=y
20CONFIG_INIT_ENV_ARG_LIMIT=32 27CONFIG_INIT_ENV_ARG_LIMIT=32
21
22#
23# General setup
24#
25CONFIG_LOCALVERSION="" 28CONFIG_LOCALVERSION=""
26# CONFIG_LOCALVERSION_AUTO is not set 29# CONFIG_LOCALVERSION_AUTO is not set
27CONFIG_SWAP=y 30CONFIG_SWAP=y
28CONFIG_SYSVIPC=y 31CONFIG_SYSVIPC=y
32CONFIG_SYSVIPC_SYSCTL=y
29# CONFIG_BSD_PROCESS_ACCT is not set 33# CONFIG_BSD_PROCESS_ACCT is not set
30CONFIG_SYSCTL=y 34# CONFIG_TASKSTATS is not set
31# CONFIG_AUDIT is not set 35# CONFIG_AUDIT is not set
32CONFIG_IKCONFIG=y 36CONFIG_IKCONFIG=y
33CONFIG_IKCONFIG_PROC=y 37CONFIG_IKCONFIG_PROC=y
34CONFIG_INITRAMFS_SOURCE="" 38CONFIG_LOG_BUF_SHIFT=16
39CONFIG_SYSFS_DEPRECATED=y
40# CONFIG_RELAY is not set
41# CONFIG_BLK_DEV_INITRD is not set
42CONFIG_SYSCTL=y
35# CONFIG_EMBEDDED is not set 43# CONFIG_EMBEDDED is not set
44CONFIG_SYSCTL_SYSCALL=y
36CONFIG_KALLSYMS=y 45CONFIG_KALLSYMS=y
37# CONFIG_KALLSYMS_ALL is not set 46# CONFIG_KALLSYMS_ALL is not set
38# CONFIG_KALLSYMS_EXTRA_PASS is not set 47# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -42,30 +51,27 @@ CONFIG_BUG=y
42CONFIG_ELF_CORE=y 51CONFIG_ELF_CORE=y
43CONFIG_BASE_FULL=y 52CONFIG_BASE_FULL=y
44CONFIG_FUTEX=y 53CONFIG_FUTEX=y
54CONFIG_ANON_INODES=y
45CONFIG_EPOLL=y 55CONFIG_EPOLL=y
56CONFIG_SIGNALFD=y
57CONFIG_EVENTFD=y
46CONFIG_SHMEM=y 58CONFIG_SHMEM=y
47CONFIG_CC_ALIGN_FUNCTIONS=0 59CONFIG_VM_EVENT_COUNTERS=y
48CONFIG_CC_ALIGN_LABELS=0
49CONFIG_CC_ALIGN_LOOPS=0
50CONFIG_CC_ALIGN_JUMPS=0
51CONFIG_SLAB=y 60CONFIG_SLAB=y
61# CONFIG_SLUB is not set
62# CONFIG_SLOB is not set
63CONFIG_RT_MUTEXES=y
52# CONFIG_TINY_SHMEM is not set 64# CONFIG_TINY_SHMEM is not set
53CONFIG_BASE_SMALL=0 65CONFIG_BASE_SMALL=0
54# CONFIG_SLOB is not set
55
56#
57# Loadable module support
58#
59CONFIG_MODULES=y 66CONFIG_MODULES=y
60# CONFIG_MODULE_UNLOAD is not set 67# CONFIG_MODULE_UNLOAD is not set
61CONFIG_OBSOLETE_MODPARM=y
62CONFIG_MODVERSIONS=y 68CONFIG_MODVERSIONS=y
63# CONFIG_MODULE_SRCVERSION_ALL is not set 69# CONFIG_MODULE_SRCVERSION_ALL is not set
64# CONFIG_KMOD is not set 70# CONFIG_KMOD is not set
65 71CONFIG_BLOCK=y
66# 72# CONFIG_LBD is not set
67# Block layer 73# CONFIG_BLK_DEV_IO_TRACE is not set
68# 74# CONFIG_LSF is not set
69 75
70# 76#
71# IO Schedulers 77# IO Schedulers
@@ -89,16 +95,26 @@ CONFIG_PA7100LC=y
89# CONFIG_PA7300LC is not set 95# CONFIG_PA7300LC is not set
90# CONFIG_PA8X00 is not set 96# CONFIG_PA8X00 is not set
91CONFIG_PA11=y 97CONFIG_PA11=y
98CONFIG_PARISC_PAGE_SIZE_4KB=y
99# CONFIG_PARISC_PAGE_SIZE_16KB is not set
100# CONFIG_PARISC_PAGE_SIZE_64KB is not set
92# CONFIG_SMP is not set 101# CONFIG_SMP is not set
102CONFIG_ARCH_FLATMEM_ENABLE=y
103CONFIG_PREEMPT_NONE=y
104# CONFIG_PREEMPT_VOLUNTARY is not set
105# CONFIG_PREEMPT is not set
93# CONFIG_HZ_100 is not set 106# CONFIG_HZ_100 is not set
94CONFIG_HZ_250=y 107CONFIG_HZ_250=y
108# CONFIG_HZ_300 is not set
95# CONFIG_HZ_1000 is not set 109# CONFIG_HZ_1000 is not set
96CONFIG_HZ=250 110CONFIG_HZ=250
97CONFIG_FLATMEM=y 111CONFIG_FLATMEM=y
98CONFIG_FLAT_NODE_MEM_MAP=y 112CONFIG_FLAT_NODE_MEM_MAP=y
99# CONFIG_SPARSEMEM_STATIC is not set 113# CONFIG_SPARSEMEM_STATIC is not set
100CONFIG_SPLIT_PTLOCK_CPUS=4096 114CONFIG_SPLIT_PTLOCK_CPUS=4096
101# CONFIG_PREEMPT is not set 115# CONFIG_RESOURCES_64BIT is not set
116CONFIG_ZONE_DMA_FLAG=0
117CONFIG_VIRT_TO_BUS=y
102# CONFIG_HPUX is not set 118# CONFIG_HPUX is not set
103 119
104# 120#
@@ -113,7 +129,7 @@ CONFIG_EISA=y
113CONFIG_EISA_NAMES=y 129CONFIG_EISA_NAMES=y
114CONFIG_ISA=y 130CONFIG_ISA=y
115CONFIG_PCI=y 131CONFIG_PCI=y
116CONFIG_PCI_LEGACY_PROC=y 132# CONFIG_ARCH_SUPPORTS_MSI is not set
117# CONFIG_PCI_DEBUG is not set 133# CONFIG_PCI_DEBUG is not set
118CONFIG_GSC_DINO=y 134CONFIG_GSC_DINO=y
119# CONFIG_PCI_LBA is not set 135# CONFIG_PCI_LBA is not set
@@ -124,14 +140,11 @@ CONFIG_GSC_DINO=y
124# CONFIG_PCCARD is not set 140# CONFIG_PCCARD is not set
125 141
126# 142#
127# PCI Hotplug Support
128#
129
130#
131# PA-RISC specific drivers 143# PA-RISC specific drivers
132# 144#
133CONFIG_CHASSIS_LCD_LED=y 145CONFIG_CHASSIS_LCD_LED=y
134# CONFIG_PDC_CHASSIS is not set 146# CONFIG_PDC_CHASSIS is not set
147CONFIG_PDC_CHASSIS_WARN=y
135CONFIG_PDC_STABLE=y 148CONFIG_PDC_STABLE=y
136 149
137# 150#
@@ -151,6 +164,8 @@ CONFIG_NET=y
151CONFIG_PACKET=y 164CONFIG_PACKET=y
152CONFIG_PACKET_MMAP=y 165CONFIG_PACKET_MMAP=y
153CONFIG_UNIX=y 166CONFIG_UNIX=y
167CONFIG_XFRM=y
168# CONFIG_XFRM_USER is not set
154# CONFIG_NET_KEY is not set 169# CONFIG_NET_KEY is not set
155CONFIG_INET=y 170CONFIG_INET=y
156CONFIG_IP_MULTICAST=y 171CONFIG_IP_MULTICAST=y
@@ -167,18 +182,32 @@ CONFIG_IP_PNP_BOOTP=y
167# CONFIG_INET_AH is not set 182# CONFIG_INET_AH is not set
168# CONFIG_INET_ESP is not set 183# CONFIG_INET_ESP is not set
169# CONFIG_INET_IPCOMP is not set 184# CONFIG_INET_IPCOMP is not set
170# CONFIG_INET_TUNNEL is not set 185# CONFIG_INET_XFRM_TUNNEL is not set
186CONFIG_INET_TUNNEL=y
187CONFIG_INET_XFRM_MODE_TRANSPORT=y
188CONFIG_INET_XFRM_MODE_TUNNEL=y
189CONFIG_INET_XFRM_MODE_BEET=y
190# CONFIG_INET_LRO is not set
171CONFIG_INET_DIAG=y 191CONFIG_INET_DIAG=y
172CONFIG_INET_TCP_DIAG=y 192CONFIG_INET_TCP_DIAG=y
173# CONFIG_TCP_CONG_ADVANCED is not set 193# CONFIG_TCP_CONG_ADVANCED is not set
174CONFIG_TCP_CONG_BIC=y 194CONFIG_TCP_CONG_CUBIC=y
195CONFIG_DEFAULT_TCP_CONG="cubic"
175CONFIG_IPV6=y 196CONFIG_IPV6=y
176# CONFIG_IPV6_PRIVACY is not set 197# CONFIG_IPV6_PRIVACY is not set
198# CONFIG_IPV6_ROUTER_PREF is not set
177# CONFIG_INET6_AH is not set 199# CONFIG_INET6_AH is not set
178# CONFIG_INET6_ESP is not set 200# CONFIG_INET6_ESP is not set
179# CONFIG_INET6_IPCOMP is not set 201# CONFIG_INET6_IPCOMP is not set
202# CONFIG_INET6_XFRM_TUNNEL is not set
180# CONFIG_INET6_TUNNEL is not set 203# CONFIG_INET6_TUNNEL is not set
204CONFIG_INET6_XFRM_MODE_TRANSPORT=y
205CONFIG_INET6_XFRM_MODE_TUNNEL=y
206CONFIG_INET6_XFRM_MODE_BEET=y
207CONFIG_IPV6_SIT=y
181# CONFIG_IPV6_TUNNEL is not set 208# CONFIG_IPV6_TUNNEL is not set
209# CONFIG_NETLABEL is not set
210# CONFIG_NETWORK_SECMARK is not set
182# CONFIG_NETFILTER is not set 211# CONFIG_NETFILTER is not set
183# CONFIG_BRIDGE is not set 212# CONFIG_BRIDGE is not set
184# CONFIG_VLAN_8021Q is not set 213# CONFIG_VLAN_8021Q is not set
@@ -199,7 +228,14 @@ CONFIG_IPV6=y
199# CONFIG_HAMRADIO is not set 228# CONFIG_HAMRADIO is not set
200# CONFIG_IRDA is not set 229# CONFIG_IRDA is not set
201# CONFIG_BT is not set 230# CONFIG_BT is not set
231
232#
233# Wireless
234#
235# CONFIG_CFG80211 is not set
236# CONFIG_WIRELESS_EXT is not set
202# CONFIG_IEEE80211 is not set 237# CONFIG_IEEE80211 is not set
238# CONFIG_RFKILL is not set
203 239
204# 240#
205# Device Drivers 241# Device Drivers
@@ -208,39 +244,24 @@ CONFIG_IPV6=y
208# 244#
209# Generic Driver Options 245# Generic Driver Options
210# 246#
247CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
211CONFIG_STANDALONE=y 248CONFIG_STANDALONE=y
212# CONFIG_PREVENT_FIRMWARE_BUILD is not set 249# CONFIG_PREVENT_FIRMWARE_BUILD is not set
213# CONFIG_FW_LOADER is not set 250# CONFIG_FW_LOADER is not set
214# CONFIG_DEBUG_DRIVER is not set 251# CONFIG_DEBUG_DRIVER is not set
215 252# CONFIG_DEBUG_DEVRES is not set
216# 253# CONFIG_SYS_HYPERVISOR is not set
217# Connector - unified userspace <-> kernelspace linker
218#
219# CONFIG_CONNECTOR is not set 254# CONFIG_CONNECTOR is not set
220
221#
222# Memory Technology Devices (MTD)
223#
224# CONFIG_MTD is not set 255# CONFIG_MTD is not set
225
226#
227# Parallel port support
228#
229CONFIG_PARPORT=y 256CONFIG_PARPORT=y
230CONFIG_PARPORT_PC=y 257CONFIG_PARPORT_PC=y
231# CONFIG_PARPORT_SERIAL is not set 258# CONFIG_PARPORT_SERIAL is not set
232CONFIG_PARPORT_NOT_PC=y
233CONFIG_PARPORT_GSC=y 259CONFIG_PARPORT_GSC=y
260# CONFIG_PARPORT_AX88796 is not set
234# CONFIG_PARPORT_1284 is not set 261# CONFIG_PARPORT_1284 is not set
235 262CONFIG_PARPORT_NOT_PC=y
236#
237# Plug and Play support
238#
239# CONFIG_PNP is not set 263# CONFIG_PNP is not set
240 264CONFIG_BLK_DEV=y
241#
242# Block devices
243#
244# CONFIG_PARIDE is not set 265# CONFIG_PARIDE is not set
245# CONFIG_BLK_CPQ_DA is not set 266# CONFIG_BLK_CPQ_DA is not set
246# CONFIG_BLK_CPQ_CISS_DA is not set 267# CONFIG_BLK_CPQ_CISS_DA is not set
@@ -251,15 +272,13 @@ CONFIG_BLK_DEV_CRYPTOLOOP=y
251# CONFIG_BLK_DEV_NBD is not set 272# CONFIG_BLK_DEV_NBD is not set
252# CONFIG_BLK_DEV_SX8 is not set 273# CONFIG_BLK_DEV_SX8 is not set
253# CONFIG_BLK_DEV_RAM is not set 274# CONFIG_BLK_DEV_RAM is not set
254CONFIG_BLK_DEV_RAM_COUNT=16
255CONFIG_CDROM_PKTCDVD=m 275CONFIG_CDROM_PKTCDVD=m
256CONFIG_CDROM_PKTCDVD_BUFFERS=8 276CONFIG_CDROM_PKTCDVD_BUFFERS=8
257# CONFIG_CDROM_PKTCDVD_WCACHE is not set
258CONFIG_ATA_OVER_ETH=y 277CONFIG_ATA_OVER_ETH=y
259 278CONFIG_MISC_DEVICES=y
260# 279# CONFIG_PHANTOM is not set
261# ATA/ATAPI/MFM/RLL support 280# CONFIG_EEPROM_93CX6 is not set
262# 281# CONFIG_SGI_IOC4 is not set
263# CONFIG_IDE is not set 282# CONFIG_IDE is not set
264 283
265# 284#
@@ -267,6 +286,8 @@ CONFIG_ATA_OVER_ETH=y
267# 286#
268# CONFIG_RAID_ATTRS is not set 287# CONFIG_RAID_ATTRS is not set
269CONFIG_SCSI=y 288CONFIG_SCSI=y
289CONFIG_SCSI_DMA=y
290# CONFIG_SCSI_NETLINK is not set
270CONFIG_SCSI_PROC_FS=y 291CONFIG_SCSI_PROC_FS=y
271 292
272# 293#
@@ -286,18 +307,17 @@ CONFIG_CHR_DEV_SG=y
286# CONFIG_SCSI_MULTI_LUN is not set 307# CONFIG_SCSI_MULTI_LUN is not set
287# CONFIG_SCSI_CONSTANTS is not set 308# CONFIG_SCSI_CONSTANTS is not set
288# CONFIG_SCSI_LOGGING is not set 309# CONFIG_SCSI_LOGGING is not set
310# CONFIG_SCSI_SCAN_ASYNC is not set
311CONFIG_SCSI_WAIT_SCAN=m
289 312
290# 313#
291# SCSI Transport Attributes 314# SCSI Transports
292# 315#
293CONFIG_SCSI_SPI_ATTRS=y 316CONFIG_SCSI_SPI_ATTRS=y
294# CONFIG_SCSI_FC_ATTRS is not set 317# CONFIG_SCSI_FC_ATTRS is not set
295# CONFIG_SCSI_ISCSI_ATTRS is not set 318# CONFIG_SCSI_ISCSI_ATTRS is not set
296# CONFIG_SCSI_SAS_ATTRS is not set 319# CONFIG_SCSI_SAS_LIBSAS is not set
297 320CONFIG_SCSI_LOWLEVEL=y
298#
299# SCSI low-level drivers
300#
301# CONFIG_ISCSI_TCP is not set 321# CONFIG_ISCSI_TCP is not set
302# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 322# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
303# CONFIG_SCSI_3W_9XXX is not set 323# CONFIG_SCSI_3W_9XXX is not set
@@ -308,12 +328,14 @@ CONFIG_SCSI_SPI_ATTRS=y
308# CONFIG_SCSI_AIC7XXX is not set 328# CONFIG_SCSI_AIC7XXX is not set
309# CONFIG_SCSI_AIC7XXX_OLD is not set 329# CONFIG_SCSI_AIC7XXX_OLD is not set
310# CONFIG_SCSI_AIC79XX is not set 330# CONFIG_SCSI_AIC79XX is not set
331# CONFIG_SCSI_AIC94XX is not set
311# CONFIG_SCSI_DPT_I2O is not set 332# CONFIG_SCSI_DPT_I2O is not set
312# CONFIG_SCSI_IN2000 is not set 333# CONFIG_SCSI_IN2000 is not set
334# CONFIG_SCSI_ARCMSR is not set
313# CONFIG_MEGARAID_NEWGEN is not set 335# CONFIG_MEGARAID_NEWGEN is not set
314# CONFIG_MEGARAID_LEGACY is not set 336# CONFIG_MEGARAID_LEGACY is not set
315# CONFIG_MEGARAID_SAS is not set 337# CONFIG_MEGARAID_SAS is not set
316# CONFIG_SCSI_SATA is not set 338# CONFIG_SCSI_HPTIOP is not set
317# CONFIG_SCSI_DMX3191D is not set 339# CONFIG_SCSI_DMX3191D is not set
318# CONFIG_SCSI_DTC3280 is not set 340# CONFIG_SCSI_DTC3280 is not set
319# CONFIG_SCSI_FUTURE_DOMAIN is not set 341# CONFIG_SCSI_FUTURE_DOMAIN is not set
@@ -327,23 +349,22 @@ CONFIG_SCSI_SPI_ATTRS=y
327# CONFIG_SCSI_NCR53C406A is not set 349# CONFIG_SCSI_NCR53C406A is not set
328CONFIG_SCSI_LASI700=y 350CONFIG_SCSI_LASI700=y
329CONFIG_53C700_LE_ON_BE=y 351CONFIG_53C700_LE_ON_BE=y
352# CONFIG_SCSI_STEX is not set
330CONFIG_SCSI_SYM53C8XX_2=y 353CONFIG_SCSI_SYM53C8XX_2=y
331CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 354CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
332CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 355CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
333CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 356CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
334CONFIG_SCSI_SYM53C8XX_MMIO=y 357CONFIG_SCSI_SYM53C8XX_MMIO=y
335# CONFIG_SCSI_IPR is not set
336CONFIG_SCSI_ZALON=y 358CONFIG_SCSI_ZALON=y
337CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8 359CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
338CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 360CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
339CONFIG_SCSI_NCR53C8XX_SYNC=40 361CONFIG_SCSI_NCR53C8XX_SYNC=40
340# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
341# CONFIG_SCSI_PAS16 is not set 362# CONFIG_SCSI_PAS16 is not set
342# CONFIG_SCSI_PSI240I is not set 363# CONFIG_SCSI_PSI240I is not set
343# CONFIG_SCSI_QLOGIC_FAS is not set 364# CONFIG_SCSI_QLOGIC_FAS is not set
344# CONFIG_SCSI_QLOGIC_FC is not set
345# CONFIG_SCSI_QLOGIC_1280 is not set 365# CONFIG_SCSI_QLOGIC_1280 is not set
346# CONFIG_SCSI_QLA_FC is not set 366# CONFIG_SCSI_QLA_FC is not set
367# CONFIG_SCSI_QLA_ISCSI is not set
347# CONFIG_SCSI_LPFC is not set 368# CONFIG_SCSI_LPFC is not set
348# CONFIG_SCSI_SIM710 is not set 369# CONFIG_SCSI_SIM710 is not set
349# CONFIG_SCSI_SYM53C416 is not set 370# CONFIG_SCSI_SYM53C416 is not set
@@ -351,22 +372,14 @@ CONFIG_SCSI_NCR53C8XX_SYNC=40
351# CONFIG_SCSI_T128 is not set 372# CONFIG_SCSI_T128 is not set
352# CONFIG_SCSI_NSP32 is not set 373# CONFIG_SCSI_NSP32 is not set
353# CONFIG_SCSI_DEBUG is not set 374# CONFIG_SCSI_DEBUG is not set
354 375# CONFIG_SCSI_SRP is not set
355# 376# CONFIG_ATA is not set
356# Old CD-ROM drivers (not SCSI, not IDE)
357#
358# CONFIG_CD_NO_IDESCSI is not set
359
360#
361# Multi-device support (RAID and LVM)
362#
363CONFIG_MD=y 377CONFIG_MD=y
364CONFIG_BLK_DEV_MD=y 378CONFIG_BLK_DEV_MD=y
365CONFIG_MD_LINEAR=y 379CONFIG_MD_LINEAR=y
366CONFIG_MD_RAID0=y 380CONFIG_MD_RAID0=y
367CONFIG_MD_RAID1=y 381CONFIG_MD_RAID1=y
368CONFIG_MD_RAID5=y 382# CONFIG_MD_RAID456 is not set
369CONFIG_MD_RAID6=y
370# CONFIG_MD_MULTIPATH is not set 383# CONFIG_MD_MULTIPATH is not set
371# CONFIG_MD_FAULTY is not set 384# CONFIG_MD_FAULTY is not set
372# CONFIG_BLK_DEV_DM is not set 385# CONFIG_BLK_DEV_DM is not set
@@ -382,35 +395,21 @@ CONFIG_MD_RAID6=y
382# 395#
383# IEEE 1394 (FireWire) support 396# IEEE 1394 (FireWire) support
384# 397#
385# CONFIG_IEEE1394 is not set
386 398
387# 399#
388# I2O device support 400# An alternative FireWire stack is available with EXPERIMENTAL=y
389# 401#
402# CONFIG_IEEE1394 is not set
390# CONFIG_I2O is not set 403# CONFIG_I2O is not set
391
392#
393# Network device support
394#
395CONFIG_NETDEVICES=y 404CONFIG_NETDEVICES=y
405# CONFIG_NETDEVICES_MULTIQUEUE is not set
396# CONFIG_DUMMY is not set 406# CONFIG_DUMMY is not set
397# CONFIG_BONDING is not set 407# CONFIG_BONDING is not set
398# CONFIG_EQUALIZER is not set 408# CONFIG_EQUALIZER is not set
399# CONFIG_TUN is not set 409# CONFIG_TUN is not set
400 410# CONFIG_VETH is not set
401#
402# ARCnet devices
403#
404# CONFIG_ARCNET is not set 411# CONFIG_ARCNET is not set
405
406#
407# PHY device support
408#
409# CONFIG_PHYLIB is not set 412# CONFIG_PHYLIB is not set
410
411#
412# Ethernet (10 or 100Mbit)
413#
414CONFIG_NET_ETHERNET=y 413CONFIG_NET_ETHERNET=y
415# CONFIG_MII is not set 414# CONFIG_MII is not set
416CONFIG_LASI_82596=y 415CONFIG_LASI_82596=y
@@ -420,10 +419,6 @@ CONFIG_LASI_82596=y
420# CONFIG_NET_VENDOR_3COM is not set 419# CONFIG_NET_VENDOR_3COM is not set
421# CONFIG_NET_VENDOR_SMC is not set 420# CONFIG_NET_VENDOR_SMC is not set
422# CONFIG_NET_VENDOR_RACAL is not set 421# CONFIG_NET_VENDOR_RACAL is not set
423
424#
425# Tulip family network device support
426#
427CONFIG_NET_TULIP=y 422CONFIG_NET_TULIP=y
428CONFIG_TULIP=y 423CONFIG_TULIP=y
429# CONFIG_TULIP_MMIO is not set 424# CONFIG_TULIP_MMIO is not set
@@ -435,62 +430,47 @@ CONFIG_TULIP=y
435# CONFIG_DEPCA is not set 430# CONFIG_DEPCA is not set
436# CONFIG_HP100 is not set 431# CONFIG_HP100 is not set
437# CONFIG_NET_ISA is not set 432# CONFIG_NET_ISA is not set
433# CONFIG_IBM_NEW_EMAC_ZMII is not set
434# CONFIG_IBM_NEW_EMAC_RGMII is not set
435# CONFIG_IBM_NEW_EMAC_TAH is not set
436# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
438# CONFIG_NET_PCI is not set 437# CONFIG_NET_PCI is not set
438# CONFIG_B44 is not set
439# CONFIG_NET_POCKET is not set 439# CONFIG_NET_POCKET is not set
440 440CONFIG_NETDEV_1000=y
441#
442# Ethernet (1000 Mbit)
443#
444# CONFIG_ACENIC is not set 441# CONFIG_ACENIC is not set
445# CONFIG_DL2K is not set 442# CONFIG_DL2K is not set
446# CONFIG_E1000 is not set 443# CONFIG_E1000 is not set
444# CONFIG_E1000E is not set
447# CONFIG_NS83820 is not set 445# CONFIG_NS83820 is not set
448# CONFIG_HAMACHI is not set 446# CONFIG_HAMACHI is not set
449# CONFIG_R8169 is not set 447# CONFIG_R8169 is not set
450# CONFIG_SIS190 is not set 448# CONFIG_SIS190 is not set
449# CONFIG_SKGE is not set
450# CONFIG_SKY2 is not set
451# CONFIG_SK98LIN is not set 451# CONFIG_SK98LIN is not set
452# CONFIG_VIA_VELOCITY is not set
452# CONFIG_TIGON3 is not set 453# CONFIG_TIGON3 is not set
453# CONFIG_BNX2 is not set 454# CONFIG_BNX2 is not set
454 455# CONFIG_QLA3XXX is not set
455# 456CONFIG_NETDEV_10000=y
456# Ethernet (10000 Mbit)
457#
458# CONFIG_CHELSIO_T1 is not set 457# CONFIG_CHELSIO_T1 is not set
458# CONFIG_CHELSIO_T3 is not set
459# CONFIG_IXGBE is not set
459# CONFIG_IXGB is not set 460# CONFIG_IXGB is not set
460# CONFIG_S2IO is not set 461# CONFIG_S2IO is not set
461 462# CONFIG_MYRI10GE is not set
462# 463# CONFIG_NETXEN_NIC is not set
463# Token Ring devices 464# CONFIG_NIU is not set
464# 465# CONFIG_MLX4_CORE is not set
466# CONFIG_TEHUTI is not set
465# CONFIG_TR is not set 467# CONFIG_TR is not set
466 468
467# 469#
468# Wireless LAN (non-hamradio) 470# Wireless LAN
469#
470CONFIG_NET_RADIO=y
471
472#
473# Obsolete Wireless cards support (pre-802.11)
474#
475# CONFIG_STRIP is not set
476# CONFIG_ARLAN is not set
477# CONFIG_WAVELAN is not set
478
479#
480# Wireless 802.11b ISA/PCI cards support
481#
482# CONFIG_HERMES is not set
483# CONFIG_ATMEL is not set
484
485#
486# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
487#
488# CONFIG_HOSTAP is not set
489CONFIG_NET_WIRELESS=y
490
491#
492# Wan interfaces
493# 471#
472# CONFIG_WLAN_PRE80211 is not set
473# CONFIG_WLAN_80211 is not set
494# CONFIG_WAN is not set 474# CONFIG_WAN is not set
495# CONFIG_FDDI is not set 475# CONFIG_FDDI is not set
496# CONFIG_PLIP is not set 476# CONFIG_PLIP is not set
@@ -501,24 +481,19 @@ CONFIG_PPP=y
501# CONFIG_PPP_DEFLATE is not set 481# CONFIG_PPP_DEFLATE is not set
502# CONFIG_PPP_BSDCOMP is not set 482# CONFIG_PPP_BSDCOMP is not set
503# CONFIG_SLIP is not set 483# CONFIG_SLIP is not set
484CONFIG_SLHC=y
504# CONFIG_NET_FC is not set 485# CONFIG_NET_FC is not set
505# CONFIG_NETPOLL is not set 486# CONFIG_NETPOLL is not set
506# CONFIG_NET_POLL_CONTROLLER is not set 487# CONFIG_NET_POLL_CONTROLLER is not set
507
508#
509# ISDN subsystem
510#
511# CONFIG_ISDN is not set 488# CONFIG_ISDN is not set
512
513#
514# Telephony Support
515#
516# CONFIG_PHONE is not set 489# CONFIG_PHONE is not set
517 490
518# 491#
519# Input device support 492# Input device support
520# 493#
521CONFIG_INPUT=y 494CONFIG_INPUT=y
495# CONFIG_INPUT_FF_MEMLESS is not set
496# CONFIG_INPUT_POLLDEV is not set
522 497
523# 498#
524# Userland interfaces 499# Userland interfaces
@@ -543,19 +518,31 @@ CONFIG_KEYBOARD_ATKBD_HP_KEYCODES=y
543# CONFIG_KEYBOARD_LKKBD is not set 518# CONFIG_KEYBOARD_LKKBD is not set
544# CONFIG_KEYBOARD_XTKBD is not set 519# CONFIG_KEYBOARD_XTKBD is not set
545# CONFIG_KEYBOARD_NEWTON is not set 520# CONFIG_KEYBOARD_NEWTON is not set
521# CONFIG_KEYBOARD_STOWAWAY is not set
546# CONFIG_KEYBOARD_HIL_OLD is not set 522# CONFIG_KEYBOARD_HIL_OLD is not set
547CONFIG_KEYBOARD_HIL=y 523CONFIG_KEYBOARD_HIL=y
548CONFIG_INPUT_MOUSE=y 524CONFIG_INPUT_MOUSE=y
549CONFIG_MOUSE_PS2=y 525CONFIG_MOUSE_PS2=y
526CONFIG_MOUSE_PS2_ALPS=y
527CONFIG_MOUSE_PS2_LOGIPS2PP=y
528CONFIG_MOUSE_PS2_SYNAPTICS=y
529CONFIG_MOUSE_PS2_LIFEBOOK=y
530CONFIG_MOUSE_PS2_TRACKPOINT=y
531# CONFIG_MOUSE_PS2_TOUCHKIT is not set
550# CONFIG_MOUSE_SERIAL is not set 532# CONFIG_MOUSE_SERIAL is not set
533# CONFIG_MOUSE_APPLETOUCH is not set
551# CONFIG_MOUSE_INPORT is not set 534# CONFIG_MOUSE_INPORT is not set
552# CONFIG_MOUSE_LOGIBM is not set 535# CONFIG_MOUSE_LOGIBM is not set
553# CONFIG_MOUSE_PC110PAD is not set 536# CONFIG_MOUSE_PC110PAD is not set
554# CONFIG_MOUSE_VSXXXAA is not set 537# CONFIG_MOUSE_VSXXXAA is not set
555CONFIG_MOUSE_HIL=y 538CONFIG_MOUSE_HIL=y
556# CONFIG_INPUT_JOYSTICK is not set 539# CONFIG_INPUT_JOYSTICK is not set
540# CONFIG_INPUT_TABLET is not set
557# CONFIG_INPUT_TOUCHSCREEN is not set 541# CONFIG_INPUT_TOUCHSCREEN is not set
558CONFIG_INPUT_MISC=y 542CONFIG_INPUT_MISC=y
543# CONFIG_INPUT_ATI_REMOTE is not set
544# CONFIG_INPUT_ATI_REMOTE2 is not set
545# CONFIG_INPUT_POWERMATE is not set
559# CONFIG_INPUT_UINPUT is not set 546# CONFIG_INPUT_UINPUT is not set
560# CONFIG_HP_SDC_RTC is not set 547# CONFIG_HP_SDC_RTC is not set
561 548
@@ -579,6 +566,7 @@ CONFIG_SERIO_LIBPS2=y
579CONFIG_VT=y 566CONFIG_VT=y
580CONFIG_VT_CONSOLE=y 567CONFIG_VT_CONSOLE=y
581CONFIG_HW_CONSOLE=y 568CONFIG_HW_CONSOLE=y
569# CONFIG_VT_HW_CONSOLE_BINDING is not set
582# CONFIG_SERIAL_NONSTANDARD is not set 570# CONFIG_SERIAL_NONSTANDARD is not set
583 571
584# 572#
@@ -586,17 +574,20 @@ CONFIG_HW_CONSOLE=y
586# 574#
587CONFIG_SERIAL_8250=y 575CONFIG_SERIAL_8250=y
588CONFIG_SERIAL_8250_CONSOLE=y 576CONFIG_SERIAL_8250_CONSOLE=y
577CONFIG_SERIAL_8250_GSC=y
578CONFIG_SERIAL_8250_PCI=y
589CONFIG_SERIAL_8250_NR_UARTS=13 579CONFIG_SERIAL_8250_NR_UARTS=13
590CONFIG_SERIAL_8250_RUNTIME_UARTS=4 580CONFIG_SERIAL_8250_RUNTIME_UARTS=4
591CONFIG_SERIAL_8250_EXTENDED=y 581CONFIG_SERIAL_8250_EXTENDED=y
592CONFIG_SERIAL_8250_MANY_PORTS=y 582CONFIG_SERIAL_8250_MANY_PORTS=y
593CONFIG_SERIAL_8250_SHARE_IRQ=y
594# CONFIG_SERIAL_8250_DETECT_IRQ is not set
595# CONFIG_SERIAL_8250_RSA is not set
596# CONFIG_SERIAL_8250_FOURPORT is not set 583# CONFIG_SERIAL_8250_FOURPORT is not set
597# CONFIG_SERIAL_8250_ACCENT is not set 584# CONFIG_SERIAL_8250_ACCENT is not set
598# CONFIG_SERIAL_8250_BOCA is not set 585# CONFIG_SERIAL_8250_BOCA is not set
586# CONFIG_SERIAL_8250_EXAR_ST16C554 is not set
599# CONFIG_SERIAL_8250_HUB6 is not set 587# CONFIG_SERIAL_8250_HUB6 is not set
588CONFIG_SERIAL_8250_SHARE_IRQ=y
589# CONFIG_SERIAL_8250_DETECT_IRQ is not set
590# CONFIG_SERIAL_8250_RSA is not set
600 591
601# 592#
602# Non-8250 serial port support 593# Non-8250 serial port support
@@ -605,6 +596,7 @@ CONFIG_SERIAL_MUX=y
605CONFIG_SERIAL_MUX_CONSOLE=y 596CONFIG_SERIAL_MUX_CONSOLE=y
606CONFIG_SERIAL_CORE=y 597CONFIG_SERIAL_CORE=y
607CONFIG_SERIAL_CORE_CONSOLE=y 598CONFIG_SERIAL_CORE_CONSOLE=y
599# CONFIG_SERIAL_JSM is not set
608CONFIG_UNIX98_PTYS=y 600CONFIG_UNIX98_PTYS=y
609CONFIG_LEGACY_PTYS=y 601CONFIG_LEGACY_PTYS=y
610CONFIG_LEGACY_PTY_COUNT=256 602CONFIG_LEGACY_PTY_COUNT=256
@@ -612,35 +604,18 @@ CONFIG_PRINTER=y
612# CONFIG_LP_CONSOLE is not set 604# CONFIG_LP_CONSOLE is not set
613# CONFIG_PPDEV is not set 605# CONFIG_PPDEV is not set
614# CONFIG_TIPAR is not set 606# CONFIG_TIPAR is not set
615
616#
617# IPMI
618#
619# CONFIG_IPMI_HANDLER is not set 607# CONFIG_IPMI_HANDLER is not set
620
621#
622# Watchdog Cards
623#
624# CONFIG_WATCHDOG is not set 608# CONFIG_WATCHDOG is not set
609# CONFIG_HW_RANDOM is not set
625CONFIG_GEN_RTC=y 610CONFIG_GEN_RTC=y
626# CONFIG_GEN_RTC_X is not set 611# CONFIG_GEN_RTC_X is not set
627# CONFIG_DTLK is not set 612# CONFIG_DTLK is not set
628# CONFIG_R3964 is not set 613# CONFIG_R3964 is not set
629# CONFIG_APPLICOM is not set 614# CONFIG_APPLICOM is not set
630 615# CONFIG_AGP is not set
631#
632# Ftape, the floppy tape device driver
633#
634# CONFIG_DRM is not set 616# CONFIG_DRM is not set
635# CONFIG_RAW_DRIVER is not set 617# CONFIG_RAW_DRIVER is not set
636 618CONFIG_DEVPORT=y
637#
638# TPM devices
639#
640
641#
642# I2C support
643#
644# CONFIG_I2C is not set 619# CONFIG_I2C is not set
645 620
646# 621#
@@ -648,46 +623,59 @@ CONFIG_GEN_RTC=y
648# 623#
649# CONFIG_SPI is not set 624# CONFIG_SPI is not set
650# CONFIG_SPI_MASTER is not set 625# CONFIG_SPI_MASTER is not set
651
652#
653# Dallas's 1-wire bus
654#
655# CONFIG_W1 is not set 626# CONFIG_W1 is not set
656 627# CONFIG_POWER_SUPPLY is not set
657#
658# Hardware Monitoring support
659#
660# CONFIG_HWMON is not set 628# CONFIG_HWMON is not set
661# CONFIG_HWMON_VID is not set
662 629
663# 630#
664# Misc devices 631# Sonics Silicon Backplane
665# 632#
633CONFIG_SSB_POSSIBLE=y
634# CONFIG_SSB is not set
666 635
667# 636#
668# Multimedia Capabilities Port drivers 637# Multifunction device drivers
669# 638#
639# CONFIG_MFD_SM501 is not set
670 640
671# 641#
672# Multimedia devices 642# Multimedia devices
673# 643#
674# CONFIG_VIDEO_DEV is not set 644# CONFIG_VIDEO_DEV is not set
645# CONFIG_DVB_CORE is not set
646# CONFIG_DAB is not set
675 647
676# 648#
677# Digital Video Broadcasting Devices 649# Graphics support
678# 650#
679# CONFIG_DVB is not set 651# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
680 652
681# 653#
682# Graphics support 654# Display device support
683# 655#
656# CONFIG_DISPLAY_SUPPORT is not set
657# CONFIG_VGASTATE is not set
658CONFIG_VIDEO_OUTPUT_CONTROL=m
684CONFIG_FB=y 659CONFIG_FB=y
660# CONFIG_FIRMWARE_EDID is not set
661# CONFIG_FB_DDC is not set
685CONFIG_FB_CFB_FILLRECT=y 662CONFIG_FB_CFB_FILLRECT=y
686CONFIG_FB_CFB_COPYAREA=y 663CONFIG_FB_CFB_COPYAREA=y
687CONFIG_FB_CFB_IMAGEBLIT=y 664CONFIG_FB_CFB_IMAGEBLIT=y
665# CONFIG_FB_SYS_FILLRECT is not set
666# CONFIG_FB_SYS_COPYAREA is not set
667# CONFIG_FB_SYS_IMAGEBLIT is not set
668# CONFIG_FB_SYS_FOPS is not set
669CONFIG_FB_DEFERRED_IO=y
670# CONFIG_FB_SVGALIB is not set
688# CONFIG_FB_MACMODES is not set 671# CONFIG_FB_MACMODES is not set
672# CONFIG_FB_BACKLIGHT is not set
689# CONFIG_FB_MODE_HELPERS is not set 673# CONFIG_FB_MODE_HELPERS is not set
690# CONFIG_FB_TILEBLITTING is not set 674# CONFIG_FB_TILEBLITTING is not set
675
676#
677# Frame buffer hardware drivers
678#
691# CONFIG_FB_CIRRUS is not set 679# CONFIG_FB_CIRRUS is not set
692# CONFIG_FB_PM2 is not set 680# CONFIG_FB_PM2 is not set
693# CONFIG_FB_CYBER2000 is not set 681# CONFIG_FB_CYBER2000 is not set
@@ -698,16 +686,18 @@ CONFIG_FB_STI=y
698# CONFIG_FB_NVIDIA is not set 686# CONFIG_FB_NVIDIA is not set
699# CONFIG_FB_RIVA is not set 687# CONFIG_FB_RIVA is not set
700# CONFIG_FB_MATROX is not set 688# CONFIG_FB_MATROX is not set
701# CONFIG_FB_RADEON_OLD is not set
702# CONFIG_FB_RADEON is not set 689# CONFIG_FB_RADEON is not set
703# CONFIG_FB_ATY128 is not set 690# CONFIG_FB_ATY128 is not set
704# CONFIG_FB_ATY is not set 691# CONFIG_FB_ATY is not set
692# CONFIG_FB_S3 is not set
705# CONFIG_FB_SIS is not set 693# CONFIG_FB_SIS is not set
706# CONFIG_FB_NEOMAGIC is not set 694# CONFIG_FB_NEOMAGIC is not set
707# CONFIG_FB_KYRO is not set 695# CONFIG_FB_KYRO is not set
708# CONFIG_FB_3DFX is not set 696# CONFIG_FB_3DFX is not set
709# CONFIG_FB_VOODOO1 is not set 697# CONFIG_FB_VOODOO1 is not set
698# CONFIG_FB_VT8623 is not set
710# CONFIG_FB_TRIDENT is not set 699# CONFIG_FB_TRIDENT is not set
700# CONFIG_FB_ARK is not set
711# CONFIG_FB_VIRTUAL is not set 701# CONFIG_FB_VIRTUAL is not set
712 702
713# 703#
@@ -717,21 +707,17 @@ CONFIG_DUMMY_CONSOLE=y
717CONFIG_DUMMY_CONSOLE_COLUMNS=160 707CONFIG_DUMMY_CONSOLE_COLUMNS=160
718CONFIG_DUMMY_CONSOLE_ROWS=64 708CONFIG_DUMMY_CONSOLE_ROWS=64
719CONFIG_FRAMEBUFFER_CONSOLE=y 709CONFIG_FRAMEBUFFER_CONSOLE=y
710# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
720# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set 711# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
721CONFIG_STI_CONSOLE=y 712CONFIG_STI_CONSOLE=y
722# CONFIG_FONTS is not set 713# CONFIG_FONTS is not set
723CONFIG_FONT_8x8=y 714CONFIG_FONT_8x8=y
724CONFIG_FONT_8x16=y 715CONFIG_FONT_8x16=y
725
726#
727# Logo configuration
728#
729CONFIG_LOGO=y 716CONFIG_LOGO=y
730CONFIG_LOGO_LINUX_MONO=y 717CONFIG_LOGO_LINUX_MONO=y
731CONFIG_LOGO_LINUX_VGA16=y 718CONFIG_LOGO_LINUX_VGA16=y
732CONFIG_LOGO_LINUX_CLUT224=y 719CONFIG_LOGO_LINUX_CLUT224=y
733CONFIG_LOGO_PARISC_CLUT224=y 720CONFIG_LOGO_PARISC_CLUT224=y
734# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
735 721
736# 722#
737# Sound 723# Sound
@@ -749,8 +735,11 @@ CONFIG_SND_SEQUENCER=y
749CONFIG_SND_OSSEMUL=y 735CONFIG_SND_OSSEMUL=y
750CONFIG_SND_MIXER_OSS=y 736CONFIG_SND_MIXER_OSS=y
751CONFIG_SND_PCM_OSS=y 737CONFIG_SND_PCM_OSS=y
738CONFIG_SND_PCM_OSS_PLUGINS=y
752CONFIG_SND_SEQUENCER_OSS=y 739CONFIG_SND_SEQUENCER_OSS=y
740# CONFIG_SND_DYNAMIC_MINORS is not set
753CONFIG_SND_SUPPORT_OLD_API=y 741CONFIG_SND_SUPPORT_OLD_API=y
742CONFIG_SND_VERBOSE_PROCFS=y
754# CONFIG_SND_VERBOSE_PRINTK is not set 743# CONFIG_SND_VERBOSE_PRINTK is not set
755# CONFIG_SND_DEBUG is not set 744# CONFIG_SND_DEBUG is not set
756 745
@@ -760,13 +749,16 @@ CONFIG_SND_SUPPORT_OLD_API=y
760# CONFIG_SND_DUMMY is not set 749# CONFIG_SND_DUMMY is not set
761# CONFIG_SND_VIRMIDI is not set 750# CONFIG_SND_VIRMIDI is not set
762# CONFIG_SND_MTPAV is not set 751# CONFIG_SND_MTPAV is not set
752# CONFIG_SND_MTS64 is not set
763# CONFIG_SND_SERIAL_U16550 is not set 753# CONFIG_SND_SERIAL_U16550 is not set
764# CONFIG_SND_MPU401 is not set 754# CONFIG_SND_MPU401 is not set
755# CONFIG_SND_PORTMAN2X4 is not set
765 756
766# 757#
767# PCI devices 758# PCI devices
768# 759#
769# CONFIG_SND_AD1889 is not set 760# CONFIG_SND_AD1889 is not set
761# CONFIG_SND_ALS300 is not set
770# CONFIG_SND_ALI5451 is not set 762# CONFIG_SND_ALI5451 is not set
771# CONFIG_SND_ATIIXP is not set 763# CONFIG_SND_ATIIXP is not set
772# CONFIG_SND_ATIIXP_MODEM is not set 764# CONFIG_SND_ATIIXP_MODEM is not set
@@ -778,6 +770,18 @@ CONFIG_SND_SUPPORT_OLD_API=y
778# CONFIG_SND_CMIPCI is not set 770# CONFIG_SND_CMIPCI is not set
779# CONFIG_SND_CS4281 is not set 771# CONFIG_SND_CS4281 is not set
780# CONFIG_SND_CS46XX is not set 772# CONFIG_SND_CS46XX is not set
773# CONFIG_SND_DARLA20 is not set
774# CONFIG_SND_GINA20 is not set
775# CONFIG_SND_LAYLA20 is not set
776# CONFIG_SND_DARLA24 is not set
777# CONFIG_SND_GINA24 is not set
778# CONFIG_SND_LAYLA24 is not set
779# CONFIG_SND_MONA is not set
780# CONFIG_SND_MIA is not set
781# CONFIG_SND_ECHO3G is not set
782# CONFIG_SND_INDIGO is not set
783# CONFIG_SND_INDIGOIO is not set
784# CONFIG_SND_INDIGODJ is not set
781# CONFIG_SND_EMU10K1 is not set 785# CONFIG_SND_EMU10K1 is not set
782# CONFIG_SND_EMU10K1X is not set 786# CONFIG_SND_EMU10K1X is not set
783# CONFIG_SND_ENS1370 is not set 787# CONFIG_SND_ENS1370 is not set
@@ -791,11 +795,13 @@ CONFIG_SND_SUPPORT_OLD_API=y
791# CONFIG_SND_ICE1712 is not set 795# CONFIG_SND_ICE1712 is not set
792# CONFIG_SND_ICE1724 is not set 796# CONFIG_SND_ICE1724 is not set
793# CONFIG_SND_INTEL8X0 is not set 797# CONFIG_SND_INTEL8X0 is not set
798# CONFIG_SND_INTEL8X0M is not set
794# CONFIG_SND_KORG1212 is not set 799# CONFIG_SND_KORG1212 is not set
795# CONFIG_SND_MAESTRO3 is not set 800# CONFIG_SND_MAESTRO3 is not set
796# CONFIG_SND_MIXART is not set 801# CONFIG_SND_MIXART is not set
797# CONFIG_SND_NM256 is not set 802# CONFIG_SND_NM256 is not set
798# CONFIG_SND_PCXHR is not set 803# CONFIG_SND_PCXHR is not set
804# CONFIG_SND_RIPTIDE is not set
799# CONFIG_SND_RME32 is not set 805# CONFIG_SND_RME32 is not set
800# CONFIG_SND_RME96 is not set 806# CONFIG_SND_RME96 is not set
801# CONFIG_SND_RME9652 is not set 807# CONFIG_SND_RME9652 is not set
@@ -812,15 +818,25 @@ CONFIG_SND_SUPPORT_OLD_API=y
812CONFIG_SND_HARMONY=y 818CONFIG_SND_HARMONY=y
813 819
814# 820#
815# Open Sound System 821# System on Chip audio support
816# 822#
817# CONFIG_SOUND_PRIME is not set 823# CONFIG_SND_SOC is not set
818 824
819# 825#
820# USB support 826# SoC Audio support for SuperH
827#
828
829#
830# Open Sound System
821# 831#
832# CONFIG_SOUND_PRIME is not set
833CONFIG_HID_SUPPORT=y
834CONFIG_HID=y
835CONFIG_HID_DEBUG=y
836CONFIG_USB_SUPPORT=y
822CONFIG_USB_ARCH_HAS_HCD=y 837CONFIG_USB_ARCH_HAS_HCD=y
823CONFIG_USB_ARCH_HAS_OHCI=y 838CONFIG_USB_ARCH_HAS_OHCI=y
839CONFIG_USB_ARCH_HAS_EHCI=y
824# CONFIG_USB is not set 840# CONFIG_USB is not set
825 841
826# 842#
@@ -831,20 +847,29 @@ CONFIG_USB_ARCH_HAS_OHCI=y
831# USB Gadget Support 847# USB Gadget Support
832# 848#
833# CONFIG_USB_GADGET is not set 849# CONFIG_USB_GADGET is not set
850# CONFIG_MMC is not set
851# CONFIG_NEW_LEDS is not set
852# CONFIG_INFINIBAND is not set
853# CONFIG_RTC_CLASS is not set
834 854
835# 855#
836# MMC/SD Card support 856# DMA Engine support
837# 857#
838# CONFIG_MMC is not set 858# CONFIG_DMA_ENGINE is not set
839 859
840# 860#
841# InfiniBand support 861# DMA Clients
842# 862#
843# CONFIG_INFINIBAND is not set
844 863
845# 864#
846# SN Devices 865# DMA Devices
847# 866#
867# CONFIG_AUXDISPLAY is not set
868
869#
870# Userspace I/O
871#
872# CONFIG_UIO is not set
848 873
849# 874#
850# File systems 875# File systems
@@ -860,9 +885,11 @@ CONFIG_JBD=y
860# CONFIG_JFS_FS is not set 885# CONFIG_JFS_FS is not set
861# CONFIG_FS_POSIX_ACL is not set 886# CONFIG_FS_POSIX_ACL is not set
862# CONFIG_XFS_FS is not set 887# CONFIG_XFS_FS is not set
888# CONFIG_OCFS2_FS is not set
863# CONFIG_MINIX_FS is not set 889# CONFIG_MINIX_FS is not set
864# CONFIG_ROMFS_FS is not set 890# CONFIG_ROMFS_FS is not set
865CONFIG_INOTIFY=y 891CONFIG_INOTIFY=y
892CONFIG_INOTIFY_USER=y
866# CONFIG_QUOTA is not set 893# CONFIG_QUOTA is not set
867CONFIG_DNOTIFY=y 894CONFIG_DNOTIFY=y
868# CONFIG_AUTOFS_FS is not set 895# CONFIG_AUTOFS_FS is not set
@@ -889,11 +916,12 @@ CONFIG_JOLIET=y
889# 916#
890CONFIG_PROC_FS=y 917CONFIG_PROC_FS=y
891CONFIG_PROC_KCORE=y 918CONFIG_PROC_KCORE=y
919CONFIG_PROC_SYSCTL=y
892CONFIG_SYSFS=y 920CONFIG_SYSFS=y
893CONFIG_TMPFS=y 921CONFIG_TMPFS=y
922# CONFIG_TMPFS_POSIX_ACL is not set
894# CONFIG_HUGETLB_PAGE is not set 923# CONFIG_HUGETLB_PAGE is not set
895CONFIG_RAMFS=y 924CONFIG_RAMFS=y
896# CONFIG_RELAYFS_FS is not set
897 925
898# 926#
899# Miscellaneous filesystems 927# Miscellaneous filesystems
@@ -912,6 +940,7 @@ CONFIG_RAMFS=y
912CONFIG_NFS_FS=y 940CONFIG_NFS_FS=y
913CONFIG_NFS_V3=y 941CONFIG_NFS_V3=y
914# CONFIG_NFS_V3_ACL is not set 942# CONFIG_NFS_V3_ACL is not set
943# CONFIG_NFS_DIRECTIO is not set
915CONFIG_NFSD=y 944CONFIG_NFSD=y
916CONFIG_NFSD_V3=y 945CONFIG_NFSD_V3=y
917# CONFIG_NFSD_V3_ACL is not set 946# CONFIG_NFSD_V3_ACL is not set
@@ -982,22 +1011,32 @@ CONFIG_NLS_UTF8=m
982# Kernel hacking 1011# Kernel hacking
983# 1012#
984# CONFIG_PRINTK_TIME is not set 1013# CONFIG_PRINTK_TIME is not set
1014CONFIG_ENABLE_MUST_CHECK=y
985CONFIG_MAGIC_SYSRQ=y 1015CONFIG_MAGIC_SYSRQ=y
1016# CONFIG_UNUSED_SYMBOLS is not set
1017# CONFIG_DEBUG_FS is not set
1018CONFIG_HEADERS_CHECK=y
986CONFIG_DEBUG_KERNEL=y 1019CONFIG_DEBUG_KERNEL=y
987CONFIG_LOG_BUF_SHIFT=16 1020# CONFIG_DEBUG_SHIRQ is not set
988CONFIG_DETECT_SOFTLOCKUP=y 1021CONFIG_DETECT_SOFTLOCKUP=y
1022CONFIG_SCHED_DEBUG=y
989# CONFIG_SCHEDSTATS is not set 1023# CONFIG_SCHEDSTATS is not set
1024# CONFIG_TIMER_STATS is not set
990# CONFIG_DEBUG_SLAB is not set 1025# CONFIG_DEBUG_SLAB is not set
991# CONFIG_DEBUG_MUTEXES is not set 1026# CONFIG_DEBUG_RT_MUTEXES is not set
1027# CONFIG_RT_MUTEX_TESTER is not set
992# CONFIG_DEBUG_SPINLOCK is not set 1028# CONFIG_DEBUG_SPINLOCK is not set
1029# CONFIG_DEBUG_MUTEXES is not set
993# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1030# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1031# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
994# CONFIG_DEBUG_KOBJECT is not set 1032# CONFIG_DEBUG_KOBJECT is not set
1033CONFIG_DEBUG_BUGVERBOSE=y
995# CONFIG_DEBUG_INFO is not set 1034# CONFIG_DEBUG_INFO is not set
996# CONFIG_DEBUG_IOREMAP is not set
997# CONFIG_DEBUG_FS is not set
998# CONFIG_DEBUG_VM is not set 1035# CONFIG_DEBUG_VM is not set
1036# CONFIG_DEBUG_LIST is not set
999CONFIG_FORCED_INLINING=y 1037CONFIG_FORCED_INLINING=y
1000# CONFIG_RCU_TORTURE_TEST is not set 1038# CONFIG_RCU_TORTURE_TEST is not set
1039# CONFIG_FAULT_INJECTION is not set
1001# CONFIG_DEBUG_RODATA is not set 1040# CONFIG_DEBUG_RODATA is not set
1002 1041
1003# 1042#
@@ -1007,13 +1046,10 @@ CONFIG_FORCED_INLINING=y
1007CONFIG_SECURITY=y 1046CONFIG_SECURITY=y
1008# CONFIG_SECURITY_NETWORK is not set 1047# CONFIG_SECURITY_NETWORK is not set
1009CONFIG_SECURITY_CAPABILITIES=y 1048CONFIG_SECURITY_CAPABILITIES=y
1010# CONFIG_SECURITY_SECLVL is not set
1011# CONFIG_SECURITY_SELINUX is not set
1012
1013#
1014# Cryptographic options
1015#
1016CONFIG_CRYPTO=y 1049CONFIG_CRYPTO=y
1050CONFIG_CRYPTO_ALGAPI=y
1051CONFIG_CRYPTO_BLKCIPHER=y
1052CONFIG_CRYPTO_MANAGER=y
1017# CONFIG_CRYPTO_HMAC is not set 1053# CONFIG_CRYPTO_HMAC is not set
1018# CONFIG_CRYPTO_NULL is not set 1054# CONFIG_CRYPTO_NULL is not set
1019# CONFIG_CRYPTO_MD4 is not set 1055# CONFIG_CRYPTO_MD4 is not set
@@ -1023,7 +1059,12 @@ CONFIG_CRYPTO=y
1023# CONFIG_CRYPTO_SHA512 is not set 1059# CONFIG_CRYPTO_SHA512 is not set
1024# CONFIG_CRYPTO_WP512 is not set 1060# CONFIG_CRYPTO_WP512 is not set
1025# CONFIG_CRYPTO_TGR192 is not set 1061# CONFIG_CRYPTO_TGR192 is not set
1062# CONFIG_CRYPTO_ECB is not set
1063CONFIG_CRYPTO_CBC=y
1064# CONFIG_CRYPTO_PCBC is not set
1065# CONFIG_CRYPTO_CRYPTD is not set
1026# CONFIG_CRYPTO_DES is not set 1066# CONFIG_CRYPTO_DES is not set
1067# CONFIG_CRYPTO_FCRYPT is not set
1027# CONFIG_CRYPTO_BLOWFISH is not set 1068# CONFIG_CRYPTO_BLOWFISH is not set
1028# CONFIG_CRYPTO_TWOFISH is not set 1069# CONFIG_CRYPTO_TWOFISH is not set
1029# CONFIG_CRYPTO_SERPENT is not set 1070# CONFIG_CRYPTO_SERPENT is not set
@@ -1034,19 +1075,26 @@ CONFIG_CRYPTO=y
1034# CONFIG_CRYPTO_ARC4 is not set 1075# CONFIG_CRYPTO_ARC4 is not set
1035# CONFIG_CRYPTO_KHAZAD is not set 1076# CONFIG_CRYPTO_KHAZAD is not set
1036# CONFIG_CRYPTO_ANUBIS is not set 1077# CONFIG_CRYPTO_ANUBIS is not set
1078# CONFIG_CRYPTO_SEED is not set
1037# CONFIG_CRYPTO_DEFLATE is not set 1079# CONFIG_CRYPTO_DEFLATE is not set
1038# CONFIG_CRYPTO_MICHAEL_MIC is not set 1080# CONFIG_CRYPTO_MICHAEL_MIC is not set
1039# CONFIG_CRYPTO_CRC32C is not set 1081# CONFIG_CRYPTO_CRC32C is not set
1082# CONFIG_CRYPTO_CAMELLIA is not set
1040# CONFIG_CRYPTO_TEST is not set 1083# CONFIG_CRYPTO_TEST is not set
1041 1084# CONFIG_CRYPTO_AUTHENC is not set
1042# 1085CONFIG_CRYPTO_HW=y
1043# Hardware crypto devices
1044#
1045 1086
1046# 1087#
1047# Library routines 1088# Library routines
1048# 1089#
1090CONFIG_BITREVERSE=y
1049# CONFIG_CRC_CCITT is not set 1091# CONFIG_CRC_CCITT is not set
1050# CONFIG_CRC16 is not set 1092# CONFIG_CRC16 is not set
1093# CONFIG_CRC_ITU_T is not set
1051CONFIG_CRC32=y 1094CONFIG_CRC32=y
1095# CONFIG_CRC7 is not set
1052# CONFIG_LIBCRC32C is not set 1096# CONFIG_LIBCRC32C is not set
1097CONFIG_PLIST=y
1098CONFIG_HAS_IOMEM=y
1099CONFIG_HAS_IOPORT=y
1100CONFIG_HAS_DMA=y
diff --git a/arch/parisc/configs/c3000_defconfig b/arch/parisc/configs/c3000_defconfig
index eb2f9a3d515c..c6def3c1d209 100644
--- a/arch/parisc/configs/c3000_defconfig
+++ b/arch/parisc/configs/c3000_defconfig
@@ -1,39 +1,50 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.16-pa6 3# Linux kernel version: 2.6.23
4# Sun Mar 26 20:03:29 2006 4# Fri Oct 12 21:24:00 2007
5# 5#
6CONFIG_PARISC=y 6CONFIG_PARISC=y
7CONFIG_MMU=y 7CONFIG_MMU=y
8CONFIG_STACK_GROWSUP=y 8CONFIG_STACK_GROWSUP=y
9CONFIG_RWSEM_GENERIC_SPINLOCK=y 9CONFIG_RWSEM_GENERIC_SPINLOCK=y
10# CONFIG_ARCH_HAS_ILOG2_U32 is not set
11# CONFIG_ARCH_HAS_ILOG2_U64 is not set
12CONFIG_GENERIC_FIND_NEXT_BIT=y
13CONFIG_GENERIC_BUG=y
14CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_CALIBRATE_DELAY=y 15CONFIG_GENERIC_CALIBRATE_DELAY=y
16CONFIG_GENERIC_TIME=y
11CONFIG_GENERIC_HARDIRQS=y 17CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y 18CONFIG_GENERIC_IRQ_PROBE=y
19CONFIG_IRQ_PER_CPU=y
20CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 21
14# 22#
15# Code maturity level options 23# General setup
16# 24#
17CONFIG_EXPERIMENTAL=y 25CONFIG_EXPERIMENTAL=y
18CONFIG_BROKEN_ON_SMP=y 26CONFIG_BROKEN_ON_SMP=y
19CONFIG_INIT_ENV_ARG_LIMIT=32 27CONFIG_INIT_ENV_ARG_LIMIT=32
20
21#
22# General setup
23#
24CONFIG_LOCALVERSION="" 28CONFIG_LOCALVERSION=""
25# CONFIG_LOCALVERSION_AUTO is not set 29# CONFIG_LOCALVERSION_AUTO is not set
26CONFIG_SWAP=y 30CONFIG_SWAP=y
27CONFIG_SYSVIPC=y 31CONFIG_SYSVIPC=y
32CONFIG_SYSVIPC_SYSCTL=y
28# CONFIG_POSIX_MQUEUE is not set 33# CONFIG_POSIX_MQUEUE is not set
29# CONFIG_BSD_PROCESS_ACCT is not set 34# CONFIG_BSD_PROCESS_ACCT is not set
30CONFIG_SYSCTL=y 35# CONFIG_TASKSTATS is not set
36# CONFIG_USER_NS is not set
31# CONFIG_AUDIT is not set 37# CONFIG_AUDIT is not set
32CONFIG_IKCONFIG=y 38CONFIG_IKCONFIG=y
33CONFIG_IKCONFIG_PROC=y 39CONFIG_IKCONFIG_PROC=y
34CONFIG_INITRAMFS_SOURCE="" 40CONFIG_LOG_BUF_SHIFT=16
41CONFIG_SYSFS_DEPRECATED=y
42# CONFIG_RELAY is not set
43# CONFIG_BLK_DEV_INITRD is not set
35# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 44# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
45CONFIG_SYSCTL=y
36CONFIG_EMBEDDED=y 46CONFIG_EMBEDDED=y
47CONFIG_SYSCTL_SYSCALL=y
37CONFIG_KALLSYMS=y 48CONFIG_KALLSYMS=y
38CONFIG_KALLSYMS_ALL=y 49CONFIG_KALLSYMS_ALL=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 50# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -43,31 +54,29 @@ CONFIG_BUG=y
43CONFIG_ELF_CORE=y 54CONFIG_ELF_CORE=y
44CONFIG_BASE_FULL=y 55CONFIG_BASE_FULL=y
45CONFIG_FUTEX=y 56CONFIG_FUTEX=y
57CONFIG_ANON_INODES=y
46CONFIG_EPOLL=y 58CONFIG_EPOLL=y
59CONFIG_SIGNALFD=y
60CONFIG_EVENTFD=y
47CONFIG_SHMEM=y 61CONFIG_SHMEM=y
48CONFIG_CC_ALIGN_FUNCTIONS=0 62CONFIG_VM_EVENT_COUNTERS=y
49CONFIG_CC_ALIGN_LABELS=0
50CONFIG_CC_ALIGN_LOOPS=0
51CONFIG_CC_ALIGN_JUMPS=0
52CONFIG_SLAB=y 63CONFIG_SLAB=y
64# CONFIG_SLUB is not set
65# CONFIG_SLOB is not set
66CONFIG_RT_MUTEXES=y
53# CONFIG_TINY_SHMEM is not set 67# CONFIG_TINY_SHMEM is not set
54CONFIG_BASE_SMALL=0 68CONFIG_BASE_SMALL=0
55# CONFIG_SLOB is not set
56
57#
58# Loadable module support
59#
60CONFIG_MODULES=y 69CONFIG_MODULES=y
61CONFIG_MODULE_UNLOAD=y 70CONFIG_MODULE_UNLOAD=y
62CONFIG_MODULE_FORCE_UNLOAD=y 71CONFIG_MODULE_FORCE_UNLOAD=y
63CONFIG_OBSOLETE_MODPARM=y
64# CONFIG_MODVERSIONS is not set 72# CONFIG_MODVERSIONS is not set
65# CONFIG_MODULE_SRCVERSION_ALL is not set 73# CONFIG_MODULE_SRCVERSION_ALL is not set
66CONFIG_KMOD=y 74CONFIG_KMOD=y
67 75CONFIG_BLOCK=y
68# 76# CONFIG_LBD is not set
69# Block layer 77# CONFIG_BLK_DEV_IO_TRACE is not set
70# 78# CONFIG_LSF is not set
79# CONFIG_BLK_DEV_BSG is not set
71 80
72# 81#
73# IO Schedulers 82# IO Schedulers
@@ -93,6 +102,9 @@ CONFIG_PA8X00=y
93CONFIG_PA20=y 102CONFIG_PA20=y
94CONFIG_PREFETCH=y 103CONFIG_PREFETCH=y
95# CONFIG_64BIT is not set 104# CONFIG_64BIT is not set
105CONFIG_PARISC_PAGE_SIZE_4KB=y
106# CONFIG_PARISC_PAGE_SIZE_16KB is not set
107# CONFIG_PARISC_PAGE_SIZE_64KB is not set
96# CONFIG_SMP is not set 108# CONFIG_SMP is not set
97CONFIG_ARCH_FLATMEM_ENABLE=y 109CONFIG_ARCH_FLATMEM_ENABLE=y
98# CONFIG_PREEMPT_NONE is not set 110# CONFIG_PREEMPT_NONE is not set
@@ -100,6 +112,7 @@ CONFIG_PREEMPT_VOLUNTARY=y
100# CONFIG_PREEMPT is not set 112# CONFIG_PREEMPT is not set
101# CONFIG_HZ_100 is not set 113# CONFIG_HZ_100 is not set
102CONFIG_HZ_250=y 114CONFIG_HZ_250=y
115# CONFIG_HZ_300 is not set
103# CONFIG_HZ_1000 is not set 116# CONFIG_HZ_1000 is not set
104CONFIG_HZ=250 117CONFIG_HZ=250
105CONFIG_SELECT_MEMORY_MODEL=y 118CONFIG_SELECT_MEMORY_MODEL=y
@@ -110,6 +123,9 @@ CONFIG_FLATMEM=y
110CONFIG_FLAT_NODE_MEM_MAP=y 123CONFIG_FLAT_NODE_MEM_MAP=y
111# CONFIG_SPARSEMEM_STATIC is not set 124# CONFIG_SPARSEMEM_STATIC is not set
112CONFIG_SPLIT_PTLOCK_CPUS=4 125CONFIG_SPLIT_PTLOCK_CPUS=4
126# CONFIG_RESOURCES_64BIT is not set
127CONFIG_ZONE_DMA_FLAG=0
128CONFIG_VIRT_TO_BUS=y
113# CONFIG_HPUX is not set 129# CONFIG_HPUX is not set
114 130
115# 131#
@@ -117,7 +133,7 @@ CONFIG_SPLIT_PTLOCK_CPUS=4
117# 133#
118# CONFIG_GSC is not set 134# CONFIG_GSC is not set
119CONFIG_PCI=y 135CONFIG_PCI=y
120CONFIG_PCI_LEGACY_PROC=y 136# CONFIG_ARCH_SUPPORTS_MSI is not set
121# CONFIG_PCI_DEBUG is not set 137# CONFIG_PCI_DEBUG is not set
122CONFIG_PCI_LBA=y 138CONFIG_PCI_LBA=y
123CONFIG_IOSAPIC=y 139CONFIG_IOSAPIC=y
@@ -127,10 +143,6 @@ CONFIG_IOMMU_SBA=y
127# PCCARD (PCMCIA/CardBus) support 143# PCCARD (PCMCIA/CardBus) support
128# 144#
129# CONFIG_PCCARD is not set 145# CONFIG_PCCARD is not set
130
131#
132# PCI Hotplug Support
133#
134# CONFIG_HOTPLUG_PCI is not set 146# CONFIG_HOTPLUG_PCI is not set
135 147
136# 148#
@@ -139,6 +151,7 @@ CONFIG_IOMMU_SBA=y
139CONFIG_SUPERIO=y 151CONFIG_SUPERIO=y
140CONFIG_CHASSIS_LCD_LED=y 152CONFIG_CHASSIS_LCD_LED=y
141# CONFIG_PDC_CHASSIS is not set 153# CONFIG_PDC_CHASSIS is not set
154CONFIG_PDC_CHASSIS_WARN=y
142CONFIG_PDC_STABLE=y 155CONFIG_PDC_STABLE=y
143 156
144# 157#
@@ -155,13 +168,15 @@ CONFIG_NET=y
155# 168#
156# Networking options 169# Networking options
157# 170#
158# CONFIG_NETDEBUG is not set
159CONFIG_PACKET=y 171CONFIG_PACKET=y
160CONFIG_PACKET_MMAP=y 172CONFIG_PACKET_MMAP=y
161CONFIG_UNIX=y 173CONFIG_UNIX=y
162CONFIG_XFRM=y 174CONFIG_XFRM=y
163CONFIG_XFRM_USER=m 175CONFIG_XFRM_USER=m
176# CONFIG_XFRM_SUB_POLICY is not set
177# CONFIG_XFRM_MIGRATE is not set
164CONFIG_NET_KEY=m 178CONFIG_NET_KEY=m
179# CONFIG_NET_KEY_MIGRATE is not set
165CONFIG_INET=y 180CONFIG_INET=y
166CONFIG_IP_MULTICAST=y 181CONFIG_IP_MULTICAST=y
167# CONFIG_IP_ADVANCED_ROUTER is not set 182# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -178,22 +193,36 @@ CONFIG_IP_PNP_BOOTP=y
178# CONFIG_INET_AH is not set 193# CONFIG_INET_AH is not set
179# CONFIG_INET_ESP is not set 194# CONFIG_INET_ESP is not set
180# CONFIG_INET_IPCOMP is not set 195# CONFIG_INET_IPCOMP is not set
181# CONFIG_INET_TUNNEL is not set 196# CONFIG_INET_XFRM_TUNNEL is not set
197CONFIG_INET_TUNNEL=m
198CONFIG_INET_XFRM_MODE_TRANSPORT=y
199CONFIG_INET_XFRM_MODE_TUNNEL=y
200CONFIG_INET_XFRM_MODE_BEET=y
201# CONFIG_INET_LRO is not set
182# CONFIG_INET_DIAG is not set 202# CONFIG_INET_DIAG is not set
183# CONFIG_TCP_CONG_ADVANCED is not set 203# CONFIG_TCP_CONG_ADVANCED is not set
184CONFIG_TCP_CONG_BIC=y 204CONFIG_TCP_CONG_CUBIC=y
185 205CONFIG_DEFAULT_TCP_CONG="cubic"
186# 206# CONFIG_TCP_MD5SIG is not set
187# IP: Virtual Server Configuration
188#
189# CONFIG_IP_VS is not set 207# CONFIG_IP_VS is not set
190CONFIG_IPV6=m 208CONFIG_IPV6=m
191# CONFIG_IPV6_PRIVACY is not set 209# CONFIG_IPV6_PRIVACY is not set
210# CONFIG_IPV6_ROUTER_PREF is not set
211# CONFIG_IPV6_OPTIMISTIC_DAD is not set
192# CONFIG_INET6_AH is not set 212# CONFIG_INET6_AH is not set
193# CONFIG_INET6_ESP is not set 213# CONFIG_INET6_ESP is not set
194CONFIG_INET6_IPCOMP=m 214CONFIG_INET6_IPCOMP=m
215# CONFIG_IPV6_MIP6 is not set
216CONFIG_INET6_XFRM_TUNNEL=m
195CONFIG_INET6_TUNNEL=m 217CONFIG_INET6_TUNNEL=m
218CONFIG_INET6_XFRM_MODE_TRANSPORT=m
219CONFIG_INET6_XFRM_MODE_TUNNEL=m
220CONFIG_INET6_XFRM_MODE_BEET=m
221# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
222CONFIG_IPV6_SIT=m
196CONFIG_IPV6_TUNNEL=m 223CONFIG_IPV6_TUNNEL=m
224# CONFIG_IPV6_MULTIPLE_TABLES is not set
225# CONFIG_NETWORK_SECMARK is not set
197CONFIG_NETFILTER=y 226CONFIG_NETFILTER=y
198CONFIG_NETFILTER_DEBUG=y 227CONFIG_NETFILTER_DEBUG=y
199 228
@@ -201,42 +230,24 @@ CONFIG_NETFILTER_DEBUG=y
201# Core Netfilter Configuration 230# Core Netfilter Configuration
202# 231#
203# CONFIG_NETFILTER_NETLINK is not set 232# CONFIG_NETFILTER_NETLINK is not set
233# CONFIG_NF_CONNTRACK_ENABLED is not set
234# CONFIG_NF_CONNTRACK is not set
204# CONFIG_NETFILTER_XTABLES is not set 235# CONFIG_NETFILTER_XTABLES is not set
205 236
206# 237#
207# IP: Netfilter Configuration 238# IP: Netfilter Configuration
208# 239#
209CONFIG_IP_NF_CONNTRACK=m
210# CONFIG_IP_NF_CT_ACCT is not set
211# CONFIG_IP_NF_CONNTRACK_MARK is not set
212# CONFIG_IP_NF_CONNTRACK_EVENTS is not set
213# CONFIG_IP_NF_CT_PROTO_SCTP is not set
214CONFIG_IP_NF_FTP=m
215CONFIG_IP_NF_IRC=m
216# CONFIG_IP_NF_NETBIOS_NS is not set
217CONFIG_IP_NF_TFTP=m
218CONFIG_IP_NF_AMANDA=m
219# CONFIG_IP_NF_PPTP is not set
220CONFIG_IP_NF_QUEUE=m 240CONFIG_IP_NF_QUEUE=m
241# CONFIG_IP_NF_IPTABLES is not set
242# CONFIG_IP_NF_ARPTABLES is not set
221 243
222# 244#
223# IPv6: Netfilter Configuration (EXPERIMENTAL) 245# IPv6: Netfilter Configuration (EXPERIMENTAL)
224# 246#
225# CONFIG_IP6_NF_QUEUE is not set 247# CONFIG_IP6_NF_QUEUE is not set
226 248# CONFIG_IP6_NF_IPTABLES is not set
227#
228# DCCP Configuration (EXPERIMENTAL)
229#
230# CONFIG_IP_DCCP is not set 249# CONFIG_IP_DCCP is not set
231
232#
233# SCTP Configuration (EXPERIMENTAL)
234#
235# CONFIG_IP_SCTP is not set 250# CONFIG_IP_SCTP is not set
236
237#
238# TIPC Configuration (EXPERIMENTAL)
239#
240# CONFIG_TIPC is not set 251# CONFIG_TIPC is not set
241# CONFIG_ATM is not set 252# CONFIG_ATM is not set
242# CONFIG_BRIDGE is not set 253# CONFIG_BRIDGE is not set
@@ -247,7 +258,6 @@ CONFIG_IP_NF_QUEUE=m
247# CONFIG_ATALK is not set 258# CONFIG_ATALK is not set
248# CONFIG_X25 is not set 259# CONFIG_X25 is not set
249# CONFIG_LAPB is not set 260# CONFIG_LAPB is not set
250# CONFIG_NET_DIVERT is not set
251# CONFIG_ECONET is not set 261# CONFIG_ECONET is not set
252# CONFIG_WAN_ROUTER is not set 262# CONFIG_WAN_ROUTER is not set
253 263
@@ -263,7 +273,17 @@ CONFIG_NET_PKTGEN=m
263# CONFIG_HAMRADIO is not set 273# CONFIG_HAMRADIO is not set
264# CONFIG_IRDA is not set 274# CONFIG_IRDA is not set
265# CONFIG_BT is not set 275# CONFIG_BT is not set
276# CONFIG_AF_RXRPC is not set
277
278#
279# Wireless
280#
281# CONFIG_CFG80211 is not set
282# CONFIG_WIRELESS_EXT is not set
283# CONFIG_MAC80211 is not set
266# CONFIG_IEEE80211 is not set 284# CONFIG_IEEE80211 is not set
285# CONFIG_RFKILL is not set
286# CONFIG_NET_9P is not set
267 287
268# 288#
269# Device Drivers 289# Device Drivers
@@ -272,33 +292,17 @@ CONFIG_NET_PKTGEN=m
272# 292#
273# Generic Driver Options 293# Generic Driver Options
274# 294#
295CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
275# CONFIG_STANDALONE is not set 296# CONFIG_STANDALONE is not set
276# CONFIG_PREVENT_FIRMWARE_BUILD is not set 297# CONFIG_PREVENT_FIRMWARE_BUILD is not set
277CONFIG_FW_LOADER=y 298CONFIG_FW_LOADER=y
278# CONFIG_DEBUG_DRIVER is not set 299# CONFIG_DEBUG_DRIVER is not set
279 300# CONFIG_DEBUG_DEVRES is not set
280# 301# CONFIG_SYS_HYPERVISOR is not set
281# Connector - unified userspace <-> kernelspace linker
282#
283# CONFIG_CONNECTOR is not set 302# CONFIG_CONNECTOR is not set
284
285#
286# Memory Technology Devices (MTD)
287#
288# CONFIG_MTD is not set 303# CONFIG_MTD is not set
289
290#
291# Parallel port support
292#
293# CONFIG_PARPORT is not set 304# CONFIG_PARPORT is not set
294 305CONFIG_BLK_DEV=y
295#
296# Plug and Play support
297#
298
299#
300# Block devices
301#
302# CONFIG_BLK_CPQ_DA is not set 306# CONFIG_BLK_CPQ_DA is not set
303# CONFIG_BLK_CPQ_CISS_DA is not set 307# CONFIG_BLK_CPQ_CISS_DA is not set
304# CONFIG_BLK_DEV_DAC960 is not set 308# CONFIG_BLK_DEV_DAC960 is not set
@@ -310,14 +314,15 @@ CONFIG_BLK_DEV_CRYPTOLOOP=m
310# CONFIG_BLK_DEV_SX8 is not set 314# CONFIG_BLK_DEV_SX8 is not set
311# CONFIG_BLK_DEV_UB is not set 315# CONFIG_BLK_DEV_UB is not set
312# CONFIG_BLK_DEV_RAM is not set 316# CONFIG_BLK_DEV_RAM is not set
313CONFIG_BLK_DEV_RAM_COUNT=16
314# CONFIG_CDROM_PKTCDVD is not set 317# CONFIG_CDROM_PKTCDVD is not set
315# CONFIG_ATA_OVER_ETH is not set 318# CONFIG_ATA_OVER_ETH is not set
316 319CONFIG_MISC_DEVICES=y
317# 320# CONFIG_PHANTOM is not set
318# ATA/ATAPI/MFM/RLL support 321# CONFIG_EEPROM_93CX6 is not set
319# 322# CONFIG_SGI_IOC4 is not set
323# CONFIG_TIFM_CORE is not set
320CONFIG_IDE=y 324CONFIG_IDE=y
325CONFIG_IDE_MAX_HWIFS=4
321CONFIG_BLK_DEV_IDE=y 326CONFIG_BLK_DEV_IDE=y
322 327
323# 328#
@@ -331,19 +336,26 @@ CONFIG_BLK_DEV_IDECD=y
331# CONFIG_BLK_DEV_IDEFLOPPY is not set 336# CONFIG_BLK_DEV_IDEFLOPPY is not set
332CONFIG_BLK_DEV_IDESCSI=y 337CONFIG_BLK_DEV_IDESCSI=y
333# CONFIG_IDE_TASK_IOCTL is not set 338# CONFIG_IDE_TASK_IOCTL is not set
339CONFIG_IDE_PROC_FS=y
334 340
335# 341#
336# IDE chipset support/bugfixes 342# IDE chipset support/bugfixes
337# 343#
338CONFIG_IDE_GENERIC=y 344CONFIG_IDE_GENERIC=y
345# CONFIG_BLK_DEV_PLATFORM is not set
346
347#
348# PCI IDE chipsets support
349#
339CONFIG_BLK_DEV_IDEPCI=y 350CONFIG_BLK_DEV_IDEPCI=y
340CONFIG_IDEPCI_SHARE_IRQ=y 351CONFIG_IDEPCI_SHARE_IRQ=y
352CONFIG_IDEPCI_PCIBUS_ORDER=y
341# CONFIG_BLK_DEV_OFFBOARD is not set 353# CONFIG_BLK_DEV_OFFBOARD is not set
342# CONFIG_BLK_DEV_GENERIC is not set 354# CONFIG_BLK_DEV_GENERIC is not set
343# CONFIG_BLK_DEV_OPTI621 is not set 355# CONFIG_BLK_DEV_OPTI621 is not set
344CONFIG_BLK_DEV_IDEDMA_PCI=y 356CONFIG_BLK_DEV_IDEDMA_PCI=y
345# CONFIG_BLK_DEV_IDEDMA_FORCED is not set 357# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
346# CONFIG_IDEDMA_PCI_AUTO is not set 358CONFIG_IDEDMA_ONLYDISK=y
347# CONFIG_BLK_DEV_AEC62XX is not set 359# CONFIG_BLK_DEV_AEC62XX is not set
348# CONFIG_BLK_DEV_ALI15X3 is not set 360# CONFIG_BLK_DEV_ALI15X3 is not set
349# CONFIG_BLK_DEV_AMD74XX is not set 361# CONFIG_BLK_DEV_AMD74XX is not set
@@ -354,8 +366,10 @@ CONFIG_BLK_DEV_IDEDMA_PCI=y
354# CONFIG_BLK_DEV_CS5530 is not set 366# CONFIG_BLK_DEV_CS5530 is not set
355# CONFIG_BLK_DEV_HPT34X is not set 367# CONFIG_BLK_DEV_HPT34X is not set
356# CONFIG_BLK_DEV_HPT366 is not set 368# CONFIG_BLK_DEV_HPT366 is not set
369# CONFIG_BLK_DEV_JMICRON is not set
357# CONFIG_BLK_DEV_SC1200 is not set 370# CONFIG_BLK_DEV_SC1200 is not set
358# CONFIG_BLK_DEV_PIIX is not set 371# CONFIG_BLK_DEV_PIIX is not set
372# CONFIG_BLK_DEV_IT8213 is not set
359# CONFIG_BLK_DEV_IT821X is not set 373# CONFIG_BLK_DEV_IT821X is not set
360CONFIG_BLK_DEV_NS87415=y 374CONFIG_BLK_DEV_NS87415=y
361# CONFIG_BLK_DEV_PDC202XX_OLD is not set 375# CONFIG_BLK_DEV_PDC202XX_OLD is not set
@@ -365,10 +379,10 @@ CONFIG_BLK_DEV_SIIMAGE=m
365# CONFIG_BLK_DEV_SLC90E66 is not set 379# CONFIG_BLK_DEV_SLC90E66 is not set
366# CONFIG_BLK_DEV_TRM290 is not set 380# CONFIG_BLK_DEV_TRM290 is not set
367# CONFIG_BLK_DEV_VIA82CXXX is not set 381# CONFIG_BLK_DEV_VIA82CXXX is not set
382# CONFIG_BLK_DEV_TC86C001 is not set
368# CONFIG_IDE_ARM is not set 383# CONFIG_IDE_ARM is not set
369CONFIG_BLK_DEV_IDEDMA=y 384CONFIG_BLK_DEV_IDEDMA=y
370# CONFIG_IDEDMA_IVB is not set 385# CONFIG_IDEDMA_IVB is not set
371# CONFIG_IDEDMA_AUTO is not set
372# CONFIG_BLK_DEV_HD is not set 386# CONFIG_BLK_DEV_HD is not set
373 387
374# 388#
@@ -376,6 +390,9 @@ CONFIG_BLK_DEV_IDEDMA=y
376# 390#
377# CONFIG_RAID_ATTRS is not set 391# CONFIG_RAID_ATTRS is not set
378CONFIG_SCSI=y 392CONFIG_SCSI=y
393CONFIG_SCSI_DMA=y
394# CONFIG_SCSI_TGT is not set
395# CONFIG_SCSI_NETLINK is not set
379CONFIG_SCSI_PROC_FS=y 396CONFIG_SCSI_PROC_FS=y
380 397
381# 398#
@@ -395,18 +412,17 @@ CONFIG_CHR_DEV_SG=y
395CONFIG_SCSI_MULTI_LUN=y 412CONFIG_SCSI_MULTI_LUN=y
396# CONFIG_SCSI_CONSTANTS is not set 413# CONFIG_SCSI_CONSTANTS is not set
397# CONFIG_SCSI_LOGGING is not set 414# CONFIG_SCSI_LOGGING is not set
415# CONFIG_SCSI_SCAN_ASYNC is not set
416CONFIG_SCSI_WAIT_SCAN=m
398 417
399# 418#
400# SCSI Transport Attributes 419# SCSI Transports
401# 420#
402CONFIG_SCSI_SPI_ATTRS=y 421CONFIG_SCSI_SPI_ATTRS=y
403# CONFIG_SCSI_FC_ATTRS is not set 422# CONFIG_SCSI_FC_ATTRS is not set
404CONFIG_SCSI_ISCSI_ATTRS=m 423CONFIG_SCSI_ISCSI_ATTRS=m
405# CONFIG_SCSI_SAS_ATTRS is not set 424# CONFIG_SCSI_SAS_LIBSAS is not set
406 425CONFIG_SCSI_LOWLEVEL=y
407#
408# SCSI low-level drivers
409#
410# CONFIG_ISCSI_TCP is not set 426# CONFIG_ISCSI_TCP is not set
411# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 427# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
412# CONFIG_SCSI_3W_9XXX is not set 428# CONFIG_SCSI_3W_9XXX is not set
@@ -415,66 +431,53 @@ CONFIG_SCSI_ISCSI_ATTRS=m
415# CONFIG_SCSI_AIC7XXX is not set 431# CONFIG_SCSI_AIC7XXX is not set
416# CONFIG_SCSI_AIC7XXX_OLD is not set 432# CONFIG_SCSI_AIC7XXX_OLD is not set
417# CONFIG_SCSI_AIC79XX is not set 433# CONFIG_SCSI_AIC79XX is not set
434# CONFIG_SCSI_AIC94XX is not set
418# CONFIG_SCSI_DPT_I2O is not set 435# CONFIG_SCSI_DPT_I2O is not set
436# CONFIG_SCSI_ARCMSR is not set
419# CONFIG_MEGARAID_NEWGEN is not set 437# CONFIG_MEGARAID_NEWGEN is not set
420# CONFIG_MEGARAID_LEGACY is not set 438# CONFIG_MEGARAID_LEGACY is not set
421# CONFIG_MEGARAID_SAS is not set 439# CONFIG_MEGARAID_SAS is not set
422CONFIG_SCSI_SATA=y 440# CONFIG_SCSI_HPTIOP is not set
423# CONFIG_SCSI_SATA_AHCI is not set
424# CONFIG_SCSI_SATA_SVW is not set
425CONFIG_SCSI_ATA_PIIX=m
426# CONFIG_SCSI_SATA_MV is not set
427# CONFIG_SCSI_SATA_NV is not set
428# CONFIG_SCSI_PDC_ADMA is not set
429# CONFIG_SCSI_SATA_QSTOR is not set
430CONFIG_SCSI_SATA_PROMISE=m
431# CONFIG_SCSI_SATA_SX4 is not set
432CONFIG_SCSI_SATA_SIL=m
433# CONFIG_SCSI_SATA_SIL24 is not set
434# CONFIG_SCSI_SATA_SIS is not set
435# CONFIG_SCSI_SATA_ULI is not set
436CONFIG_SCSI_SATA_VIA=m
437# CONFIG_SCSI_SATA_VITESSE is not set
438# CONFIG_SCSI_DMX3191D is not set 441# CONFIG_SCSI_DMX3191D is not set
439# CONFIG_SCSI_FUTURE_DOMAIN is not set 442# CONFIG_SCSI_FUTURE_DOMAIN is not set
440# CONFIG_SCSI_IPS is not set 443# CONFIG_SCSI_IPS is not set
441# CONFIG_SCSI_INITIO is not set 444# CONFIG_SCSI_INITIO is not set
442# CONFIG_SCSI_INIA100 is not set 445# CONFIG_SCSI_INIA100 is not set
446# CONFIG_SCSI_STEX is not set
443CONFIG_SCSI_SYM53C8XX_2=y 447CONFIG_SCSI_SYM53C8XX_2=y
444CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 448CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0
445CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 449CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
446CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 450CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
447CONFIG_SCSI_SYM53C8XX_MMIO=y 451CONFIG_SCSI_SYM53C8XX_MMIO=y
448# CONFIG_SCSI_IPR is not set
449# CONFIG_SCSI_QLOGIC_FC is not set
450# CONFIG_SCSI_QLOGIC_1280 is not set 452# CONFIG_SCSI_QLOGIC_1280 is not set
451# CONFIG_SCSI_QLA_FC is not set 453# CONFIG_SCSI_QLA_FC is not set
454# CONFIG_SCSI_QLA_ISCSI is not set
452# CONFIG_SCSI_LPFC is not set 455# CONFIG_SCSI_LPFC is not set
453# CONFIG_SCSI_DC395x is not set 456# CONFIG_SCSI_DC395x is not set
454# CONFIG_SCSI_DC390T is not set 457# CONFIG_SCSI_DC390T is not set
455# CONFIG_SCSI_NSP32 is not set 458# CONFIG_SCSI_NSP32 is not set
456CONFIG_SCSI_DEBUG=m 459CONFIG_SCSI_DEBUG=m
457 460# CONFIG_SCSI_SRP is not set
458# 461# CONFIG_ATA is not set
459# Multi-device support (RAID and LVM)
460#
461CONFIG_MD=y 462CONFIG_MD=y
462CONFIG_BLK_DEV_MD=y 463CONFIG_BLK_DEV_MD=y
463CONFIG_MD_LINEAR=y 464CONFIG_MD_LINEAR=y
464CONFIG_MD_RAID0=y 465CONFIG_MD_RAID0=y
465CONFIG_MD_RAID1=y 466CONFIG_MD_RAID1=y
466# CONFIG_MD_RAID10 is not set 467# CONFIG_MD_RAID10 is not set
467# CONFIG_MD_RAID5 is not set 468# CONFIG_MD_RAID456 is not set
468# CONFIG_MD_RAID6 is not set
469# CONFIG_MD_MULTIPATH is not set 469# CONFIG_MD_MULTIPATH is not set
470# CONFIG_MD_FAULTY is not set 470# CONFIG_MD_FAULTY is not set
471CONFIG_BLK_DEV_DM=m 471CONFIG_BLK_DEV_DM=m
472# CONFIG_DM_DEBUG is not set
472CONFIG_DM_CRYPT=m 473CONFIG_DM_CRYPT=m
473CONFIG_DM_SNAPSHOT=m 474CONFIG_DM_SNAPSHOT=m
474CONFIG_DM_MIRROR=m 475CONFIG_DM_MIRROR=m
475CONFIG_DM_ZERO=m 476CONFIG_DM_ZERO=m
476CONFIG_DM_MULTIPATH=m 477CONFIG_DM_MULTIPATH=m
477# CONFIG_DM_MULTIPATH_EMC is not set 478# CONFIG_DM_MULTIPATH_EMC is not set
479# CONFIG_DM_MULTIPATH_RDAC is not set
480# CONFIG_DM_DELAY is not set
478 481
479# 482#
480# Fusion MPT device support 483# Fusion MPT device support
@@ -485,49 +488,31 @@ CONFIG_FUSION_SPI=m
485# CONFIG_FUSION_SAS is not set 488# CONFIG_FUSION_SAS is not set
486CONFIG_FUSION_MAX_SGE=128 489CONFIG_FUSION_MAX_SGE=128
487CONFIG_FUSION_CTL=m 490CONFIG_FUSION_CTL=m
491# CONFIG_FUSION_LOGGING is not set
488 492
489# 493#
490# IEEE 1394 (FireWire) support 494# IEEE 1394 (FireWire) support
491# 495#
496# CONFIG_FIREWIRE is not set
492# CONFIG_IEEE1394 is not set 497# CONFIG_IEEE1394 is not set
493
494#
495# I2O device support
496#
497# CONFIG_I2O is not set 498# CONFIG_I2O is not set
498
499#
500# Network device support
501#
502CONFIG_NETDEVICES=y 499CONFIG_NETDEVICES=y
500# CONFIG_NETDEVICES_MULTIQUEUE is not set
503CONFIG_DUMMY=m 501CONFIG_DUMMY=m
504CONFIG_BONDING=m 502CONFIG_BONDING=m
503# CONFIG_MACVLAN is not set
505# CONFIG_EQUALIZER is not set 504# CONFIG_EQUALIZER is not set
506CONFIG_TUN=m 505CONFIG_TUN=m
507 506# CONFIG_VETH is not set
508# 507# CONFIG_IP1000 is not set
509# ARCnet devices
510#
511# CONFIG_ARCNET is not set 508# CONFIG_ARCNET is not set
512
513#
514# PHY device support
515#
516# CONFIG_PHYLIB is not set 509# CONFIG_PHYLIB is not set
517
518#
519# Ethernet (10 or 100Mbit)
520#
521CONFIG_NET_ETHERNET=y 510CONFIG_NET_ETHERNET=y
522CONFIG_MII=m 511CONFIG_MII=m
523# CONFIG_HAPPYMEAL is not set 512# CONFIG_HAPPYMEAL is not set
524# CONFIG_SUNGEM is not set 513# CONFIG_SUNGEM is not set
525# CONFIG_CASSINI is not set 514# CONFIG_CASSINI is not set
526# CONFIG_NET_VENDOR_3COM is not set 515# CONFIG_NET_VENDOR_3COM is not set
527
528#
529# Tulip family network device support
530#
531CONFIG_NET_TULIP=y 516CONFIG_NET_TULIP=y
532CONFIG_DE2104X=m 517CONFIG_DE2104X=m
533CONFIG_TULIP=y 518CONFIG_TULIP=y
@@ -539,13 +524,16 @@ CONFIG_TULIP_MMIO=y
539# CONFIG_DM9102 is not set 524# CONFIG_DM9102 is not set
540# CONFIG_ULI526X is not set 525# CONFIG_ULI526X is not set
541# CONFIG_HP100 is not set 526# CONFIG_HP100 is not set
527# CONFIG_IBM_NEW_EMAC_ZMII is not set
528# CONFIG_IBM_NEW_EMAC_RGMII is not set
529# CONFIG_IBM_NEW_EMAC_TAH is not set
530# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
542CONFIG_NET_PCI=y 531CONFIG_NET_PCI=y
543# CONFIG_PCNET32 is not set 532# CONFIG_PCNET32 is not set
544# CONFIG_AMD8111_ETH is not set 533# CONFIG_AMD8111_ETH is not set
545# CONFIG_ADAPTEC_STARFIRE is not set 534# CONFIG_ADAPTEC_STARFIRE is not set
546# CONFIG_B44 is not set 535# CONFIG_B44 is not set
547# CONFIG_FORCEDETH is not set 536# CONFIG_FORCEDETH is not set
548# CONFIG_DGRS is not set
549# CONFIG_EEPRO100 is not set 537# CONFIG_EEPRO100 is not set
550CONFIG_E100=m 538CONFIG_E100=m
551# CONFIG_FEALNX is not set 539# CONFIG_FEALNX is not set
@@ -558,16 +546,15 @@ CONFIG_E100=m
558# CONFIG_SUNDANCE is not set 546# CONFIG_SUNDANCE is not set
559# CONFIG_TLAN is not set 547# CONFIG_TLAN is not set
560# CONFIG_VIA_RHINE is not set 548# CONFIG_VIA_RHINE is not set
561 549# CONFIG_SC92031 is not set
562# 550CONFIG_NETDEV_1000=y
563# Ethernet (1000 Mbit)
564#
565CONFIG_ACENIC=m 551CONFIG_ACENIC=m
566# CONFIG_ACENIC_OMIT_TIGON_I is not set 552# CONFIG_ACENIC_OMIT_TIGON_I is not set
567# CONFIG_DL2K is not set 553# CONFIG_DL2K is not set
568CONFIG_E1000=m 554CONFIG_E1000=m
569# CONFIG_E1000_NAPI is not set 555# CONFIG_E1000_NAPI is not set
570# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set 556# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
557# CONFIG_E1000E is not set
571# CONFIG_NS83820 is not set 558# CONFIG_NS83820 is not set
572# CONFIG_HAMACHI is not set 559# CONFIG_HAMACHI is not set
573# CONFIG_YELLOWFIN is not set 560# CONFIG_YELLOWFIN is not set
@@ -579,27 +566,36 @@ CONFIG_E1000=m
579# CONFIG_VIA_VELOCITY is not set 566# CONFIG_VIA_VELOCITY is not set
580CONFIG_TIGON3=m 567CONFIG_TIGON3=m
581# CONFIG_BNX2 is not set 568# CONFIG_BNX2 is not set
582 569# CONFIG_QLA3XXX is not set
583# 570# CONFIG_ATL1 is not set
584# Ethernet (10000 Mbit) 571CONFIG_NETDEV_10000=y
585#
586# CONFIG_CHELSIO_T1 is not set 572# CONFIG_CHELSIO_T1 is not set
573# CONFIG_CHELSIO_T3 is not set
574# CONFIG_IXGBE is not set
587# CONFIG_IXGB is not set 575# CONFIG_IXGB is not set
588# CONFIG_S2IO is not set 576# CONFIG_S2IO is not set
589 577# CONFIG_MYRI10GE is not set
590# 578# CONFIG_NETXEN_NIC is not set
591# Token Ring devices 579# CONFIG_NIU is not set
592# 580# CONFIG_MLX4_CORE is not set
581# CONFIG_TEHUTI is not set
593# CONFIG_TR is not set 582# CONFIG_TR is not set
594 583
595# 584#
596# Wireless LAN (non-hamradio) 585# Wireless LAN
597# 586#
598# CONFIG_NET_RADIO is not set 587# CONFIG_WLAN_PRE80211 is not set
588# CONFIG_WLAN_80211 is not set
599 589
600# 590#
601# Wan interfaces 591# USB Network Adapters
602# 592#
593# CONFIG_USB_CATC is not set
594# CONFIG_USB_KAWETH is not set
595# CONFIG_USB_PEGASUS is not set
596# CONFIG_USB_RTL8150 is not set
597# CONFIG_USB_USBNET_MII is not set
598# CONFIG_USB_USBNET is not set
603# CONFIG_WAN is not set 599# CONFIG_WAN is not set
604# CONFIG_FDDI is not set 600# CONFIG_FDDI is not set
605# CONFIG_HIPPI is not set 601# CONFIG_HIPPI is not set
@@ -612,27 +608,23 @@ CONFIG_PPP_DEFLATE=m
612CONFIG_PPP_BSDCOMP=m 608CONFIG_PPP_BSDCOMP=m
613# CONFIG_PPP_MPPE is not set 609# CONFIG_PPP_MPPE is not set
614CONFIG_PPPOE=m 610CONFIG_PPPOE=m
611# CONFIG_PPPOL2TP is not set
615# CONFIG_SLIP is not set 612# CONFIG_SLIP is not set
613CONFIG_SLHC=m
616# CONFIG_NET_FC is not set 614# CONFIG_NET_FC is not set
617# CONFIG_SHAPER is not set 615# CONFIG_SHAPER is not set
618# CONFIG_NETCONSOLE is not set 616# CONFIG_NETCONSOLE is not set
619# CONFIG_NETPOLL is not set 617# CONFIG_NETPOLL is not set
620# CONFIG_NET_POLL_CONTROLLER is not set 618# CONFIG_NET_POLL_CONTROLLER is not set
621
622#
623# ISDN subsystem
624#
625# CONFIG_ISDN is not set 619# CONFIG_ISDN is not set
626
627#
628# Telephony Support
629#
630# CONFIG_PHONE is not set 620# CONFIG_PHONE is not set
631 621
632# 622#
633# Input device support 623# Input device support
634# 624#
635CONFIG_INPUT=y 625CONFIG_INPUT=y
626# CONFIG_INPUT_FF_MEMLESS is not set
627# CONFIG_INPUT_POLLDEV is not set
636 628
637# 629#
638# Userland interfaces 630# Userland interfaces
@@ -655,11 +647,14 @@ CONFIG_INPUT_KEYBOARD=y
655# CONFIG_KEYBOARD_LKKBD is not set 647# CONFIG_KEYBOARD_LKKBD is not set
656# CONFIG_KEYBOARD_XTKBD is not set 648# CONFIG_KEYBOARD_XTKBD is not set
657# CONFIG_KEYBOARD_NEWTON is not set 649# CONFIG_KEYBOARD_NEWTON is not set
650# CONFIG_KEYBOARD_STOWAWAY is not set
658CONFIG_INPUT_MOUSE=y 651CONFIG_INPUT_MOUSE=y
659# CONFIG_MOUSE_PS2 is not set 652# CONFIG_MOUSE_PS2 is not set
660# CONFIG_MOUSE_SERIAL is not set 653# CONFIG_MOUSE_SERIAL is not set
654# CONFIG_MOUSE_APPLETOUCH is not set
661# CONFIG_MOUSE_VSXXXAA is not set 655# CONFIG_MOUSE_VSXXXAA is not set
662# CONFIG_INPUT_JOYSTICK is not set 656# CONFIG_INPUT_JOYSTICK is not set
657# CONFIG_INPUT_TABLET is not set
663# CONFIG_INPUT_TOUCHSCREEN is not set 658# CONFIG_INPUT_TOUCHSCREEN is not set
664# CONFIG_INPUT_MISC is not set 659# CONFIG_INPUT_MISC is not set
665 660
@@ -679,6 +674,7 @@ CONFIG_SERIO_LIBPS2=m
679CONFIG_VT=y 674CONFIG_VT=y
680CONFIG_VT_CONSOLE=y 675CONFIG_VT_CONSOLE=y
681CONFIG_HW_CONSOLE=y 676CONFIG_HW_CONSOLE=y
677# CONFIG_VT_HW_CONSOLE_BINDING is not set
682# CONFIG_SERIAL_NONSTANDARD is not set 678# CONFIG_SERIAL_NONSTANDARD is not set
683 679
684# 680#
@@ -686,6 +682,7 @@ CONFIG_HW_CONSOLE=y
686# 682#
687CONFIG_SERIAL_8250=y 683CONFIG_SERIAL_8250=y
688CONFIG_SERIAL_8250_CONSOLE=y 684CONFIG_SERIAL_8250_CONSOLE=y
685CONFIG_SERIAL_8250_PCI=y
689CONFIG_SERIAL_8250_NR_UARTS=13 686CONFIG_SERIAL_8250_NR_UARTS=13
690CONFIG_SERIAL_8250_RUNTIME_UARTS=4 687CONFIG_SERIAL_8250_RUNTIME_UARTS=4
691CONFIG_SERIAL_8250_EXTENDED=y 688CONFIG_SERIAL_8250_EXTENDED=y
@@ -704,38 +701,19 @@ CONFIG_SERIAL_CORE_CONSOLE=y
704CONFIG_UNIX98_PTYS=y 701CONFIG_UNIX98_PTYS=y
705CONFIG_LEGACY_PTYS=y 702CONFIG_LEGACY_PTYS=y
706CONFIG_LEGACY_PTY_COUNT=256 703CONFIG_LEGACY_PTY_COUNT=256
707
708#
709# IPMI
710#
711# CONFIG_IPMI_HANDLER is not set 704# CONFIG_IPMI_HANDLER is not set
712
713#
714# Watchdog Cards
715#
716# CONFIG_WATCHDOG is not set 705# CONFIG_WATCHDOG is not set
706# CONFIG_HW_RANDOM is not set
717CONFIG_GEN_RTC=y 707CONFIG_GEN_RTC=y
718CONFIG_GEN_RTC_X=y 708CONFIG_GEN_RTC_X=y
719# CONFIG_DTLK is not set
720# CONFIG_R3964 is not set 709# CONFIG_R3964 is not set
721# CONFIG_APPLICOM is not set 710# CONFIG_APPLICOM is not set
722 711# CONFIG_AGP is not set
723#
724# Ftape, the floppy tape device driver
725#
726# CONFIG_DRM is not set 712# CONFIG_DRM is not set
727CONFIG_RAW_DRIVER=y 713CONFIG_RAW_DRIVER=y
728CONFIG_MAX_RAW_DEVS=256 714CONFIG_MAX_RAW_DEVS=256
729
730#
731# TPM devices
732#
733# CONFIG_TCG_TPM is not set 715# CONFIG_TCG_TPM is not set
734# CONFIG_TELCLOCK is not set 716CONFIG_DEVPORT=y
735
736#
737# I2C support
738#
739# CONFIG_I2C is not set 717# CONFIG_I2C is not set
740 718
741# 719#
@@ -743,46 +721,59 @@ CONFIG_MAX_RAW_DEVS=256
743# 721#
744# CONFIG_SPI is not set 722# CONFIG_SPI is not set
745# CONFIG_SPI_MASTER is not set 723# CONFIG_SPI_MASTER is not set
746
747#
748# Dallas's 1-wire bus
749#
750# CONFIG_W1 is not set 724# CONFIG_W1 is not set
751 725# CONFIG_POWER_SUPPLY is not set
752#
753# Hardware Monitoring support
754#
755# CONFIG_HWMON is not set 726# CONFIG_HWMON is not set
756# CONFIG_HWMON_VID is not set
757 727
758# 728#
759# Misc devices 729# Sonics Silicon Backplane
760# 730#
731CONFIG_SSB_POSSIBLE=y
732# CONFIG_SSB is not set
761 733
762# 734#
763# Multimedia Capabilities Port drivers 735# Multifunction device drivers
764# 736#
737# CONFIG_MFD_SM501 is not set
765 738
766# 739#
767# Multimedia devices 740# Multimedia devices
768# 741#
769# CONFIG_VIDEO_DEV is not set 742# CONFIG_VIDEO_DEV is not set
743# CONFIG_DVB_CORE is not set
744# CONFIG_DAB is not set
770 745
771# 746#
772# Digital Video Broadcasting Devices 747# Graphics support
773# 748#
774# CONFIG_DVB is not set 749# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
775 750
776# 751#
777# Graphics support 752# Display device support
778# 753#
754# CONFIG_DISPLAY_SUPPORT is not set
755# CONFIG_VGASTATE is not set
756CONFIG_VIDEO_OUTPUT_CONTROL=m
779CONFIG_FB=y 757CONFIG_FB=y
758# CONFIG_FIRMWARE_EDID is not set
759# CONFIG_FB_DDC is not set
780CONFIG_FB_CFB_FILLRECT=y 760CONFIG_FB_CFB_FILLRECT=y
781CONFIG_FB_CFB_COPYAREA=y 761CONFIG_FB_CFB_COPYAREA=y
782CONFIG_FB_CFB_IMAGEBLIT=y 762CONFIG_FB_CFB_IMAGEBLIT=y
763# CONFIG_FB_SYS_FILLRECT is not set
764# CONFIG_FB_SYS_COPYAREA is not set
765# CONFIG_FB_SYS_IMAGEBLIT is not set
766# CONFIG_FB_SYS_FOPS is not set
767CONFIG_FB_DEFERRED_IO=y
768# CONFIG_FB_SVGALIB is not set
783# CONFIG_FB_MACMODES is not set 769# CONFIG_FB_MACMODES is not set
770# CONFIG_FB_BACKLIGHT is not set
784# CONFIG_FB_MODE_HELPERS is not set 771# CONFIG_FB_MODE_HELPERS is not set
785# CONFIG_FB_TILEBLITTING is not set 772# CONFIG_FB_TILEBLITTING is not set
773
774#
775# Frame buffer hardware drivers
776#
786# CONFIG_FB_CIRRUS is not set 777# CONFIG_FB_CIRRUS is not set
787# CONFIG_FB_PM2 is not set 778# CONFIG_FB_PM2 is not set
788# CONFIG_FB_CYBER2000 is not set 779# CONFIG_FB_CYBER2000 is not set
@@ -793,17 +784,20 @@ CONFIG_FB_STI=y
793# CONFIG_FB_NVIDIA is not set 784# CONFIG_FB_NVIDIA is not set
794# CONFIG_FB_RIVA is not set 785# CONFIG_FB_RIVA is not set
795# CONFIG_FB_MATROX is not set 786# CONFIG_FB_MATROX is not set
796# CONFIG_FB_RADEON_OLD is not set
797# CONFIG_FB_RADEON is not set 787# CONFIG_FB_RADEON is not set
798# CONFIG_FB_ATY128 is not set 788# CONFIG_FB_ATY128 is not set
799# CONFIG_FB_ATY is not set 789# CONFIG_FB_ATY is not set
790# CONFIG_FB_S3 is not set
800# CONFIG_FB_SAVAGE is not set 791# CONFIG_FB_SAVAGE is not set
801# CONFIG_FB_SIS is not set 792# CONFIG_FB_SIS is not set
802# CONFIG_FB_NEOMAGIC is not set 793# CONFIG_FB_NEOMAGIC is not set
803# CONFIG_FB_KYRO is not set 794# CONFIG_FB_KYRO is not set
804# CONFIG_FB_3DFX is not set 795# CONFIG_FB_3DFX is not set
805# CONFIG_FB_VOODOO1 is not set 796# CONFIG_FB_VOODOO1 is not set
797# CONFIG_FB_VT8623 is not set
806# CONFIG_FB_TRIDENT is not set 798# CONFIG_FB_TRIDENT is not set
799# CONFIG_FB_ARK is not set
800# CONFIG_FB_PM3 is not set
807# CONFIG_FB_VIRTUAL is not set 801# CONFIG_FB_VIRTUAL is not set
808 802
809# 803#
@@ -813,21 +807,17 @@ CONFIG_DUMMY_CONSOLE=y
813CONFIG_DUMMY_CONSOLE_COLUMNS=160 807CONFIG_DUMMY_CONSOLE_COLUMNS=160
814CONFIG_DUMMY_CONSOLE_ROWS=64 808CONFIG_DUMMY_CONSOLE_ROWS=64
815CONFIG_FRAMEBUFFER_CONSOLE=y 809CONFIG_FRAMEBUFFER_CONSOLE=y
810# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
816# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set 811# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
817CONFIG_STI_CONSOLE=y 812CONFIG_STI_CONSOLE=y
818# CONFIG_FONTS is not set 813# CONFIG_FONTS is not set
819CONFIG_FONT_8x8=y 814CONFIG_FONT_8x8=y
820CONFIG_FONT_8x16=y 815CONFIG_FONT_8x16=y
821
822#
823# Logo configuration
824#
825CONFIG_LOGO=y 816CONFIG_LOGO=y
826# CONFIG_LOGO_LINUX_MONO is not set 817# CONFIG_LOGO_LINUX_MONO is not set
827# CONFIG_LOGO_LINUX_VGA16 is not set 818# CONFIG_LOGO_LINUX_VGA16 is not set
828# CONFIG_LOGO_LINUX_CLUT224 is not set 819# CONFIG_LOGO_LINUX_CLUT224 is not set
829CONFIG_LOGO_PARISC_CLUT224=y 820CONFIG_LOGO_PARISC_CLUT224=y
830# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
831 821
832# 822#
833# Sound 823# Sound
@@ -845,9 +835,11 @@ CONFIG_SND_SEQUENCER=y
845CONFIG_SND_OSSEMUL=y 835CONFIG_SND_OSSEMUL=y
846CONFIG_SND_MIXER_OSS=y 836CONFIG_SND_MIXER_OSS=y
847CONFIG_SND_PCM_OSS=y 837CONFIG_SND_PCM_OSS=y
838CONFIG_SND_PCM_OSS_PLUGINS=y
848CONFIG_SND_SEQUENCER_OSS=y 839CONFIG_SND_SEQUENCER_OSS=y
849# CONFIG_SND_DYNAMIC_MINORS is not set 840# CONFIG_SND_DYNAMIC_MINORS is not set
850CONFIG_SND_SUPPORT_OLD_API=y 841CONFIG_SND_SUPPORT_OLD_API=y
842CONFIG_SND_VERBOSE_PROCFS=y
851# CONFIG_SND_VERBOSE_PRINTK is not set 843# CONFIG_SND_VERBOSE_PRINTK is not set
852# CONFIG_SND_DEBUG is not set 844# CONFIG_SND_DEBUG is not set
853 845
@@ -855,7 +847,6 @@ CONFIG_SND_SUPPORT_OLD_API=y
855# Generic devices 847# Generic devices
856# 848#
857CONFIG_SND_AC97_CODEC=y 849CONFIG_SND_AC97_CODEC=y
858CONFIG_SND_AC97_BUS=y
859# CONFIG_SND_DUMMY is not set 850# CONFIG_SND_DUMMY is not set
860# CONFIG_SND_VIRMIDI is not set 851# CONFIG_SND_VIRMIDI is not set
861# CONFIG_SND_MTPAV is not set 852# CONFIG_SND_MTPAV is not set
@@ -866,7 +857,7 @@ CONFIG_SND_AC97_BUS=y
866# PCI devices 857# PCI devices
867# 858#
868CONFIG_SND_AD1889=y 859CONFIG_SND_AD1889=y
869# CONFIG_SND_AD1889_OPL3 is not set 860# CONFIG_SND_ALS300 is not set
870# CONFIG_SND_ALI5451 is not set 861# CONFIG_SND_ALI5451 is not set
871# CONFIG_SND_ATIIXP is not set 862# CONFIG_SND_ATIIXP is not set
872# CONFIG_SND_ATIIXP_MODEM is not set 863# CONFIG_SND_ATIIXP_MODEM is not set
@@ -879,6 +870,18 @@ CONFIG_SND_AD1889=y
879# CONFIG_SND_CMIPCI is not set 870# CONFIG_SND_CMIPCI is not set
880# CONFIG_SND_CS4281 is not set 871# CONFIG_SND_CS4281 is not set
881# CONFIG_SND_CS46XX is not set 872# CONFIG_SND_CS46XX is not set
873# CONFIG_SND_DARLA20 is not set
874# CONFIG_SND_GINA20 is not set
875# CONFIG_SND_LAYLA20 is not set
876# CONFIG_SND_DARLA24 is not set
877# CONFIG_SND_GINA24 is not set
878# CONFIG_SND_LAYLA24 is not set
879# CONFIG_SND_MONA is not set
880# CONFIG_SND_MIA is not set
881# CONFIG_SND_ECHO3G is not set
882# CONFIG_SND_INDIGO is not set
883# CONFIG_SND_INDIGOIO is not set
884# CONFIG_SND_INDIGODJ is not set
882# CONFIG_SND_EMU10K1 is not set 885# CONFIG_SND_EMU10K1 is not set
883# CONFIG_SND_EMU10K1X is not set 886# CONFIG_SND_EMU10K1X is not set
884# CONFIG_SND_ENS1370 is not set 887# CONFIG_SND_ENS1370 is not set
@@ -898,6 +901,7 @@ CONFIG_SND_AD1889=y
898# CONFIG_SND_MIXART is not set 901# CONFIG_SND_MIXART is not set
899# CONFIG_SND_NM256 is not set 902# CONFIG_SND_NM256 is not set
900# CONFIG_SND_PCXHR is not set 903# CONFIG_SND_PCXHR is not set
904# CONFIG_SND_RIPTIDE is not set
901# CONFIG_SND_RME32 is not set 905# CONFIG_SND_RME32 is not set
902# CONFIG_SND_RME96 is not set 906# CONFIG_SND_RME96 is not set
903# CONFIG_SND_RME9652 is not set 907# CONFIG_SND_RME9652 is not set
@@ -907,22 +911,43 @@ CONFIG_SND_AD1889=y
907# CONFIG_SND_VIA82XX_MODEM is not set 911# CONFIG_SND_VIA82XX_MODEM is not set
908# CONFIG_SND_VX222 is not set 912# CONFIG_SND_VX222 is not set
909# CONFIG_SND_YMFPCI is not set 913# CONFIG_SND_YMFPCI is not set
914# CONFIG_SND_AC97_POWER_SAVE is not set
910 915
911# 916#
912# USB devices 917# USB devices
913# 918#
914# CONFIG_SND_USB_AUDIO is not set 919# CONFIG_SND_USB_AUDIO is not set
920# CONFIG_SND_USB_CAIAQ is not set
921
922#
923# System on Chip audio support
924#
925# CONFIG_SND_SOC is not set
926
927#
928# SoC Audio support for SuperH
929#
915 930
916# 931#
917# Open Sound System 932# Open Sound System
918# 933#
919# CONFIG_SOUND_PRIME is not set 934# CONFIG_SOUND_PRIME is not set
935CONFIG_AC97_BUS=y
936CONFIG_HID_SUPPORT=y
937CONFIG_HID=y
938# CONFIG_HID_DEBUG is not set
920 939
921# 940#
922# USB support 941# USB Input Devices
923# 942#
943CONFIG_USB_HID=y
944# CONFIG_USB_HIDINPUT_POWERBOOK is not set
945# CONFIG_HID_FF is not set
946CONFIG_USB_HIDDEV=y
947CONFIG_USB_SUPPORT=y
924CONFIG_USB_ARCH_HAS_HCD=y 948CONFIG_USB_ARCH_HAS_HCD=y
925CONFIG_USB_ARCH_HAS_OHCI=y 949CONFIG_USB_ARCH_HAS_OHCI=y
950CONFIG_USB_ARCH_HAS_EHCI=y
926CONFIG_USB=y 951CONFIG_USB=y
927CONFIG_USB_DEBUG=y 952CONFIG_USB_DEBUG=y
928 953
@@ -930,7 +955,7 @@ CONFIG_USB_DEBUG=y
930# Miscellaneous USB options 955# Miscellaneous USB options
931# 956#
932CONFIG_USB_DEVICEFS=y 957CONFIG_USB_DEVICEFS=y
933# CONFIG_USB_BANDWIDTH is not set 958CONFIG_USB_DEVICE_CLASS=y
934# CONFIG_USB_DYNAMIC_MINORS is not set 959# CONFIG_USB_DYNAMIC_MINORS is not set
935# CONFIG_USB_OTG is not set 960# CONFIG_USB_OTG is not set
936 961
@@ -940,15 +965,16 @@ CONFIG_USB_DEVICEFS=y
940# CONFIG_USB_EHCI_HCD is not set 965# CONFIG_USB_EHCI_HCD is not set
941# CONFIG_USB_ISP116X_HCD is not set 966# CONFIG_USB_ISP116X_HCD is not set
942CONFIG_USB_OHCI_HCD=y 967CONFIG_USB_OHCI_HCD=y
943# CONFIG_USB_OHCI_BIG_ENDIAN is not set 968# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
969# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
944CONFIG_USB_OHCI_LITTLE_ENDIAN=y 970CONFIG_USB_OHCI_LITTLE_ENDIAN=y
945# CONFIG_USB_UHCI_HCD is not set 971# CONFIG_USB_UHCI_HCD is not set
946# CONFIG_USB_SL811_HCD is not set 972# CONFIG_USB_SL811_HCD is not set
973# CONFIG_USB_R8A66597_HCD is not set
947 974
948# 975#
949# USB Device Class drivers 976# USB Device Class drivers
950# 977#
951# CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
952# CONFIG_USB_ACM is not set 978# CONFIG_USB_ACM is not set
953CONFIG_USB_PRINTER=m 979CONFIG_USB_PRINTER=m
954 980
@@ -970,54 +996,14 @@ CONFIG_USB_STORAGE_SDDR09=y
970CONFIG_USB_STORAGE_SDDR55=y 996CONFIG_USB_STORAGE_SDDR55=y
971CONFIG_USB_STORAGE_JUMPSHOT=y 997CONFIG_USB_STORAGE_JUMPSHOT=y
972# CONFIG_USB_STORAGE_ALAUDA is not set 998# CONFIG_USB_STORAGE_ALAUDA is not set
999# CONFIG_USB_STORAGE_KARMA is not set
973# CONFIG_USB_LIBUSUAL is not set 1000# CONFIG_USB_LIBUSUAL is not set
974 1001
975# 1002#
976# USB Input Devices
977#
978CONFIG_USB_HID=y
979CONFIG_USB_HIDINPUT=y
980# CONFIG_USB_HIDINPUT_POWERBOOK is not set
981# CONFIG_HID_FF is not set
982CONFIG_USB_HIDDEV=y
983# CONFIG_USB_AIPTEK is not set
984# CONFIG_USB_WACOM is not set
985# CONFIG_USB_ACECAD is not set
986# CONFIG_USB_KBTAB is not set
987# CONFIG_USB_POWERMATE is not set
988# CONFIG_USB_MTOUCH is not set
989# CONFIG_USB_ITMTOUCH is not set
990# CONFIG_USB_EGALAX is not set
991# CONFIG_USB_YEALINK is not set
992# CONFIG_USB_XPAD is not set
993# CONFIG_USB_ATI_REMOTE is not set
994# CONFIG_USB_ATI_REMOTE2 is not set
995# CONFIG_USB_KEYSPAN_REMOTE is not set
996# CONFIG_USB_APPLETOUCH is not set
997
998#
999# USB Imaging devices 1003# USB Imaging devices
1000# 1004#
1001CONFIG_USB_MDC800=m 1005CONFIG_USB_MDC800=m
1002CONFIG_USB_MICROTEK=m 1006CONFIG_USB_MICROTEK=m
1003
1004#
1005# USB Multimedia devices
1006#
1007# CONFIG_USB_DABUSB is not set
1008
1009#
1010# Video4Linux support is needed for USB Multimedia device support
1011#
1012
1013#
1014# USB Network Adapters
1015#
1016# CONFIG_USB_CATC is not set
1017# CONFIG_USB_KAWETH is not set
1018# CONFIG_USB_PEGASUS is not set
1019# CONFIG_USB_RTL8150 is not set
1020# CONFIG_USB_USBNET is not set
1021# CONFIG_USB_MON is not set 1007# CONFIG_USB_MON is not set
1022 1008
1023# 1009#
@@ -1034,16 +1020,22 @@ CONFIG_USB_MICROTEK=m
1034# 1020#
1035# CONFIG_USB_EMI62 is not set 1021# CONFIG_USB_EMI62 is not set
1036# CONFIG_USB_EMI26 is not set 1022# CONFIG_USB_EMI26 is not set
1023# CONFIG_USB_ADUTUX is not set
1037# CONFIG_USB_AUERSWALD is not set 1024# CONFIG_USB_AUERSWALD is not set
1038# CONFIG_USB_RIO500 is not set 1025# CONFIG_USB_RIO500 is not set
1039CONFIG_USB_LEGOTOWER=m 1026CONFIG_USB_LEGOTOWER=m
1040# CONFIG_USB_LCD is not set 1027# CONFIG_USB_LCD is not set
1028# CONFIG_USB_BERRY_CHARGE is not set
1041# CONFIG_USB_LED is not set 1029# CONFIG_USB_LED is not set
1030# CONFIG_USB_CYPRESS_CY7C63 is not set
1042# CONFIG_USB_CYTHERM is not set 1031# CONFIG_USB_CYTHERM is not set
1043# CONFIG_USB_PHIDGETKIT is not set 1032# CONFIG_USB_PHIDGET is not set
1044# CONFIG_USB_PHIDGETSERVO is not set
1045# CONFIG_USB_IDMOUSE is not set 1033# CONFIG_USB_IDMOUSE is not set
1034# CONFIG_USB_FTDI_ELAN is not set
1035# CONFIG_USB_APPLEDISPLAY is not set
1046# CONFIG_USB_LD is not set 1036# CONFIG_USB_LD is not set
1037# CONFIG_USB_TRANCEVIBRATOR is not set
1038# CONFIG_USB_IOWARRIOR is not set
1047# CONFIG_USB_TEST is not set 1039# CONFIG_USB_TEST is not set
1048 1040
1049# 1041#
@@ -1054,22 +1046,30 @@ CONFIG_USB_LEGOTOWER=m
1054# USB Gadget Support 1046# USB Gadget Support
1055# 1047#
1056# CONFIG_USB_GADGET is not set 1048# CONFIG_USB_GADGET is not set
1049# CONFIG_MMC is not set
1050# CONFIG_NEW_LEDS is not set
1051# CONFIG_INFINIBAND is not set
1052# CONFIG_RTC_CLASS is not set
1057 1053
1058# 1054#
1059# MMC/SD Card support 1055# DMA Engine support
1060# 1056#
1061# CONFIG_MMC is not set 1057# CONFIG_DMA_ENGINE is not set
1062 1058
1063# 1059#
1064# InfiniBand support 1060# DMA Clients
1065# 1061#
1066# CONFIG_INFINIBAND is not set
1067 1062
1068# 1063#
1069# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) 1064# DMA Devices
1070# 1065#
1071 1066
1072# 1067#
1068# Userspace I/O
1069#
1070# CONFIG_UIO is not set
1071
1072#
1073# File systems 1073# File systems
1074# 1074#
1075CONFIG_EXT2_FS=y 1075CONFIG_EXT2_FS=y
@@ -1077,21 +1077,23 @@ CONFIG_EXT2_FS=y
1077# CONFIG_EXT2_FS_XIP is not set 1077# CONFIG_EXT2_FS_XIP is not set
1078CONFIG_EXT3_FS=y 1078CONFIG_EXT3_FS=y
1079# CONFIG_EXT3_FS_XATTR is not set 1079# CONFIG_EXT3_FS_XATTR is not set
1080# CONFIG_EXT4DEV_FS is not set
1080CONFIG_JBD=y 1081CONFIG_JBD=y
1081# CONFIG_JBD_DEBUG is not set 1082# CONFIG_JBD_DEBUG is not set
1082# CONFIG_REISERFS_FS is not set 1083# CONFIG_REISERFS_FS is not set
1083# CONFIG_JFS_FS is not set 1084# CONFIG_JFS_FS is not set
1084# CONFIG_FS_POSIX_ACL is not set 1085# CONFIG_FS_POSIX_ACL is not set
1085CONFIG_XFS_FS=m 1086CONFIG_XFS_FS=m
1086CONFIG_XFS_EXPORT=y
1087# CONFIG_XFS_QUOTA is not set 1087# CONFIG_XFS_QUOTA is not set
1088# CONFIG_XFS_SECURITY is not set 1088# CONFIG_XFS_SECURITY is not set
1089# CONFIG_XFS_POSIX_ACL is not set 1089# CONFIG_XFS_POSIX_ACL is not set
1090# CONFIG_XFS_RT is not set 1090# CONFIG_XFS_RT is not set
1091# CONFIG_GFS2_FS is not set
1091# CONFIG_OCFS2_FS is not set 1092# CONFIG_OCFS2_FS is not set
1092# CONFIG_MINIX_FS is not set 1093# CONFIG_MINIX_FS is not set
1093# CONFIG_ROMFS_FS is not set 1094# CONFIG_ROMFS_FS is not set
1094CONFIG_INOTIFY=y 1095CONFIG_INOTIFY=y
1096CONFIG_INOTIFY_USER=y
1095# CONFIG_QUOTA is not set 1097# CONFIG_QUOTA is not set
1096CONFIG_DNOTIFY=y 1098CONFIG_DNOTIFY=y
1097# CONFIG_AUTOFS_FS is not set 1099# CONFIG_AUTOFS_FS is not set
@@ -1121,11 +1123,12 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1121# 1123#
1122CONFIG_PROC_FS=y 1124CONFIG_PROC_FS=y
1123CONFIG_PROC_KCORE=y 1125CONFIG_PROC_KCORE=y
1126CONFIG_PROC_SYSCTL=y
1124CONFIG_SYSFS=y 1127CONFIG_SYSFS=y
1125CONFIG_TMPFS=y 1128CONFIG_TMPFS=y
1129# CONFIG_TMPFS_POSIX_ACL is not set
1126# CONFIG_HUGETLB_PAGE is not set 1130# CONFIG_HUGETLB_PAGE is not set
1127CONFIG_RAMFS=y 1131CONFIG_RAMFS=y
1128# CONFIG_RELAYFS_FS is not set
1129# CONFIG_CONFIGFS_FS is not set 1132# CONFIG_CONFIGFS_FS is not set
1130 1133
1131# 1134#
@@ -1164,6 +1167,7 @@ CONFIG_LOCKD_V4=y
1164CONFIG_EXPORTFS=y 1167CONFIG_EXPORTFS=y
1165CONFIG_NFS_COMMON=y 1168CONFIG_NFS_COMMON=y
1166CONFIG_SUNRPC=y 1169CONFIG_SUNRPC=y
1170# CONFIG_SUNRPC_BIND34 is not set
1167# CONFIG_RPCSEC_GSS_KRB5 is not set 1171# CONFIG_RPCSEC_GSS_KRB5 is not set
1168# CONFIG_RPCSEC_GSS_SPKM3 is not set 1172# CONFIG_RPCSEC_GSS_SPKM3 is not set
1169# CONFIG_SMB_FS is not set 1173# CONFIG_SMB_FS is not set
@@ -1171,7 +1175,6 @@ CONFIG_SUNRPC=y
1171# CONFIG_NCP_FS is not set 1175# CONFIG_NCP_FS is not set
1172# CONFIG_CODA_FS is not set 1176# CONFIG_CODA_FS is not set
1173# CONFIG_AFS_FS is not set 1177# CONFIG_AFS_FS is not set
1174# CONFIG_9P_FS is not set
1175 1178
1176# 1179#
1177# Partition Types 1180# Partition Types
@@ -1224,6 +1227,11 @@ CONFIG_NLS_ISO8859_15=m
1224CONFIG_NLS_UTF8=m 1227CONFIG_NLS_UTF8=m
1225 1228
1226# 1229#
1230# Distributed Lock Manager
1231#
1232# CONFIG_DLM is not set
1233
1234#
1227# Profiling support 1235# Profiling support
1228# 1236#
1229CONFIG_PROFILING=y 1237CONFIG_PROFILING=y
@@ -1233,21 +1241,32 @@ CONFIG_OPROFILE=m
1233# Kernel hacking 1241# Kernel hacking
1234# 1242#
1235# CONFIG_PRINTK_TIME is not set 1243# CONFIG_PRINTK_TIME is not set
1244CONFIG_ENABLE_MUST_CHECK=y
1236CONFIG_MAGIC_SYSRQ=y 1245CONFIG_MAGIC_SYSRQ=y
1246# CONFIG_UNUSED_SYMBOLS is not set
1247# CONFIG_DEBUG_FS is not set
1248CONFIG_HEADERS_CHECK=y
1237CONFIG_DEBUG_KERNEL=y 1249CONFIG_DEBUG_KERNEL=y
1238CONFIG_LOG_BUF_SHIFT=16 1250# CONFIG_DEBUG_SHIRQ is not set
1239CONFIG_DETECT_SOFTLOCKUP=y 1251CONFIG_DETECT_SOFTLOCKUP=y
1252CONFIG_SCHED_DEBUG=y
1240# CONFIG_SCHEDSTATS is not set 1253# CONFIG_SCHEDSTATS is not set
1254# CONFIG_TIMER_STATS is not set
1241# CONFIG_DEBUG_SLAB is not set 1255# CONFIG_DEBUG_SLAB is not set
1242CONFIG_DEBUG_MUTEXES=y 1256# CONFIG_DEBUG_RT_MUTEXES is not set
1257# CONFIG_RT_MUTEX_TESTER is not set
1243# CONFIG_DEBUG_SPINLOCK is not set 1258# CONFIG_DEBUG_SPINLOCK is not set
1259CONFIG_DEBUG_MUTEXES=y
1244# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1260# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1261# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1245# CONFIG_DEBUG_KOBJECT is not set 1262# CONFIG_DEBUG_KOBJECT is not set
1263# CONFIG_DEBUG_BUGVERBOSE is not set
1246# CONFIG_DEBUG_INFO is not set 1264# CONFIG_DEBUG_INFO is not set
1247# CONFIG_DEBUG_FS is not set
1248# CONFIG_DEBUG_VM is not set 1265# CONFIG_DEBUG_VM is not set
1266# CONFIG_DEBUG_LIST is not set
1249CONFIG_FORCED_INLINING=y 1267CONFIG_FORCED_INLINING=y
1250# CONFIG_RCU_TORTURE_TEST is not set 1268# CONFIG_RCU_TORTURE_TEST is not set
1269# CONFIG_FAULT_INJECTION is not set
1251CONFIG_DEBUG_RODATA=y 1270CONFIG_DEBUG_RODATA=y
1252 1271
1253# 1272#
@@ -1255,12 +1274,12 @@ CONFIG_DEBUG_RODATA=y
1255# 1274#
1256# CONFIG_KEYS is not set 1275# CONFIG_KEYS is not set
1257# CONFIG_SECURITY is not set 1276# CONFIG_SECURITY is not set
1258
1259#
1260# Cryptographic options
1261#
1262CONFIG_CRYPTO=y 1277CONFIG_CRYPTO=y
1278CONFIG_CRYPTO_ALGAPI=m
1279CONFIG_CRYPTO_BLKCIPHER=m
1280CONFIG_CRYPTO_MANAGER=m
1263# CONFIG_CRYPTO_HMAC is not set 1281# CONFIG_CRYPTO_HMAC is not set
1282# CONFIG_CRYPTO_XCBC is not set
1264CONFIG_CRYPTO_NULL=m 1283CONFIG_CRYPTO_NULL=m
1265# CONFIG_CRYPTO_MD4 is not set 1284# CONFIG_CRYPTO_MD4 is not set
1266CONFIG_CRYPTO_MD5=m 1285CONFIG_CRYPTO_MD5=m
@@ -1269,7 +1288,15 @@ CONFIG_CRYPTO_MD5=m
1269# CONFIG_CRYPTO_SHA512 is not set 1288# CONFIG_CRYPTO_SHA512 is not set
1270# CONFIG_CRYPTO_WP512 is not set 1289# CONFIG_CRYPTO_WP512 is not set
1271# CONFIG_CRYPTO_TGR192 is not set 1290# CONFIG_CRYPTO_TGR192 is not set
1291# CONFIG_CRYPTO_GF128MUL is not set
1292# CONFIG_CRYPTO_ECB is not set
1293CONFIG_CRYPTO_CBC=m
1294# CONFIG_CRYPTO_PCBC is not set
1295# CONFIG_CRYPTO_LRW is not set
1296# CONFIG_CRYPTO_XTS is not set
1297# CONFIG_CRYPTO_CRYPTD is not set
1272CONFIG_CRYPTO_DES=m 1298CONFIG_CRYPTO_DES=m
1299# CONFIG_CRYPTO_FCRYPT is not set
1273CONFIG_CRYPTO_BLOWFISH=m 1300CONFIG_CRYPTO_BLOWFISH=m
1274# CONFIG_CRYPTO_TWOFISH is not set 1301# CONFIG_CRYPTO_TWOFISH is not set
1275# CONFIG_CRYPTO_SERPENT is not set 1302# CONFIG_CRYPTO_SERPENT is not set
@@ -1280,21 +1307,28 @@ CONFIG_CRYPTO_BLOWFISH=m
1280# CONFIG_CRYPTO_ARC4 is not set 1307# CONFIG_CRYPTO_ARC4 is not set
1281# CONFIG_CRYPTO_KHAZAD is not set 1308# CONFIG_CRYPTO_KHAZAD is not set
1282# CONFIG_CRYPTO_ANUBIS is not set 1309# CONFIG_CRYPTO_ANUBIS is not set
1310# CONFIG_CRYPTO_SEED is not set
1283CONFIG_CRYPTO_DEFLATE=m 1311CONFIG_CRYPTO_DEFLATE=m
1284# CONFIG_CRYPTO_MICHAEL_MIC is not set 1312# CONFIG_CRYPTO_MICHAEL_MIC is not set
1285CONFIG_CRYPTO_CRC32C=m 1313CONFIG_CRYPTO_CRC32C=m
1314# CONFIG_CRYPTO_CAMELLIA is not set
1286CONFIG_CRYPTO_TEST=m 1315CONFIG_CRYPTO_TEST=m
1287 1316# CONFIG_CRYPTO_AUTHENC is not set
1288# 1317# CONFIG_CRYPTO_HW is not set
1289# Hardware crypto devices
1290#
1291 1318
1292# 1319#
1293# Library routines 1320# Library routines
1294# 1321#
1322CONFIG_BITREVERSE=y
1295CONFIG_CRC_CCITT=m 1323CONFIG_CRC_CCITT=m
1296# CONFIG_CRC16 is not set 1324# CONFIG_CRC16 is not set
1325# CONFIG_CRC_ITU_T is not set
1297CONFIG_CRC32=y 1326CONFIG_CRC32=y
1327# CONFIG_CRC7 is not set
1298CONFIG_LIBCRC32C=m 1328CONFIG_LIBCRC32C=m
1299CONFIG_ZLIB_INFLATE=m 1329CONFIG_ZLIB_INFLATE=m
1300CONFIG_ZLIB_DEFLATE=m 1330CONFIG_ZLIB_DEFLATE=m
1331CONFIG_PLIST=y
1332CONFIG_HAS_IOMEM=y
1333CONFIG_HAS_IOPORT=y
1334CONFIG_HAS_DMA=y
diff --git a/arch/parisc/defconfig b/arch/parisc/defconfig
index b38b58eb9dc2..448a757b06c6 100644
--- a/arch/parisc/defconfig
+++ b/arch/parisc/defconfig
@@ -1,39 +1,51 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.16-pa10 3# Linux kernel version: 2.6.23
4# Sun Apr 2 15:26:38 2006 4# Fri Oct 12 20:54:57 2007
5# 5#
6CONFIG_PARISC=y 6CONFIG_PARISC=y
7CONFIG_MMU=y 7CONFIG_MMU=y
8CONFIG_STACK_GROWSUP=y 8CONFIG_STACK_GROWSUP=y
9CONFIG_RWSEM_GENERIC_SPINLOCK=y 9CONFIG_RWSEM_GENERIC_SPINLOCK=y
10# CONFIG_ARCH_HAS_ILOG2_U32 is not set
11# CONFIG_ARCH_HAS_ILOG2_U64 is not set
12CONFIG_GENERIC_FIND_NEXT_BIT=y
13CONFIG_GENERIC_BUG=y
14CONFIG_GENERIC_HWEIGHT=y
10CONFIG_GENERIC_CALIBRATE_DELAY=y 15CONFIG_GENERIC_CALIBRATE_DELAY=y
16CONFIG_GENERIC_TIME=y
11CONFIG_GENERIC_HARDIRQS=y 17CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y 18CONFIG_GENERIC_IRQ_PROBE=y
19CONFIG_IRQ_PER_CPU=y
20CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
13 21
14# 22#
15# Code maturity level options 23# General setup
16# 24#
17CONFIG_EXPERIMENTAL=y 25CONFIG_EXPERIMENTAL=y
18CONFIG_BROKEN_ON_SMP=y 26CONFIG_BROKEN_ON_SMP=y
19CONFIG_INIT_ENV_ARG_LIMIT=32 27CONFIG_INIT_ENV_ARG_LIMIT=32
20
21#
22# General setup
23#
24CONFIG_LOCALVERSION="" 28CONFIG_LOCALVERSION=""
25# CONFIG_LOCALVERSION_AUTO is not set 29# CONFIG_LOCALVERSION_AUTO is not set
26CONFIG_SWAP=y 30CONFIG_SWAP=y
27CONFIG_SYSVIPC=y 31CONFIG_SYSVIPC=y
32CONFIG_SYSVIPC_SYSCTL=y
28CONFIG_POSIX_MQUEUE=y 33CONFIG_POSIX_MQUEUE=y
29# CONFIG_BSD_PROCESS_ACCT is not set 34# CONFIG_BSD_PROCESS_ACCT is not set
30CONFIG_SYSCTL=y 35# CONFIG_TASKSTATS is not set
36# CONFIG_USER_NS is not set
31# CONFIG_AUDIT is not set 37# CONFIG_AUDIT is not set
32CONFIG_IKCONFIG=y 38CONFIG_IKCONFIG=y
33CONFIG_IKCONFIG_PROC=y 39CONFIG_IKCONFIG_PROC=y
40CONFIG_LOG_BUF_SHIFT=16
41CONFIG_SYSFS_DEPRECATED=y
42# CONFIG_RELAY is not set
43CONFIG_BLK_DEV_INITRD=y
34CONFIG_INITRAMFS_SOURCE="" 44CONFIG_INITRAMFS_SOURCE=""
35CONFIG_CC_OPTIMIZE_FOR_SIZE=y 45CONFIG_CC_OPTIMIZE_FOR_SIZE=y
46CONFIG_SYSCTL=y
36# CONFIG_EMBEDDED is not set 47# CONFIG_EMBEDDED is not set
48CONFIG_SYSCTL_SYSCALL=y
37CONFIG_KALLSYMS=y 49CONFIG_KALLSYMS=y
38CONFIG_KALLSYMS_ALL=y 50CONFIG_KALLSYMS_ALL=y
39# CONFIG_KALLSYMS_EXTRA_PASS is not set 51# CONFIG_KALLSYMS_EXTRA_PASS is not set
@@ -43,31 +55,29 @@ CONFIG_BUG=y
43CONFIG_ELF_CORE=y 55CONFIG_ELF_CORE=y
44CONFIG_BASE_FULL=y 56CONFIG_BASE_FULL=y
45CONFIG_FUTEX=y 57CONFIG_FUTEX=y
58CONFIG_ANON_INODES=y
46CONFIG_EPOLL=y 59CONFIG_EPOLL=y
60CONFIG_SIGNALFD=y
61CONFIG_EVENTFD=y
47CONFIG_SHMEM=y 62CONFIG_SHMEM=y
48CONFIG_CC_ALIGN_FUNCTIONS=0 63CONFIG_VM_EVENT_COUNTERS=y
49CONFIG_CC_ALIGN_LABELS=0
50CONFIG_CC_ALIGN_LOOPS=0
51CONFIG_CC_ALIGN_JUMPS=0
52CONFIG_SLAB=y 64CONFIG_SLAB=y
65# CONFIG_SLUB is not set
66# CONFIG_SLOB is not set
67CONFIG_RT_MUTEXES=y
53# CONFIG_TINY_SHMEM is not set 68# CONFIG_TINY_SHMEM is not set
54CONFIG_BASE_SMALL=0 69CONFIG_BASE_SMALL=0
55# CONFIG_SLOB is not set
56
57#
58# Loadable module support
59#
60CONFIG_MODULES=y 70CONFIG_MODULES=y
61CONFIG_MODULE_UNLOAD=y 71CONFIG_MODULE_UNLOAD=y
62CONFIG_MODULE_FORCE_UNLOAD=y 72CONFIG_MODULE_FORCE_UNLOAD=y
63CONFIG_OBSOLETE_MODPARM=y
64# CONFIG_MODVERSIONS is not set 73# CONFIG_MODVERSIONS is not set
65# CONFIG_MODULE_SRCVERSION_ALL is not set 74# CONFIG_MODULE_SRCVERSION_ALL is not set
66CONFIG_KMOD=y 75CONFIG_KMOD=y
67 76CONFIG_BLOCK=y
68# 77# CONFIG_LBD is not set
69# Block layer 78# CONFIG_BLK_DEV_IO_TRACE is not set
70# 79# CONFIG_LSF is not set
80# CONFIG_BLK_DEV_BSG is not set
71 81
72# 82#
73# IO Schedulers 83# IO Schedulers
@@ -101,6 +111,7 @@ CONFIG_PREEMPT_VOLUNTARY=y
101# CONFIG_PREEMPT is not set 111# CONFIG_PREEMPT is not set
102# CONFIG_HZ_100 is not set 112# CONFIG_HZ_100 is not set
103CONFIG_HZ_250=y 113CONFIG_HZ_250=y
114# CONFIG_HZ_300 is not set
104# CONFIG_HZ_1000 is not set 115# CONFIG_HZ_1000 is not set
105CONFIG_HZ=250 116CONFIG_HZ=250
106CONFIG_SELECT_MEMORY_MODEL=y 117CONFIG_SELECT_MEMORY_MODEL=y
@@ -111,6 +122,9 @@ CONFIG_FLATMEM=y
111CONFIG_FLAT_NODE_MEM_MAP=y 122CONFIG_FLAT_NODE_MEM_MAP=y
112# CONFIG_SPARSEMEM_STATIC is not set 123# CONFIG_SPARSEMEM_STATIC is not set
113CONFIG_SPLIT_PTLOCK_CPUS=4096 124CONFIG_SPLIT_PTLOCK_CPUS=4096
125# CONFIG_RESOURCES_64BIT is not set
126CONFIG_ZONE_DMA_FLAG=0
127CONFIG_VIRT_TO_BUS=y
114# CONFIG_HPUX is not set 128# CONFIG_HPUX is not set
115 129
116# 130#
@@ -125,7 +139,7 @@ CONFIG_EISA=y
125CONFIG_EISA_NAMES=y 139CONFIG_EISA_NAMES=y
126# CONFIG_ISA is not set 140# CONFIG_ISA is not set
127CONFIG_PCI=y 141CONFIG_PCI=y
128CONFIG_PCI_LEGACY_PROC=y 142# CONFIG_ARCH_SUPPORTS_MSI is not set
129# CONFIG_PCI_DEBUG is not set 143# CONFIG_PCI_DEBUG is not set
130CONFIG_GSC_DINO=y 144CONFIG_GSC_DINO=y
131CONFIG_PCI_LBA=y 145CONFIG_PCI_LBA=y
@@ -154,10 +168,6 @@ CONFIG_YENTA_TOSHIBA=y
154CONFIG_PD6729=y 168CONFIG_PD6729=y
155CONFIG_I82092=y 169CONFIG_I82092=y
156CONFIG_PCCARD_NONSTATIC=y 170CONFIG_PCCARD_NONSTATIC=y
157
158#
159# PCI Hotplug Support
160#
161# CONFIG_HOTPLUG_PCI is not set 171# CONFIG_HOTPLUG_PCI is not set
162 172
163# 173#
@@ -166,6 +176,7 @@ CONFIG_PCCARD_NONSTATIC=y
166CONFIG_SUPERIO=y 176CONFIG_SUPERIO=y
167CONFIG_CHASSIS_LCD_LED=y 177CONFIG_CHASSIS_LCD_LED=y
168CONFIG_PDC_CHASSIS=y 178CONFIG_PDC_CHASSIS=y
179CONFIG_PDC_CHASSIS_WARN=y
169CONFIG_PDC_STABLE=y 180CONFIG_PDC_STABLE=y
170 181
171# 182#
@@ -182,13 +193,15 @@ CONFIG_NET=y
182# 193#
183# Networking options 194# Networking options
184# 195#
185# CONFIG_NETDEBUG is not set
186CONFIG_PACKET=y 196CONFIG_PACKET=y
187CONFIG_PACKET_MMAP=y 197CONFIG_PACKET_MMAP=y
188CONFIG_UNIX=y 198CONFIG_UNIX=y
189CONFIG_XFRM=y 199CONFIG_XFRM=y
190CONFIG_XFRM_USER=m 200CONFIG_XFRM_USER=m
201# CONFIG_XFRM_SUB_POLICY is not set
202# CONFIG_XFRM_MIGRATE is not set
191CONFIG_NET_KEY=m 203CONFIG_NET_KEY=m
204# CONFIG_NET_KEY_MIGRATE is not set
192CONFIG_INET=y 205CONFIG_INET=y
193CONFIG_IP_MULTICAST=y 206CONFIG_IP_MULTICAST=y
194# CONFIG_IP_ADVANCED_ROUTER is not set 207# CONFIG_IP_ADVANCED_ROUTER is not set
@@ -205,33 +218,39 @@ CONFIG_IP_PNP_BOOTP=y
205CONFIG_INET_AH=m 218CONFIG_INET_AH=m
206CONFIG_INET_ESP=m 219CONFIG_INET_ESP=m
207# CONFIG_INET_IPCOMP is not set 220# CONFIG_INET_IPCOMP is not set
208CONFIG_INET_TUNNEL=m 221# CONFIG_INET_XFRM_TUNNEL is not set
222CONFIG_INET_TUNNEL=y
223CONFIG_INET_XFRM_MODE_TRANSPORT=y
224CONFIG_INET_XFRM_MODE_TUNNEL=y
225CONFIG_INET_XFRM_MODE_BEET=y
226# CONFIG_INET_LRO is not set
209CONFIG_INET_DIAG=m 227CONFIG_INET_DIAG=m
210CONFIG_INET_TCP_DIAG=m 228CONFIG_INET_TCP_DIAG=m
211# CONFIG_TCP_CONG_ADVANCED is not set 229# CONFIG_TCP_CONG_ADVANCED is not set
212CONFIG_TCP_CONG_BIC=y 230CONFIG_TCP_CONG_CUBIC=y
231CONFIG_DEFAULT_TCP_CONG="cubic"
232# CONFIG_TCP_MD5SIG is not set
213CONFIG_IPV6=y 233CONFIG_IPV6=y
214# CONFIG_IPV6_PRIVACY is not set 234# CONFIG_IPV6_PRIVACY is not set
235# CONFIG_IPV6_ROUTER_PREF is not set
236# CONFIG_IPV6_OPTIMISTIC_DAD is not set
215CONFIG_INET6_AH=y 237CONFIG_INET6_AH=y
216CONFIG_INET6_ESP=y 238CONFIG_INET6_ESP=y
217CONFIG_INET6_IPCOMP=y 239CONFIG_INET6_IPCOMP=y
240# CONFIG_IPV6_MIP6 is not set
241CONFIG_INET6_XFRM_TUNNEL=y
218CONFIG_INET6_TUNNEL=y 242CONFIG_INET6_TUNNEL=y
243CONFIG_INET6_XFRM_MODE_TRANSPORT=y
244CONFIG_INET6_XFRM_MODE_TUNNEL=y
245CONFIG_INET6_XFRM_MODE_BEET=y
246# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
247CONFIG_IPV6_SIT=y
219# CONFIG_IPV6_TUNNEL is not set 248# CONFIG_IPV6_TUNNEL is not set
249# CONFIG_IPV6_MULTIPLE_TABLES is not set
250# CONFIG_NETWORK_SECMARK is not set
220# CONFIG_NETFILTER is not set 251# CONFIG_NETFILTER is not set
221
222#
223# DCCP Configuration (EXPERIMENTAL)
224#
225# CONFIG_IP_DCCP is not set 252# CONFIG_IP_DCCP is not set
226
227#
228# SCTP Configuration (EXPERIMENTAL)
229#
230# CONFIG_IP_SCTP is not set 253# CONFIG_IP_SCTP is not set
231
232#
233# TIPC Configuration (EXPERIMENTAL)
234#
235# CONFIG_TIPC is not set 254# CONFIG_TIPC is not set
236# CONFIG_ATM is not set 255# CONFIG_ATM is not set
237# CONFIG_BRIDGE is not set 256# CONFIG_BRIDGE is not set
@@ -243,7 +262,6 @@ CONFIG_LLC2=m
243# CONFIG_ATALK is not set 262# CONFIG_ATALK is not set
244# CONFIG_X25 is not set 263# CONFIG_X25 is not set
245# CONFIG_LAPB is not set 264# CONFIG_LAPB is not set
246# CONFIG_NET_DIVERT is not set
247# CONFIG_ECONET is not set 265# CONFIG_ECONET is not set
248# CONFIG_WAN_ROUTER is not set 266# CONFIG_WAN_ROUTER is not set
249 267
@@ -259,7 +277,17 @@ CONFIG_LLC2=m
259# CONFIG_HAMRADIO is not set 277# CONFIG_HAMRADIO is not set
260# CONFIG_IRDA is not set 278# CONFIG_IRDA is not set
261# CONFIG_BT is not set 279# CONFIG_BT is not set
280# CONFIG_AF_RXRPC is not set
281
282#
283# Wireless
284#
285# CONFIG_CFG80211 is not set
286# CONFIG_WIRELESS_EXT is not set
287# CONFIG_MAC80211 is not set
262# CONFIG_IEEE80211 is not set 288# CONFIG_IEEE80211 is not set
289# CONFIG_RFKILL is not set
290# CONFIG_NET_9P is not set
263 291
264# 292#
265# Device Drivers 293# Device Drivers
@@ -268,41 +296,26 @@ CONFIG_LLC2=m
268# 296#
269# Generic Driver Options 297# Generic Driver Options
270# 298#
299CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
271# CONFIG_STANDALONE is not set 300# CONFIG_STANDALONE is not set
272# CONFIG_PREVENT_FIRMWARE_BUILD is not set 301# CONFIG_PREVENT_FIRMWARE_BUILD is not set
273CONFIG_FW_LOADER=y 302CONFIG_FW_LOADER=y
274# CONFIG_DEBUG_DRIVER is not set 303# CONFIG_DEBUG_DRIVER is not set
275 304# CONFIG_DEBUG_DEVRES is not set
276# 305# CONFIG_SYS_HYPERVISOR is not set
277# Connector - unified userspace <-> kernelspace linker
278#
279# CONFIG_CONNECTOR is not set 306# CONFIG_CONNECTOR is not set
280
281#
282# Memory Technology Devices (MTD)
283#
284# CONFIG_MTD is not set 307# CONFIG_MTD is not set
285
286#
287# Parallel port support
288#
289CONFIG_PARPORT=y 308CONFIG_PARPORT=y
290CONFIG_PARPORT_PC=m 309CONFIG_PARPORT_PC=m
291# CONFIG_PARPORT_SERIAL is not set 310# CONFIG_PARPORT_SERIAL is not set
292# CONFIG_PARPORT_PC_FIFO is not set 311# CONFIG_PARPORT_PC_FIFO is not set
293# CONFIG_PARPORT_PC_SUPERIO is not set 312# CONFIG_PARPORT_PC_SUPERIO is not set
294CONFIG_PARPORT_PC_PCMCIA=m 313CONFIG_PARPORT_PC_PCMCIA=m
295CONFIG_PARPORT_NOT_PC=y
296CONFIG_PARPORT_GSC=y 314CONFIG_PARPORT_GSC=y
315# CONFIG_PARPORT_AX88796 is not set
297CONFIG_PARPORT_1284=y 316CONFIG_PARPORT_1284=y
298 317CONFIG_PARPORT_NOT_PC=y
299# 318CONFIG_BLK_DEV=y
300# Plug and Play support
301#
302
303#
304# Block devices
305#
306# CONFIG_PARIDE is not set 319# CONFIG_PARIDE is not set
307# CONFIG_BLK_CPQ_DA is not set 320# CONFIG_BLK_CPQ_DA is not set
308# CONFIG_BLK_CPQ_CISS_DA is not set 321# CONFIG_BLK_CPQ_CISS_DA is not set
@@ -317,13 +330,14 @@ CONFIG_BLK_DEV_CRYPTOLOOP=y
317CONFIG_BLK_DEV_RAM=y 330CONFIG_BLK_DEV_RAM=y
318CONFIG_BLK_DEV_RAM_COUNT=16 331CONFIG_BLK_DEV_RAM_COUNT=16
319CONFIG_BLK_DEV_RAM_SIZE=6144 332CONFIG_BLK_DEV_RAM_SIZE=6144
320CONFIG_BLK_DEV_INITRD=y 333CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
321# CONFIG_CDROM_PKTCDVD is not set 334# CONFIG_CDROM_PKTCDVD is not set
322# CONFIG_ATA_OVER_ETH is not set 335# CONFIG_ATA_OVER_ETH is not set
323 336CONFIG_MISC_DEVICES=y
324# 337# CONFIG_PHANTOM is not set
325# ATA/ATAPI/MFM/RLL support 338# CONFIG_EEPROM_93CX6 is not set
326# 339# CONFIG_SGI_IOC4 is not set
340# CONFIG_TIFM_CORE is not set
327CONFIG_IDE=y 341CONFIG_IDE=y
328CONFIG_BLK_DEV_IDE=y 342CONFIG_BLK_DEV_IDE=y
329 343
@@ -334,24 +348,32 @@ CONFIG_BLK_DEV_IDE=y
334CONFIG_BLK_DEV_IDEDISK=y 348CONFIG_BLK_DEV_IDEDISK=y
335CONFIG_IDEDISK_MULTI_MODE=y 349CONFIG_IDEDISK_MULTI_MODE=y
336CONFIG_BLK_DEV_IDECS=y 350CONFIG_BLK_DEV_IDECS=y
351# CONFIG_BLK_DEV_DELKIN is not set
337CONFIG_BLK_DEV_IDECD=y 352CONFIG_BLK_DEV_IDECD=y
338# CONFIG_BLK_DEV_IDETAPE is not set 353# CONFIG_BLK_DEV_IDETAPE is not set
339# CONFIG_BLK_DEV_IDEFLOPPY is not set 354# CONFIG_BLK_DEV_IDEFLOPPY is not set
340CONFIG_BLK_DEV_IDESCSI=y 355CONFIG_BLK_DEV_IDESCSI=y
341# CONFIG_IDE_TASK_IOCTL is not set 356# CONFIG_IDE_TASK_IOCTL is not set
357CONFIG_IDE_PROC_FS=y
342 358
343# 359#
344# IDE chipset support/bugfixes 360# IDE chipset support/bugfixes
345# 361#
346CONFIG_IDE_GENERIC=y 362CONFIG_IDE_GENERIC=y
363# CONFIG_BLK_DEV_PLATFORM is not set
364
365#
366# PCI IDE chipsets support
367#
347CONFIG_BLK_DEV_IDEPCI=y 368CONFIG_BLK_DEV_IDEPCI=y
348CONFIG_IDEPCI_SHARE_IRQ=y 369CONFIG_IDEPCI_SHARE_IRQ=y
370CONFIG_IDEPCI_PCIBUS_ORDER=y
349# CONFIG_BLK_DEV_OFFBOARD is not set 371# CONFIG_BLK_DEV_OFFBOARD is not set
350CONFIG_BLK_DEV_GENERIC=y 372CONFIG_BLK_DEV_GENERIC=y
351# CONFIG_BLK_DEV_OPTI621 is not set 373# CONFIG_BLK_DEV_OPTI621 is not set
352CONFIG_BLK_DEV_IDEDMA_PCI=y 374CONFIG_BLK_DEV_IDEDMA_PCI=y
353# CONFIG_BLK_DEV_IDEDMA_FORCED is not set 375# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
354# CONFIG_IDEDMA_PCI_AUTO is not set 376CONFIG_IDEDMA_ONLYDISK=y
355# CONFIG_BLK_DEV_AEC62XX is not set 377# CONFIG_BLK_DEV_AEC62XX is not set
356# CONFIG_BLK_DEV_ALI15X3 is not set 378# CONFIG_BLK_DEV_ALI15X3 is not set
357# CONFIG_BLK_DEV_AMD74XX is not set 379# CONFIG_BLK_DEV_AMD74XX is not set
@@ -362,8 +384,10 @@ CONFIG_BLK_DEV_IDEDMA_PCI=y
362# CONFIG_BLK_DEV_CS5530 is not set 384# CONFIG_BLK_DEV_CS5530 is not set
363# CONFIG_BLK_DEV_HPT34X is not set 385# CONFIG_BLK_DEV_HPT34X is not set
364# CONFIG_BLK_DEV_HPT366 is not set 386# CONFIG_BLK_DEV_HPT366 is not set
387# CONFIG_BLK_DEV_JMICRON is not set
365# CONFIG_BLK_DEV_SC1200 is not set 388# CONFIG_BLK_DEV_SC1200 is not set
366# CONFIG_BLK_DEV_PIIX is not set 389# CONFIG_BLK_DEV_PIIX is not set
390# CONFIG_BLK_DEV_IT8213 is not set
367# CONFIG_BLK_DEV_IT821X is not set 391# CONFIG_BLK_DEV_IT821X is not set
368CONFIG_BLK_DEV_NS87415=y 392CONFIG_BLK_DEV_NS87415=y
369# CONFIG_BLK_DEV_PDC202XX_OLD is not set 393# CONFIG_BLK_DEV_PDC202XX_OLD is not set
@@ -373,10 +397,10 @@ CONFIG_BLK_DEV_NS87415=y
373# CONFIG_BLK_DEV_SLC90E66 is not set 397# CONFIG_BLK_DEV_SLC90E66 is not set
374# CONFIG_BLK_DEV_TRM290 is not set 398# CONFIG_BLK_DEV_TRM290 is not set
375# CONFIG_BLK_DEV_VIA82CXXX is not set 399# CONFIG_BLK_DEV_VIA82CXXX is not set
400# CONFIG_BLK_DEV_TC86C001 is not set
376# CONFIG_IDE_ARM is not set 401# CONFIG_IDE_ARM is not set
377CONFIG_BLK_DEV_IDEDMA=y 402CONFIG_BLK_DEV_IDEDMA=y
378# CONFIG_IDEDMA_IVB is not set 403# CONFIG_IDEDMA_IVB is not set
379# CONFIG_IDEDMA_AUTO is not set
380# CONFIG_BLK_DEV_HD is not set 404# CONFIG_BLK_DEV_HD is not set
381 405
382# 406#
@@ -384,6 +408,9 @@ CONFIG_BLK_DEV_IDEDMA=y
384# 408#
385# CONFIG_RAID_ATTRS is not set 409# CONFIG_RAID_ATTRS is not set
386CONFIG_SCSI=y 410CONFIG_SCSI=y
411CONFIG_SCSI_DMA=y
412# CONFIG_SCSI_TGT is not set
413# CONFIG_SCSI_NETLINK is not set
387CONFIG_SCSI_PROC_FS=y 414CONFIG_SCSI_PROC_FS=y
388 415
389# 416#
@@ -403,18 +430,17 @@ CONFIG_CHR_DEV_SG=y
403# CONFIG_SCSI_MULTI_LUN is not set 430# CONFIG_SCSI_MULTI_LUN is not set
404# CONFIG_SCSI_CONSTANTS is not set 431# CONFIG_SCSI_CONSTANTS is not set
405# CONFIG_SCSI_LOGGING is not set 432# CONFIG_SCSI_LOGGING is not set
433# CONFIG_SCSI_SCAN_ASYNC is not set
434CONFIG_SCSI_WAIT_SCAN=m
406 435
407# 436#
408# SCSI Transport Attributes 437# SCSI Transports
409# 438#
410CONFIG_SCSI_SPI_ATTRS=y 439CONFIG_SCSI_SPI_ATTRS=y
411# CONFIG_SCSI_FC_ATTRS is not set 440# CONFIG_SCSI_FC_ATTRS is not set
412# CONFIG_SCSI_ISCSI_ATTRS is not set 441# CONFIG_SCSI_ISCSI_ATTRS is not set
413# CONFIG_SCSI_SAS_ATTRS is not set 442# CONFIG_SCSI_SAS_LIBSAS is not set
414 443CONFIG_SCSI_LOWLEVEL=y
415#
416# SCSI low-level drivers
417#
418# CONFIG_ISCSI_TCP is not set 444# CONFIG_ISCSI_TCP is not set
419# CONFIG_BLK_DEV_3W_XXXX_RAID is not set 445# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
420# CONFIG_SCSI_3W_9XXX is not set 446# CONFIG_SCSI_3W_9XXX is not set
@@ -424,11 +450,13 @@ CONFIG_SCSI_SPI_ATTRS=y
424# CONFIG_SCSI_AIC7XXX is not set 450# CONFIG_SCSI_AIC7XXX is not set
425# CONFIG_SCSI_AIC7XXX_OLD is not set 451# CONFIG_SCSI_AIC7XXX_OLD is not set
426# CONFIG_SCSI_AIC79XX is not set 452# CONFIG_SCSI_AIC79XX is not set
453# CONFIG_SCSI_AIC94XX is not set
427# CONFIG_SCSI_DPT_I2O is not set 454# CONFIG_SCSI_DPT_I2O is not set
455# CONFIG_SCSI_ARCMSR is not set
428# CONFIG_MEGARAID_NEWGEN is not set 456# CONFIG_MEGARAID_NEWGEN is not set
429# CONFIG_MEGARAID_LEGACY is not set 457# CONFIG_MEGARAID_LEGACY is not set
430# CONFIG_MEGARAID_SAS is not set 458# CONFIG_MEGARAID_SAS is not set
431# CONFIG_SCSI_SATA is not set 459# CONFIG_SCSI_HPTIOP is not set
432# CONFIG_SCSI_DMX3191D is not set 460# CONFIG_SCSI_DMX3191D is not set
433# CONFIG_SCSI_FUTURE_DOMAIN is not set 461# CONFIG_SCSI_FUTURE_DOMAIN is not set
434# CONFIG_SCSI_IPS is not set 462# CONFIG_SCSI_IPS is not set
@@ -438,55 +466,45 @@ CONFIG_SCSI_SPI_ATTRS=y
438# CONFIG_SCSI_IMM is not set 466# CONFIG_SCSI_IMM is not set
439CONFIG_SCSI_LASI700=y 467CONFIG_SCSI_LASI700=y
440CONFIG_53C700_LE_ON_BE=y 468CONFIG_53C700_LE_ON_BE=y
469# CONFIG_SCSI_STEX is not set
441CONFIG_SCSI_SYM53C8XX_2=y 470CONFIG_SCSI_SYM53C8XX_2=y
442CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1 471CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
443CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 472CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
444CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 473CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
445CONFIG_SCSI_SYM53C8XX_MMIO=y 474CONFIG_SCSI_SYM53C8XX_MMIO=y
446# CONFIG_SCSI_IPR is not set
447CONFIG_SCSI_ZALON=y 475CONFIG_SCSI_ZALON=y
448CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8 476CONFIG_SCSI_NCR53C8XX_DEFAULT_TAGS=8
449CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32 477CONFIG_SCSI_NCR53C8XX_MAX_TAGS=32
450CONFIG_SCSI_NCR53C8XX_SYNC=20 478CONFIG_SCSI_NCR53C8XX_SYNC=20
451# CONFIG_SCSI_NCR53C8XX_PROFILE is not set
452# CONFIG_SCSI_QLOGIC_FC is not set
453# CONFIG_SCSI_QLOGIC_1280 is not set 479# CONFIG_SCSI_QLOGIC_1280 is not set
454# CONFIG_SCSI_QLA_FC is not set 480# CONFIG_SCSI_QLA_FC is not set
481# CONFIG_SCSI_QLA_ISCSI is not set
455# CONFIG_SCSI_LPFC is not set 482# CONFIG_SCSI_LPFC is not set
456# CONFIG_SCSI_SIM710 is not set 483# CONFIG_SCSI_SIM710 is not set
457# CONFIG_SCSI_DC395x is not set 484# CONFIG_SCSI_DC395x is not set
458# CONFIG_SCSI_DC390T is not set 485# CONFIG_SCSI_DC390T is not set
459# CONFIG_SCSI_NSP32 is not set 486# CONFIG_SCSI_NSP32 is not set
460# CONFIG_SCSI_DEBUG is not set 487# CONFIG_SCSI_DEBUG is not set
461 488# CONFIG_SCSI_SRP is not set
462# 489# CONFIG_SCSI_LOWLEVEL_PCMCIA is not set
463# PCMCIA SCSI adapter support 490# CONFIG_ATA is not set
464#
465# CONFIG_PCMCIA_AHA152X is not set
466# CONFIG_PCMCIA_FDOMAIN is not set
467# CONFIG_PCMCIA_NINJA_SCSI is not set
468# CONFIG_PCMCIA_QLOGIC is not set
469# CONFIG_PCMCIA_SYM53C500 is not set
470
471#
472# Multi-device support (RAID and LVM)
473#
474CONFIG_MD=y 491CONFIG_MD=y
475CONFIG_BLK_DEV_MD=y 492CONFIG_BLK_DEV_MD=y
476CONFIG_MD_LINEAR=y 493CONFIG_MD_LINEAR=y
477CONFIG_MD_RAID0=y 494CONFIG_MD_RAID0=y
478CONFIG_MD_RAID1=y 495CONFIG_MD_RAID1=y
479CONFIG_MD_RAID10=y 496CONFIG_MD_RAID10=y
480CONFIG_MD_RAID5=y 497# CONFIG_MD_RAID456 is not set
481CONFIG_MD_RAID6=y
482# CONFIG_MD_MULTIPATH is not set 498# CONFIG_MD_MULTIPATH is not set
483# CONFIG_MD_FAULTY is not set 499# CONFIG_MD_FAULTY is not set
484CONFIG_BLK_DEV_DM=y 500CONFIG_BLK_DEV_DM=y
501# CONFIG_DM_DEBUG is not set
485# CONFIG_DM_CRYPT is not set 502# CONFIG_DM_CRYPT is not set
486# CONFIG_DM_SNAPSHOT is not set 503# CONFIG_DM_SNAPSHOT is not set
487# CONFIG_DM_MIRROR is not set 504# CONFIG_DM_MIRROR is not set
488# CONFIG_DM_ZERO is not set 505# CONFIG_DM_ZERO is not set
489# CONFIG_DM_MULTIPATH is not set 506# CONFIG_DM_MULTIPATH is not set
507# CONFIG_DM_DELAY is not set
490 508
491# 509#
492# Fusion MPT device support 510# Fusion MPT device support
@@ -499,35 +517,20 @@ CONFIG_BLK_DEV_DM=y
499# 517#
500# IEEE 1394 (FireWire) support 518# IEEE 1394 (FireWire) support
501# 519#
520# CONFIG_FIREWIRE is not set
502# CONFIG_IEEE1394 is not set 521# CONFIG_IEEE1394 is not set
503
504#
505# I2O device support
506#
507# CONFIG_I2O is not set 522# CONFIG_I2O is not set
508
509#
510# Network device support
511#
512CONFIG_NETDEVICES=y 523CONFIG_NETDEVICES=y
524# CONFIG_NETDEVICES_MULTIQUEUE is not set
513CONFIG_DUMMY=m 525CONFIG_DUMMY=m
514CONFIG_BONDING=m 526CONFIG_BONDING=m
527# CONFIG_MACVLAN is not set
515# CONFIG_EQUALIZER is not set 528# CONFIG_EQUALIZER is not set
516CONFIG_TUN=m 529CONFIG_TUN=m
517 530# CONFIG_VETH is not set
518# 531# CONFIG_IP1000 is not set
519# ARCnet devices
520#
521# CONFIG_ARCNET is not set 532# CONFIG_ARCNET is not set
522
523#
524# PHY device support
525#
526# CONFIG_PHYLIB is not set 533# CONFIG_PHYLIB is not set
527
528#
529# Ethernet (10 or 100Mbit)
530#
531CONFIG_NET_ETHERNET=y 534CONFIG_NET_ETHERNET=y
532CONFIG_MII=m 535CONFIG_MII=m
533CONFIG_LASI_82596=y 536CONFIG_LASI_82596=y
@@ -536,10 +539,6 @@ CONFIG_LASI_82596=y
536# CONFIG_CASSINI is not set 539# CONFIG_CASSINI is not set
537# CONFIG_NET_VENDOR_3COM is not set 540# CONFIG_NET_VENDOR_3COM is not set
538# CONFIG_NET_VENDOR_SMC is not set 541# CONFIG_NET_VENDOR_SMC is not set
539
540#
541# Tulip family network device support
542#
543CONFIG_NET_TULIP=y 542CONFIG_NET_TULIP=y
544# CONFIG_DE2104X is not set 543# CONFIG_DE2104X is not set
545CONFIG_TULIP=y 544CONFIG_TULIP=y
@@ -554,6 +553,10 @@ CONFIG_TULIP=y
554# CONFIG_PCMCIA_XIRTULIP is not set 553# CONFIG_PCMCIA_XIRTULIP is not set
555# CONFIG_DEPCA is not set 554# CONFIG_DEPCA is not set
556# CONFIG_HP100 is not set 555# CONFIG_HP100 is not set
556# CONFIG_IBM_NEW_EMAC_ZMII is not set
557# CONFIG_IBM_NEW_EMAC_RGMII is not set
558# CONFIG_IBM_NEW_EMAC_TAH is not set
559# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
557CONFIG_NET_PCI=y 560CONFIG_NET_PCI=y
558# CONFIG_PCNET32 is not set 561# CONFIG_PCNET32 is not set
559# CONFIG_AMD8111_ETH is not set 562# CONFIG_AMD8111_ETH is not set
@@ -561,7 +564,6 @@ CONFIG_NET_PCI=y
561# CONFIG_AC3200 is not set 564# CONFIG_AC3200 is not set
562# CONFIG_B44 is not set 565# CONFIG_B44 is not set
563# CONFIG_FORCEDETH is not set 566# CONFIG_FORCEDETH is not set
564# CONFIG_DGRS is not set
565# CONFIG_EEPRO100 is not set 567# CONFIG_EEPRO100 is not set
566# CONFIG_E100 is not set 568# CONFIG_E100 is not set
567# CONFIG_LNE390 is not set 569# CONFIG_LNE390 is not set
@@ -577,15 +579,14 @@ CONFIG_NET_PCI=y
577# CONFIG_SUNDANCE is not set 579# CONFIG_SUNDANCE is not set
578# CONFIG_TLAN is not set 580# CONFIG_TLAN is not set
579# CONFIG_VIA_RHINE is not set 581# CONFIG_VIA_RHINE is not set
582# CONFIG_SC92031 is not set
580# CONFIG_NET_POCKET is not set 583# CONFIG_NET_POCKET is not set
581 584CONFIG_NETDEV_1000=y
582#
583# Ethernet (1000 Mbit)
584#
585CONFIG_ACENIC=y 585CONFIG_ACENIC=y
586# CONFIG_ACENIC_OMIT_TIGON_I is not set 586# CONFIG_ACENIC_OMIT_TIGON_I is not set
587# CONFIG_DL2K is not set 587# CONFIG_DL2K is not set
588# CONFIG_E1000 is not set 588# CONFIG_E1000 is not set
589# CONFIG_E1000E is not set
589# CONFIG_NS83820 is not set 590# CONFIG_NS83820 is not set
590# CONFIG_HAMACHI is not set 591# CONFIG_HAMACHI is not set
591# CONFIG_YELLOWFIN is not set 592# CONFIG_YELLOWFIN is not set
@@ -597,64 +598,36 @@ CONFIG_ACENIC=y
597# CONFIG_VIA_VELOCITY is not set 598# CONFIG_VIA_VELOCITY is not set
598CONFIG_TIGON3=y 599CONFIG_TIGON3=y
599# CONFIG_BNX2 is not set 600# CONFIG_BNX2 is not set
600 601# CONFIG_QLA3XXX is not set
601# 602# CONFIG_ATL1 is not set
602# Ethernet (10000 Mbit) 603CONFIG_NETDEV_10000=y
603#
604# CONFIG_CHELSIO_T1 is not set 604# CONFIG_CHELSIO_T1 is not set
605# CONFIG_CHELSIO_T3 is not set
606# CONFIG_IXGBE is not set
605# CONFIG_IXGB is not set 607# CONFIG_IXGB is not set
606# CONFIG_S2IO is not set 608# CONFIG_S2IO is not set
607 609# CONFIG_MYRI10GE is not set
608# 610# CONFIG_NETXEN_NIC is not set
609# Token Ring devices 611# CONFIG_NIU is not set
610# 612# CONFIG_MLX4_CORE is not set
613# CONFIG_TEHUTI is not set
611# CONFIG_TR is not set 614# CONFIG_TR is not set
612 615
613# 616#
614# Wireless LAN (non-hamradio) 617# Wireless LAN
615#
616CONFIG_NET_RADIO=y
617
618#
619# Obsolete Wireless cards support (pre-802.11)
620#
621# CONFIG_STRIP is not set
622# CONFIG_PCMCIA_WAVELAN is not set
623# CONFIG_PCMCIA_NETWAVE is not set
624
625#
626# Wireless 802.11 Frequency Hopping cards support
627#
628# CONFIG_PCMCIA_RAYCS is not set
629
630#
631# Wireless 802.11b ISA/PCI cards support
632#
633CONFIG_HERMES=y
634# CONFIG_PLX_HERMES is not set
635# CONFIG_TMD_HERMES is not set
636# CONFIG_NORTEL_HERMES is not set
637# CONFIG_PCI_HERMES is not set
638# CONFIG_ATMEL is not set
639
640#
641# Wireless 802.11b Pcmcia/Cardbus cards support
642# 618#
643CONFIG_PCMCIA_HERMES=y 619# CONFIG_WLAN_PRE80211 is not set
644CONFIG_PCMCIA_SPECTRUM=y 620# CONFIG_WLAN_80211 is not set
645# CONFIG_AIRO_CS is not set
646# CONFIG_PCMCIA_WL3501 is not set
647 621
648# 622#
649# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support 623# USB Network Adapters
650#
651# CONFIG_PRISM54 is not set
652# CONFIG_HOSTAP is not set
653CONFIG_NET_WIRELESS=y
654
655#
656# PCMCIA network device support
657# 624#
625# CONFIG_USB_CATC is not set
626# CONFIG_USB_KAWETH is not set
627# CONFIG_USB_PEGASUS is not set
628# CONFIG_USB_RTL8150 is not set
629# CONFIG_USB_USBNET_MII is not set
630# CONFIG_USB_USBNET is not set
658CONFIG_NET_PCMCIA=y 631CONFIG_NET_PCMCIA=y
659# CONFIG_PCMCIA_3C589 is not set 632# CONFIG_PCMCIA_3C589 is not set
660# CONFIG_PCMCIA_3C574 is not set 633# CONFIG_PCMCIA_3C574 is not set
@@ -664,10 +637,6 @@ CONFIG_NET_PCMCIA=y
664# CONFIG_PCMCIA_SMC91C92 is not set 637# CONFIG_PCMCIA_SMC91C92 is not set
665# CONFIG_PCMCIA_XIRC2PS is not set 638# CONFIG_PCMCIA_XIRC2PS is not set
666# CONFIG_PCMCIA_AXNET is not set 639# CONFIG_PCMCIA_AXNET is not set
667
668#
669# Wan interfaces
670#
671# CONFIG_WAN is not set 640# CONFIG_WAN is not set
672# CONFIG_FDDI is not set 641# CONFIG_FDDI is not set
673# CONFIG_HIPPI is not set 642# CONFIG_HIPPI is not set
@@ -681,27 +650,23 @@ CONFIG_PPP_DEFLATE=m
681CONFIG_PPP_BSDCOMP=m 650CONFIG_PPP_BSDCOMP=m
682# CONFIG_PPP_MPPE is not set 651# CONFIG_PPP_MPPE is not set
683CONFIG_PPPOE=m 652CONFIG_PPPOE=m
653# CONFIG_PPPOL2TP is not set
684# CONFIG_SLIP is not set 654# CONFIG_SLIP is not set
655CONFIG_SLHC=m
685# CONFIG_NET_FC is not set 656# CONFIG_NET_FC is not set
686# CONFIG_SHAPER is not set 657# CONFIG_SHAPER is not set
687# CONFIG_NETCONSOLE is not set 658# CONFIG_NETCONSOLE is not set
688# CONFIG_NETPOLL is not set 659# CONFIG_NETPOLL is not set
689# CONFIG_NET_POLL_CONTROLLER is not set 660# CONFIG_NET_POLL_CONTROLLER is not set
690
691#
692# ISDN subsystem
693#
694# CONFIG_ISDN is not set 661# CONFIG_ISDN is not set
695
696#
697# Telephony Support
698#
699# CONFIG_PHONE is not set 662# CONFIG_PHONE is not set
700 663
701# 664#
702# Input device support 665# Input device support
703# 666#
704CONFIG_INPUT=y 667CONFIG_INPUT=y
668# CONFIG_INPUT_FF_MEMLESS is not set
669# CONFIG_INPUT_POLLDEV is not set
705 670
706# 671#
707# Userland interfaces 672# Userland interfaces
@@ -726,14 +691,23 @@ CONFIG_KEYBOARD_ATKBD_HP_KEYCODES=y
726# CONFIG_KEYBOARD_LKKBD is not set 691# CONFIG_KEYBOARD_LKKBD is not set
727# CONFIG_KEYBOARD_XTKBD is not set 692# CONFIG_KEYBOARD_XTKBD is not set
728# CONFIG_KEYBOARD_NEWTON is not set 693# CONFIG_KEYBOARD_NEWTON is not set
694# CONFIG_KEYBOARD_STOWAWAY is not set
729# CONFIG_KEYBOARD_HIL_OLD is not set 695# CONFIG_KEYBOARD_HIL_OLD is not set
730CONFIG_KEYBOARD_HIL=y 696CONFIG_KEYBOARD_HIL=y
731CONFIG_INPUT_MOUSE=y 697CONFIG_INPUT_MOUSE=y
732CONFIG_MOUSE_PS2=y 698CONFIG_MOUSE_PS2=y
699CONFIG_MOUSE_PS2_ALPS=y
700CONFIG_MOUSE_PS2_LOGIPS2PP=y
701CONFIG_MOUSE_PS2_SYNAPTICS=y
702CONFIG_MOUSE_PS2_LIFEBOOK=y
703CONFIG_MOUSE_PS2_TRACKPOINT=y
704# CONFIG_MOUSE_PS2_TOUCHKIT is not set
733CONFIG_MOUSE_SERIAL=y 705CONFIG_MOUSE_SERIAL=y
706# CONFIG_MOUSE_APPLETOUCH is not set
734# CONFIG_MOUSE_VSXXXAA is not set 707# CONFIG_MOUSE_VSXXXAA is not set
735CONFIG_MOUSE_HIL=y 708CONFIG_MOUSE_HIL=y
736# CONFIG_INPUT_JOYSTICK is not set 709# CONFIG_INPUT_JOYSTICK is not set
710# CONFIG_INPUT_TABLET is not set
737# CONFIG_INPUT_TOUCHSCREEN is not set 711# CONFIG_INPUT_TOUCHSCREEN is not set
738# CONFIG_INPUT_MISC is not set 712# CONFIG_INPUT_MISC is not set
739 713
@@ -757,6 +731,7 @@ CONFIG_SERIO_LIBPS2=y
757CONFIG_VT=y 731CONFIG_VT=y
758CONFIG_VT_CONSOLE=y 732CONFIG_VT_CONSOLE=y
759CONFIG_HW_CONSOLE=y 733CONFIG_HW_CONSOLE=y
734# CONFIG_VT_HW_CONSOLE_BINDING is not set
760# CONFIG_SERIAL_NONSTANDARD is not set 735# CONFIG_SERIAL_NONSTANDARD is not set
761 736
762# 737#
@@ -764,6 +739,8 @@ CONFIG_HW_CONSOLE=y
764# 739#
765CONFIG_SERIAL_8250=y 740CONFIG_SERIAL_8250=y
766CONFIG_SERIAL_8250_CONSOLE=y 741CONFIG_SERIAL_8250_CONSOLE=y
742CONFIG_SERIAL_8250_GSC=y
743CONFIG_SERIAL_8250_PCI=y
767CONFIG_SERIAL_8250_CS=y 744CONFIG_SERIAL_8250_CS=y
768CONFIG_SERIAL_8250_NR_UARTS=17 745CONFIG_SERIAL_8250_NR_UARTS=17
769CONFIG_SERIAL_8250_RUNTIME_UARTS=4 746CONFIG_SERIAL_8250_RUNTIME_UARTS=4
@@ -788,25 +765,14 @@ CONFIG_PRINTER=m
788# CONFIG_LP_CONSOLE is not set 765# CONFIG_LP_CONSOLE is not set
789CONFIG_PPDEV=m 766CONFIG_PPDEV=m
790# CONFIG_TIPAR is not set 767# CONFIG_TIPAR is not set
791
792#
793# IPMI
794#
795# CONFIG_IPMI_HANDLER is not set 768# CONFIG_IPMI_HANDLER is not set
796
797#
798# Watchdog Cards
799#
800# CONFIG_WATCHDOG is not set 769# CONFIG_WATCHDOG is not set
770# CONFIG_HW_RANDOM is not set
801CONFIG_GEN_RTC=y 771CONFIG_GEN_RTC=y
802CONFIG_GEN_RTC_X=y 772CONFIG_GEN_RTC_X=y
803# CONFIG_DTLK is not set
804# CONFIG_R3964 is not set 773# CONFIG_R3964 is not set
805# CONFIG_APPLICOM is not set 774# CONFIG_APPLICOM is not set
806 775# CONFIG_AGP is not set
807#
808# Ftape, the floppy tape device driver
809#
810# CONFIG_DRM is not set 776# CONFIG_DRM is not set
811 777
812# 778#
@@ -816,16 +782,8 @@ CONFIG_GEN_RTC_X=y
816# CONFIG_CARDMAN_4000 is not set 782# CONFIG_CARDMAN_4000 is not set
817# CONFIG_CARDMAN_4040 is not set 783# CONFIG_CARDMAN_4040 is not set
818# CONFIG_RAW_DRIVER is not set 784# CONFIG_RAW_DRIVER is not set
819
820#
821# TPM devices
822#
823# CONFIG_TCG_TPM is not set 785# CONFIG_TCG_TPM is not set
824# CONFIG_TELCLOCK is not set 786CONFIG_DEVPORT=y
825
826#
827# I2C support
828#
829# CONFIG_I2C is not set 787# CONFIG_I2C is not set
830 788
831# 789#
@@ -833,46 +791,59 @@ CONFIG_GEN_RTC_X=y
833# 791#
834# CONFIG_SPI is not set 792# CONFIG_SPI is not set
835# CONFIG_SPI_MASTER is not set 793# CONFIG_SPI_MASTER is not set
836
837#
838# Dallas's 1-wire bus
839#
840# CONFIG_W1 is not set 794# CONFIG_W1 is not set
841 795# CONFIG_POWER_SUPPLY is not set
842#
843# Hardware Monitoring support
844#
845# CONFIG_HWMON is not set 796# CONFIG_HWMON is not set
846# CONFIG_HWMON_VID is not set
847 797
848# 798#
849# Misc devices 799# Sonics Silicon Backplane
850# 800#
801CONFIG_SSB_POSSIBLE=y
802# CONFIG_SSB is not set
851 803
852# 804#
853# Multimedia Capabilities Port drivers 805# Multifunction device drivers
854# 806#
807# CONFIG_MFD_SM501 is not set
855 808
856# 809#
857# Multimedia devices 810# Multimedia devices
858# 811#
859# CONFIG_VIDEO_DEV is not set 812# CONFIG_VIDEO_DEV is not set
813# CONFIG_DVB_CORE is not set
814# CONFIG_DAB is not set
860 815
861# 816#
862# Digital Video Broadcasting Devices 817# Graphics support
863# 818#
864# CONFIG_DVB is not set 819# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
865 820
866# 821#
867# Graphics support 822# Display device support
868# 823#
824# CONFIG_DISPLAY_SUPPORT is not set
825# CONFIG_VGASTATE is not set
826CONFIG_VIDEO_OUTPUT_CONTROL=m
869CONFIG_FB=y 827CONFIG_FB=y
828# CONFIG_FIRMWARE_EDID is not set
829# CONFIG_FB_DDC is not set
870CONFIG_FB_CFB_FILLRECT=y 830CONFIG_FB_CFB_FILLRECT=y
871CONFIG_FB_CFB_COPYAREA=y 831CONFIG_FB_CFB_COPYAREA=y
872CONFIG_FB_CFB_IMAGEBLIT=y 832CONFIG_FB_CFB_IMAGEBLIT=y
833# CONFIG_FB_SYS_FILLRECT is not set
834# CONFIG_FB_SYS_COPYAREA is not set
835# CONFIG_FB_SYS_IMAGEBLIT is not set
836# CONFIG_FB_SYS_FOPS is not set
837CONFIG_FB_DEFERRED_IO=y
838# CONFIG_FB_SVGALIB is not set
873# CONFIG_FB_MACMODES is not set 839# CONFIG_FB_MACMODES is not set
840# CONFIG_FB_BACKLIGHT is not set
874CONFIG_FB_MODE_HELPERS=y 841CONFIG_FB_MODE_HELPERS=y
875CONFIG_FB_TILEBLITTING=y 842CONFIG_FB_TILEBLITTING=y
843
844#
845# Frame buffer hardware drivers
846#
876# CONFIG_FB_CIRRUS is not set 847# CONFIG_FB_CIRRUS is not set
877# CONFIG_FB_PM2 is not set 848# CONFIG_FB_PM2 is not set
878# CONFIG_FB_CYBER2000 is not set 849# CONFIG_FB_CYBER2000 is not set
@@ -883,17 +854,20 @@ CONFIG_FB_STI=y
883# CONFIG_FB_NVIDIA is not set 854# CONFIG_FB_NVIDIA is not set
884# CONFIG_FB_RIVA is not set 855# CONFIG_FB_RIVA is not set
885# CONFIG_FB_MATROX is not set 856# CONFIG_FB_MATROX is not set
886# CONFIG_FB_RADEON_OLD is not set
887# CONFIG_FB_RADEON is not set 857# CONFIG_FB_RADEON is not set
888# CONFIG_FB_ATY128 is not set 858# CONFIG_FB_ATY128 is not set
889# CONFIG_FB_ATY is not set 859# CONFIG_FB_ATY is not set
860# CONFIG_FB_S3 is not set
890# CONFIG_FB_SAVAGE is not set 861# CONFIG_FB_SAVAGE is not set
891# CONFIG_FB_SIS is not set 862# CONFIG_FB_SIS is not set
892# CONFIG_FB_NEOMAGIC is not set 863# CONFIG_FB_NEOMAGIC is not set
893# CONFIG_FB_KYRO is not set 864# CONFIG_FB_KYRO is not set
894# CONFIG_FB_3DFX is not set 865# CONFIG_FB_3DFX is not set
895# CONFIG_FB_VOODOO1 is not set 866# CONFIG_FB_VOODOO1 is not set
867# CONFIG_FB_VT8623 is not set
896# CONFIG_FB_TRIDENT is not set 868# CONFIG_FB_TRIDENT is not set
869# CONFIG_FB_ARK is not set
870# CONFIG_FB_PM3 is not set
897# CONFIG_FB_VIRTUAL is not set 871# CONFIG_FB_VIRTUAL is not set
898 872
899# 873#
@@ -903,6 +877,7 @@ CONFIG_DUMMY_CONSOLE=y
903CONFIG_DUMMY_CONSOLE_COLUMNS=128 877CONFIG_DUMMY_CONSOLE_COLUMNS=128
904CONFIG_DUMMY_CONSOLE_ROWS=48 878CONFIG_DUMMY_CONSOLE_ROWS=48
905CONFIG_FRAMEBUFFER_CONSOLE=y 879CONFIG_FRAMEBUFFER_CONSOLE=y
880# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
906# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set 881# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
907CONFIG_STI_CONSOLE=y 882CONFIG_STI_CONSOLE=y
908CONFIG_FONTS=y 883CONFIG_FONTS=y
@@ -916,16 +891,11 @@ CONFIG_FONT_8x16=y
916# CONFIG_FONT_SUN8x16 is not set 891# CONFIG_FONT_SUN8x16 is not set
917# CONFIG_FONT_SUN12x22 is not set 892# CONFIG_FONT_SUN12x22 is not set
918# CONFIG_FONT_10x18 is not set 893# CONFIG_FONT_10x18 is not set
919
920#
921# Logo configuration
922#
923CONFIG_LOGO=y 894CONFIG_LOGO=y
924# CONFIG_LOGO_LINUX_MONO is not set 895# CONFIG_LOGO_LINUX_MONO is not set
925# CONFIG_LOGO_LINUX_VGA16 is not set 896# CONFIG_LOGO_LINUX_VGA16 is not set
926# CONFIG_LOGO_LINUX_CLUT224 is not set 897# CONFIG_LOGO_LINUX_CLUT224 is not set
927CONFIG_LOGO_PARISC_CLUT224=y 898CONFIG_LOGO_PARISC_CLUT224=y
928# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
929 899
930# 900#
931# Sound 901# Sound
@@ -938,35 +908,36 @@ CONFIG_SOUND=y
938CONFIG_SND=y 908CONFIG_SND=y
939CONFIG_SND_TIMER=y 909CONFIG_SND_TIMER=y
940CONFIG_SND_PCM=y 910CONFIG_SND_PCM=y
941CONFIG_SND_HWDEP=y
942CONFIG_SND_SEQUENCER=y 911CONFIG_SND_SEQUENCER=y
943# CONFIG_SND_SEQ_DUMMY is not set 912# CONFIG_SND_SEQ_DUMMY is not set
944CONFIG_SND_OSSEMUL=y 913CONFIG_SND_OSSEMUL=y
945CONFIG_SND_MIXER_OSS=y 914CONFIG_SND_MIXER_OSS=y
946CONFIG_SND_PCM_OSS=y 915CONFIG_SND_PCM_OSS=y
916CONFIG_SND_PCM_OSS_PLUGINS=y
947CONFIG_SND_SEQUENCER_OSS=y 917CONFIG_SND_SEQUENCER_OSS=y
948CONFIG_SND_DYNAMIC_MINORS=y 918CONFIG_SND_DYNAMIC_MINORS=y
949CONFIG_SND_SUPPORT_OLD_API=y 919CONFIG_SND_SUPPORT_OLD_API=y
920CONFIG_SND_VERBOSE_PROCFS=y
950# CONFIG_SND_VERBOSE_PRINTK is not set 921# CONFIG_SND_VERBOSE_PRINTK is not set
951# CONFIG_SND_DEBUG is not set 922# CONFIG_SND_DEBUG is not set
952 923
953# 924#
954# Generic devices 925# Generic devices
955# 926#
956CONFIG_SND_OPL3_LIB=y
957CONFIG_SND_AC97_CODEC=y 927CONFIG_SND_AC97_CODEC=y
958CONFIG_SND_AC97_BUS=y
959# CONFIG_SND_DUMMY is not set 928# CONFIG_SND_DUMMY is not set
960# CONFIG_SND_VIRMIDI is not set 929# CONFIG_SND_VIRMIDI is not set
961# CONFIG_SND_MTPAV is not set 930# CONFIG_SND_MTPAV is not set
931# CONFIG_SND_MTS64 is not set
962# CONFIG_SND_SERIAL_U16550 is not set 932# CONFIG_SND_SERIAL_U16550 is not set
963# CONFIG_SND_MPU401 is not set 933# CONFIG_SND_MPU401 is not set
934# CONFIG_SND_PORTMAN2X4 is not set
964 935
965# 936#
966# PCI devices 937# PCI devices
967# 938#
968CONFIG_SND_AD1889=y 939CONFIG_SND_AD1889=y
969CONFIG_SND_AD1889_OPL3=y 940# CONFIG_SND_ALS300 is not set
970# CONFIG_SND_ALI5451 is not set 941# CONFIG_SND_ALI5451 is not set
971# CONFIG_SND_ATIIXP is not set 942# CONFIG_SND_ATIIXP is not set
972# CONFIG_SND_ATIIXP_MODEM is not set 943# CONFIG_SND_ATIIXP_MODEM is not set
@@ -979,6 +950,18 @@ CONFIG_SND_AD1889_OPL3=y
979# CONFIG_SND_CMIPCI is not set 950# CONFIG_SND_CMIPCI is not set
980# CONFIG_SND_CS4281 is not set 951# CONFIG_SND_CS4281 is not set
981# CONFIG_SND_CS46XX is not set 952# CONFIG_SND_CS46XX is not set
953# CONFIG_SND_DARLA20 is not set
954# CONFIG_SND_GINA20 is not set
955# CONFIG_SND_LAYLA20 is not set
956# CONFIG_SND_DARLA24 is not set
957# CONFIG_SND_GINA24 is not set
958# CONFIG_SND_LAYLA24 is not set
959# CONFIG_SND_MONA is not set
960# CONFIG_SND_MIA is not set
961# CONFIG_SND_ECHO3G is not set
962# CONFIG_SND_INDIGO is not set
963# CONFIG_SND_INDIGOIO is not set
964# CONFIG_SND_INDIGODJ is not set
982# CONFIG_SND_EMU10K1 is not set 965# CONFIG_SND_EMU10K1 is not set
983# CONFIG_SND_EMU10K1X is not set 966# CONFIG_SND_EMU10K1X is not set
984# CONFIG_SND_ENS1370 is not set 967# CONFIG_SND_ENS1370 is not set
@@ -998,6 +981,7 @@ CONFIG_SND_AD1889_OPL3=y
998# CONFIG_SND_MIXART is not set 981# CONFIG_SND_MIXART is not set
999# CONFIG_SND_NM256 is not set 982# CONFIG_SND_NM256 is not set
1000# CONFIG_SND_PCXHR is not set 983# CONFIG_SND_PCXHR is not set
984# CONFIG_SND_RIPTIDE is not set
1001# CONFIG_SND_RME32 is not set 985# CONFIG_SND_RME32 is not set
1002# CONFIG_SND_RME96 is not set 986# CONFIG_SND_RME96 is not set
1003# CONFIG_SND_RME9652 is not set 987# CONFIG_SND_RME9652 is not set
@@ -1007,15 +991,19 @@ CONFIG_SND_AD1889_OPL3=y
1007# CONFIG_SND_VIA82XX_MODEM is not set 991# CONFIG_SND_VIA82XX_MODEM is not set
1008# CONFIG_SND_VX222 is not set 992# CONFIG_SND_VX222 is not set
1009# CONFIG_SND_YMFPCI is not set 993# CONFIG_SND_YMFPCI is not set
994# CONFIG_SND_AC97_POWER_SAVE is not set
1010 995
1011# 996#
1012# USB devices 997# USB devices
1013# 998#
1014# CONFIG_SND_USB_AUDIO is not set 999# CONFIG_SND_USB_AUDIO is not set
1000# CONFIG_SND_USB_CAIAQ is not set
1015 1001
1016# 1002#
1017# PCMCIA devices 1003# PCMCIA devices
1018# 1004#
1005# CONFIG_SND_VXPOCKET is not set
1006# CONFIG_SND_PDAUDIOCF is not set
1019 1007
1020# 1008#
1021# GSC devices 1009# GSC devices
@@ -1023,15 +1011,34 @@ CONFIG_SND_AD1889_OPL3=y
1023CONFIG_SND_HARMONY=y 1011CONFIG_SND_HARMONY=y
1024 1012
1025# 1013#
1014# System on Chip audio support
1015#
1016# CONFIG_SND_SOC is not set
1017
1018#
1019# SoC Audio support for SuperH
1020#
1021
1022#
1026# Open Sound System 1023# Open Sound System
1027# 1024#
1028# CONFIG_SOUND_PRIME is not set 1025# CONFIG_SOUND_PRIME is not set
1026CONFIG_AC97_BUS=y
1027CONFIG_HID_SUPPORT=y
1028CONFIG_HID=y
1029CONFIG_HID_DEBUG=y
1029 1030
1030# 1031#
1031# USB support 1032# USB Input Devices
1032# 1033#
1034CONFIG_USB_HID=y
1035# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1036# CONFIG_HID_FF is not set
1037# CONFIG_USB_HIDDEV is not set
1038CONFIG_USB_SUPPORT=y
1033CONFIG_USB_ARCH_HAS_HCD=y 1039CONFIG_USB_ARCH_HAS_HCD=y
1034CONFIG_USB_ARCH_HAS_OHCI=y 1040CONFIG_USB_ARCH_HAS_OHCI=y
1041CONFIG_USB_ARCH_HAS_EHCI=y
1035CONFIG_USB=y 1042CONFIG_USB=y
1036# CONFIG_USB_DEBUG is not set 1043# CONFIG_USB_DEBUG is not set
1037 1044
@@ -1039,7 +1046,7 @@ CONFIG_USB=y
1039# Miscellaneous USB options 1046# Miscellaneous USB options
1040# 1047#
1041CONFIG_USB_DEVICEFS=y 1048CONFIG_USB_DEVICEFS=y
1042# CONFIG_USB_BANDWIDTH is not set 1049CONFIG_USB_DEVICE_CLASS=y
1043# CONFIG_USB_DYNAMIC_MINORS is not set 1050# CONFIG_USB_DYNAMIC_MINORS is not set
1044# CONFIG_USB_OTG is not set 1051# CONFIG_USB_OTG is not set
1045 1052
@@ -1049,15 +1056,16 @@ CONFIG_USB_DEVICEFS=y
1049# CONFIG_USB_EHCI_HCD is not set 1056# CONFIG_USB_EHCI_HCD is not set
1050# CONFIG_USB_ISP116X_HCD is not set 1057# CONFIG_USB_ISP116X_HCD is not set
1051CONFIG_USB_OHCI_HCD=y 1058CONFIG_USB_OHCI_HCD=y
1052# CONFIG_USB_OHCI_BIG_ENDIAN is not set 1059# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
1060# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
1053CONFIG_USB_OHCI_LITTLE_ENDIAN=y 1061CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1054CONFIG_USB_UHCI_HCD=y 1062CONFIG_USB_UHCI_HCD=y
1055# CONFIG_USB_SL811_HCD is not set 1063# CONFIG_USB_SL811_HCD is not set
1064# CONFIG_USB_R8A66597_HCD is not set
1056 1065
1057# 1066#
1058# USB Device Class drivers 1067# USB Device Class drivers
1059# 1068#
1060# CONFIG_OBSOLETE_OSS_USB_DRIVER is not set
1061# CONFIG_USB_ACM is not set 1069# CONFIG_USB_ACM is not set
1062# CONFIG_USB_PRINTER is not set 1070# CONFIG_USB_PRINTER is not set
1063 1071
@@ -1072,52 +1080,10 @@ CONFIG_USB_UHCI_HCD=y
1072# CONFIG_USB_LIBUSUAL is not set 1080# CONFIG_USB_LIBUSUAL is not set
1073 1081
1074# 1082#
1075# USB Input Devices
1076#
1077CONFIG_USB_HID=y
1078CONFIG_USB_HIDINPUT=y
1079# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1080# CONFIG_HID_FF is not set
1081# CONFIG_USB_HIDDEV is not set
1082# CONFIG_USB_AIPTEK is not set
1083# CONFIG_USB_WACOM is not set
1084# CONFIG_USB_ACECAD is not set
1085# CONFIG_USB_KBTAB is not set
1086# CONFIG_USB_POWERMATE is not set
1087# CONFIG_USB_MTOUCH is not set
1088# CONFIG_USB_ITMTOUCH is not set
1089# CONFIG_USB_EGALAX is not set
1090# CONFIG_USB_YEALINK is not set
1091# CONFIG_USB_XPAD is not set
1092# CONFIG_USB_ATI_REMOTE is not set
1093# CONFIG_USB_ATI_REMOTE2 is not set
1094# CONFIG_USB_KEYSPAN_REMOTE is not set
1095# CONFIG_USB_APPLETOUCH is not set
1096
1097#
1098# USB Imaging devices 1083# USB Imaging devices
1099# 1084#
1100# CONFIG_USB_MDC800 is not set 1085# CONFIG_USB_MDC800 is not set
1101# CONFIG_USB_MICROTEK is not set 1086# CONFIG_USB_MICROTEK is not set
1102
1103#
1104# USB Multimedia devices
1105#
1106# CONFIG_USB_DABUSB is not set
1107
1108#
1109# Video4Linux support is needed for USB Multimedia device support
1110#
1111
1112#
1113# USB Network Adapters
1114#
1115# CONFIG_USB_CATC is not set
1116# CONFIG_USB_KAWETH is not set
1117# CONFIG_USB_PEGASUS is not set
1118# CONFIG_USB_RTL8150 is not set
1119# CONFIG_USB_USBNET is not set
1120# CONFIG_USB_ZD1201 is not set
1121CONFIG_USB_MON=y 1087CONFIG_USB_MON=y
1122 1088
1123# 1089#
@@ -1135,16 +1101,22 @@ CONFIG_USB_MON=y
1135# 1101#
1136# CONFIG_USB_EMI62 is not set 1102# CONFIG_USB_EMI62 is not set
1137# CONFIG_USB_EMI26 is not set 1103# CONFIG_USB_EMI26 is not set
1104# CONFIG_USB_ADUTUX is not set
1138# CONFIG_USB_AUERSWALD is not set 1105# CONFIG_USB_AUERSWALD is not set
1139# CONFIG_USB_RIO500 is not set 1106# CONFIG_USB_RIO500 is not set
1140# CONFIG_USB_LEGOTOWER is not set 1107# CONFIG_USB_LEGOTOWER is not set
1141# CONFIG_USB_LCD is not set 1108# CONFIG_USB_LCD is not set
1109# CONFIG_USB_BERRY_CHARGE is not set
1142# CONFIG_USB_LED is not set 1110# CONFIG_USB_LED is not set
1111# CONFIG_USB_CYPRESS_CY7C63 is not set
1143# CONFIG_USB_CYTHERM is not set 1112# CONFIG_USB_CYTHERM is not set
1144# CONFIG_USB_PHIDGETKIT is not set 1113# CONFIG_USB_PHIDGET is not set
1145# CONFIG_USB_PHIDGETSERVO is not set
1146# CONFIG_USB_IDMOUSE is not set 1114# CONFIG_USB_IDMOUSE is not set
1115# CONFIG_USB_FTDI_ELAN is not set
1116# CONFIG_USB_APPLEDISPLAY is not set
1147# CONFIG_USB_LD is not set 1117# CONFIG_USB_LD is not set
1118# CONFIG_USB_TRANCEVIBRATOR is not set
1119# CONFIG_USB_IOWARRIOR is not set
1148# CONFIG_USB_TEST is not set 1120# CONFIG_USB_TEST is not set
1149 1121
1150# 1122#
@@ -1155,20 +1127,29 @@ CONFIG_USB_MON=y
1155# USB Gadget Support 1127# USB Gadget Support
1156# 1128#
1157# CONFIG_USB_GADGET is not set 1129# CONFIG_USB_GADGET is not set
1130# CONFIG_MMC is not set
1131# CONFIG_NEW_LEDS is not set
1132# CONFIG_INFINIBAND is not set
1133# CONFIG_RTC_CLASS is not set
1158 1134
1159# 1135#
1160# MMC/SD Card support 1136# DMA Engine support
1161# 1137#
1162# CONFIG_MMC is not set 1138# CONFIG_DMA_ENGINE is not set
1163 1139
1164# 1140#
1165# InfiniBand support 1141# DMA Clients
1166# 1142#
1167# CONFIG_INFINIBAND is not set
1168 1143
1169# 1144#
1170# EDAC - error detection and reporting (RAS) (EXPERIMENTAL) 1145# DMA Devices
1146#
1147# CONFIG_AUXDISPLAY is not set
1148
1149#
1150# Userspace I/O
1171# 1151#
1152# CONFIG_UIO is not set
1172 1153
1173# 1154#
1174# File systems 1155# File systems
@@ -1178,16 +1159,19 @@ CONFIG_EXT2_FS=y
1178# CONFIG_EXT2_FS_XIP is not set 1159# CONFIG_EXT2_FS_XIP is not set
1179CONFIG_EXT3_FS=y 1160CONFIG_EXT3_FS=y
1180# CONFIG_EXT3_FS_XATTR is not set 1161# CONFIG_EXT3_FS_XATTR is not set
1162# CONFIG_EXT4DEV_FS is not set
1181CONFIG_JBD=y 1163CONFIG_JBD=y
1182# CONFIG_JBD_DEBUG is not set 1164# CONFIG_JBD_DEBUG is not set
1183# CONFIG_REISERFS_FS is not set 1165# CONFIG_REISERFS_FS is not set
1184# CONFIG_JFS_FS is not set 1166# CONFIG_JFS_FS is not set
1185CONFIG_FS_POSIX_ACL=y 1167CONFIG_FS_POSIX_ACL=y
1186# CONFIG_XFS_FS is not set 1168# CONFIG_XFS_FS is not set
1169# CONFIG_GFS2_FS is not set
1187# CONFIG_OCFS2_FS is not set 1170# CONFIG_OCFS2_FS is not set
1188# CONFIG_MINIX_FS is not set 1171# CONFIG_MINIX_FS is not set
1189# CONFIG_ROMFS_FS is not set 1172# CONFIG_ROMFS_FS is not set
1190CONFIG_INOTIFY=y 1173CONFIG_INOTIFY=y
1174CONFIG_INOTIFY_USER=y
1191# CONFIG_QUOTA is not set 1175# CONFIG_QUOTA is not set
1192CONFIG_DNOTIFY=y 1176CONFIG_DNOTIFY=y
1193CONFIG_AUTOFS_FS=y 1177CONFIG_AUTOFS_FS=y
@@ -1217,11 +1201,12 @@ CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1217# 1201#
1218CONFIG_PROC_FS=y 1202CONFIG_PROC_FS=y
1219CONFIG_PROC_KCORE=y 1203CONFIG_PROC_KCORE=y
1204CONFIG_PROC_SYSCTL=y
1220CONFIG_SYSFS=y 1205CONFIG_SYSFS=y
1221CONFIG_TMPFS=y 1206CONFIG_TMPFS=y
1207# CONFIG_TMPFS_POSIX_ACL is not set
1222# CONFIG_HUGETLB_PAGE is not set 1208# CONFIG_HUGETLB_PAGE is not set
1223CONFIG_RAMFS=y 1209CONFIG_RAMFS=y
1224# CONFIG_RELAYFS_FS is not set
1225# CONFIG_CONFIGFS_FS is not set 1210# CONFIG_CONFIGFS_FS is not set
1226 1211
1227# 1212#
@@ -1229,6 +1214,7 @@ CONFIG_RAMFS=y
1229# 1214#
1230# CONFIG_ADFS_FS is not set 1215# CONFIG_ADFS_FS is not set
1231# CONFIG_AFFS_FS is not set 1216# CONFIG_AFFS_FS is not set
1217# CONFIG_ECRYPT_FS is not set
1232# CONFIG_HFS_FS is not set 1218# CONFIG_HFS_FS is not set
1233# CONFIG_HFSPLUS_FS is not set 1219# CONFIG_HFSPLUS_FS is not set
1234# CONFIG_BEFS_FS is not set 1220# CONFIG_BEFS_FS is not set
@@ -1261,6 +1247,7 @@ CONFIG_EXPORTFS=y
1261CONFIG_NFS_COMMON=y 1247CONFIG_NFS_COMMON=y
1262CONFIG_SUNRPC=y 1248CONFIG_SUNRPC=y
1263CONFIG_SUNRPC_GSS=y 1249CONFIG_SUNRPC_GSS=y
1250# CONFIG_SUNRPC_BIND34 is not set
1264CONFIG_RPCSEC_GSS_KRB5=y 1251CONFIG_RPCSEC_GSS_KRB5=y
1265CONFIG_RPCSEC_GSS_SPKM3=m 1252CONFIG_RPCSEC_GSS_SPKM3=m
1266CONFIG_SMB_FS=m 1253CONFIG_SMB_FS=m
@@ -1268,12 +1255,13 @@ CONFIG_SMB_NLS_DEFAULT=y
1268CONFIG_SMB_NLS_REMOTE="cp437" 1255CONFIG_SMB_NLS_REMOTE="cp437"
1269CONFIG_CIFS=m 1256CONFIG_CIFS=m
1270# CONFIG_CIFS_STATS is not set 1257# CONFIG_CIFS_STATS is not set
1258# CONFIG_CIFS_WEAK_PW_HASH is not set
1271# CONFIG_CIFS_XATTR is not set 1259# CONFIG_CIFS_XATTR is not set
1260# CONFIG_CIFS_DEBUG2 is not set
1272# CONFIG_CIFS_EXPERIMENTAL is not set 1261# CONFIG_CIFS_EXPERIMENTAL is not set
1273# CONFIG_NCP_FS is not set 1262# CONFIG_NCP_FS is not set
1274# CONFIG_CODA_FS is not set 1263# CONFIG_CODA_FS is not set
1275# CONFIG_AFS_FS is not set 1264# CONFIG_AFS_FS is not set
1276# CONFIG_9P_FS is not set
1277 1265
1278# 1266#
1279# Partition Types 1267# Partition Types
@@ -1326,6 +1314,11 @@ CONFIG_NLS_KOI8_U=m
1326CONFIG_NLS_UTF8=y 1314CONFIG_NLS_UTF8=y
1327 1315
1328# 1316#
1317# Distributed Lock Manager
1318#
1319# CONFIG_DLM is not set
1320
1321#
1329# Profiling support 1322# Profiling support
1330# 1323#
1331CONFIG_PROFILING=y 1324CONFIG_PROFILING=y
@@ -1335,21 +1328,32 @@ CONFIG_OPROFILE=m
1335# Kernel hacking 1328# Kernel hacking
1336# 1329#
1337# CONFIG_PRINTK_TIME is not set 1330# CONFIG_PRINTK_TIME is not set
1331CONFIG_ENABLE_MUST_CHECK=y
1338CONFIG_MAGIC_SYSRQ=y 1332CONFIG_MAGIC_SYSRQ=y
1333# CONFIG_UNUSED_SYMBOLS is not set
1334# CONFIG_DEBUG_FS is not set
1335CONFIG_HEADERS_CHECK=y
1339CONFIG_DEBUG_KERNEL=y 1336CONFIG_DEBUG_KERNEL=y
1340CONFIG_LOG_BUF_SHIFT=16 1337# CONFIG_DEBUG_SHIRQ is not set
1341CONFIG_DETECT_SOFTLOCKUP=y 1338CONFIG_DETECT_SOFTLOCKUP=y
1339CONFIG_SCHED_DEBUG=y
1342# CONFIG_SCHEDSTATS is not set 1340# CONFIG_SCHEDSTATS is not set
1341# CONFIG_TIMER_STATS is not set
1343# CONFIG_DEBUG_SLAB is not set 1342# CONFIG_DEBUG_SLAB is not set
1344CONFIG_DEBUG_MUTEXES=y 1343# CONFIG_DEBUG_RT_MUTEXES is not set
1344# CONFIG_RT_MUTEX_TESTER is not set
1345# CONFIG_DEBUG_SPINLOCK is not set 1345# CONFIG_DEBUG_SPINLOCK is not set
1346CONFIG_DEBUG_MUTEXES=y
1346# CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1347# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1348# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1347# CONFIG_DEBUG_KOBJECT is not set 1349# CONFIG_DEBUG_KOBJECT is not set
1350CONFIG_DEBUG_BUGVERBOSE=y
1348# CONFIG_DEBUG_INFO is not set 1351# CONFIG_DEBUG_INFO is not set
1349# CONFIG_DEBUG_FS is not set
1350# CONFIG_DEBUG_VM is not set 1352# CONFIG_DEBUG_VM is not set
1353# CONFIG_DEBUG_LIST is not set
1351CONFIG_FORCED_INLINING=y 1354CONFIG_FORCED_INLINING=y
1352# CONFIG_RCU_TORTURE_TEST is not set 1355# CONFIG_RCU_TORTURE_TEST is not set
1356# CONFIG_FAULT_INJECTION is not set
1353# CONFIG_DEBUG_RODATA is not set 1357# CONFIG_DEBUG_RODATA is not set
1354 1358
1355# 1359#
@@ -1358,12 +1362,13 @@ CONFIG_FORCED_INLINING=y
1358CONFIG_KEYS=y 1362CONFIG_KEYS=y
1359CONFIG_KEYS_DEBUG_PROC_KEYS=y 1363CONFIG_KEYS_DEBUG_PROC_KEYS=y
1360# CONFIG_SECURITY is not set 1364# CONFIG_SECURITY is not set
1361
1362#
1363# Cryptographic options
1364#
1365CONFIG_CRYPTO=y 1365CONFIG_CRYPTO=y
1366CONFIG_CRYPTO_ALGAPI=y
1367CONFIG_CRYPTO_BLKCIPHER=y
1368CONFIG_CRYPTO_HASH=y
1369CONFIG_CRYPTO_MANAGER=y
1366CONFIG_CRYPTO_HMAC=y 1370CONFIG_CRYPTO_HMAC=y
1371# CONFIG_CRYPTO_XCBC is not set
1367CONFIG_CRYPTO_NULL=m 1372CONFIG_CRYPTO_NULL=m
1368CONFIG_CRYPTO_MD4=m 1373CONFIG_CRYPTO_MD4=m
1369CONFIG_CRYPTO_MD5=y 1374CONFIG_CRYPTO_MD5=y
@@ -1372,9 +1377,18 @@ CONFIG_CRYPTO_SHA256=m
1372CONFIG_CRYPTO_SHA512=m 1377CONFIG_CRYPTO_SHA512=m
1373CONFIG_CRYPTO_WP512=m 1378CONFIG_CRYPTO_WP512=m
1374CONFIG_CRYPTO_TGR192=m 1379CONFIG_CRYPTO_TGR192=m
1380# CONFIG_CRYPTO_GF128MUL is not set
1381# CONFIG_CRYPTO_ECB is not set
1382CONFIG_CRYPTO_CBC=y
1383# CONFIG_CRYPTO_PCBC is not set
1384# CONFIG_CRYPTO_LRW is not set
1385# CONFIG_CRYPTO_XTS is not set
1386# CONFIG_CRYPTO_CRYPTD is not set
1375CONFIG_CRYPTO_DES=y 1387CONFIG_CRYPTO_DES=y
1388# CONFIG_CRYPTO_FCRYPT is not set
1376CONFIG_CRYPTO_BLOWFISH=m 1389CONFIG_CRYPTO_BLOWFISH=m
1377CONFIG_CRYPTO_TWOFISH=m 1390CONFIG_CRYPTO_TWOFISH=m
1391CONFIG_CRYPTO_TWOFISH_COMMON=m
1378CONFIG_CRYPTO_SERPENT=m 1392CONFIG_CRYPTO_SERPENT=m
1379CONFIG_CRYPTO_AES=m 1393CONFIG_CRYPTO_AES=m
1380CONFIG_CRYPTO_CAST5=m 1394CONFIG_CRYPTO_CAST5=m
@@ -1383,21 +1397,28 @@ CONFIG_CRYPTO_TEA=m
1383CONFIG_CRYPTO_ARC4=m 1397CONFIG_CRYPTO_ARC4=m
1384CONFIG_CRYPTO_KHAZAD=m 1398CONFIG_CRYPTO_KHAZAD=m
1385CONFIG_CRYPTO_ANUBIS=m 1399CONFIG_CRYPTO_ANUBIS=m
1400# CONFIG_CRYPTO_SEED is not set
1386CONFIG_CRYPTO_DEFLATE=y 1401CONFIG_CRYPTO_DEFLATE=y
1387CONFIG_CRYPTO_MICHAEL_MIC=m 1402CONFIG_CRYPTO_MICHAEL_MIC=m
1388CONFIG_CRYPTO_CRC32C=m 1403CONFIG_CRYPTO_CRC32C=m
1404# CONFIG_CRYPTO_CAMELLIA is not set
1389CONFIG_CRYPTO_TEST=m 1405CONFIG_CRYPTO_TEST=m
1390 1406# CONFIG_CRYPTO_AUTHENC is not set
1391# 1407# CONFIG_CRYPTO_HW is not set
1392# Hardware crypto devices
1393#
1394 1408
1395# 1409#
1396# Library routines 1410# Library routines
1397# 1411#
1412CONFIG_BITREVERSE=y
1398CONFIG_CRC_CCITT=m 1413CONFIG_CRC_CCITT=m
1399# CONFIG_CRC16 is not set 1414# CONFIG_CRC16 is not set
1415# CONFIG_CRC_ITU_T is not set
1400CONFIG_CRC32=y 1416CONFIG_CRC32=y
1417# CONFIG_CRC7 is not set
1401CONFIG_LIBCRC32C=m 1418CONFIG_LIBCRC32C=m
1402CONFIG_ZLIB_INFLATE=y 1419CONFIG_ZLIB_INFLATE=y
1403CONFIG_ZLIB_DEFLATE=y 1420CONFIG_ZLIB_DEFLATE=y
1421CONFIG_PLIST=y
1422CONFIG_HAS_IOMEM=y
1423CONFIG_HAS_IOPORT=y
1424CONFIG_HAS_DMA=y
diff --git a/arch/parisc/hpux/gate.S b/arch/parisc/hpux/gate.S
index 0b9d5b1e4b37..38a1c1b8d4e8 100644
--- a/arch/parisc/hpux/gate.S
+++ b/arch/parisc/hpux/gate.S
@@ -20,7 +20,7 @@
20 .import hpux_call_table 20 .import hpux_call_table
21 .import hpux_syscall_exit,code 21 .import hpux_syscall_exit,code
22 22
23 .align 4096 23 .align PAGE_SIZE
24ENTRY(hpux_gateway_page) 24ENTRY(hpux_gateway_page)
25 nop 25 nop
26#ifdef CONFIG_64BIT 26#ifdef CONFIG_64BIT
@@ -103,5 +103,5 @@ syscall_nosys:
103 ldo -ENOSYS(%r0),%r28 103 ldo -ENOSYS(%r0),%r28
104ENDPROC(hpux_gateway_page) 104ENDPROC(hpux_gateway_page)
105 105
106 .align 4096 106 .align PAGE_SIZE
107ENTRY(end_hpux_gateway_page) 107ENTRY(end_hpux_gateway_page)
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c
index d3b7917a87cb..eaa79bc14d94 100644
--- a/arch/parisc/kernel/asm-offsets.c
+++ b/arch/parisc/kernel/asm-offsets.c
@@ -290,9 +290,6 @@ int main(void)
290 DEFINE(ASM_PTE_ENTRY_SIZE, PTE_ENTRY_SIZE); 290 DEFINE(ASM_PTE_ENTRY_SIZE, PTE_ENTRY_SIZE);
291 DEFINE(ASM_PFN_PTE_SHIFT, PFN_PTE_SHIFT); 291 DEFINE(ASM_PFN_PTE_SHIFT, PFN_PTE_SHIFT);
292 DEFINE(ASM_PT_INITIAL, PT_INITIAL); 292 DEFINE(ASM_PT_INITIAL, PT_INITIAL);
293 DEFINE(ASM_PAGE_SIZE, PAGE_SIZE);
294 DEFINE(ASM_PAGE_SIZE_DIV64, PAGE_SIZE/64);
295 DEFINE(ASM_PAGE_SIZE_DIV128, PAGE_SIZE/128);
296 BLANK(); 293 BLANK();
297 DEFINE(EXCDATA_IP, offsetof(struct exception_data, fault_ip)); 294 DEFINE(EXCDATA_IP, offsetof(struct exception_data, fault_ip));
298 DEFINE(EXCDATA_SPACE, offsetof(struct exception_data, fault_space)); 295 DEFINE(EXCDATA_SPACE, offsetof(struct exception_data, fault_space));
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
index 42598abf4576..111d47284eac 100644
--- a/arch/parisc/kernel/entry.S
+++ b/arch/parisc/kernel/entry.S
@@ -98,7 +98,6 @@
98 * The "get_stack" macros are responsible for determining the 98 * The "get_stack" macros are responsible for determining the
99 * kernel stack value. 99 * kernel stack value.
100 * 100 *
101 * For Faults:
102 * If sr7 == 0 101 * If sr7 == 0
103 * Already using a kernel stack, so call the 102 * Already using a kernel stack, so call the
104 * get_stack_use_r30 macro to push a pt_regs structure 103 * get_stack_use_r30 macro to push a pt_regs structure
@@ -110,26 +109,6 @@
110 * task pointer pointed to by cr30. Set the stack 109 * task pointer pointed to by cr30. Set the stack
111 * pointer to point to the end of the task structure. 110 * pointer to point to the end of the task structure.
112 * 111 *
113 * For Interrupts:
114 * If sr7 == 0
115 * Already using a kernel stack, check to see if r30
116 * is already pointing to the per processor interrupt
117 * stack. If it is, call the get_stack_use_r30 macro
118 * to push a pt_regs structure on the stack, and store
119 * registers there. Otherwise, call get_stack_use_cr31
120 * to get a pointer to the base of the interrupt stack
121 * and push a pt_regs structure on that stack.
122 * else
123 * Need to set up a kernel stack, so call the
124 * get_stack_use_cr30 macro to set up a pointer
125 * to the pt_regs structure contained within the
126 * task pointer pointed to by cr30. Set the stack
127 * pointer to point to the end of the task structure.
128 * N.B: We don't use the interrupt stack for the
129 * first interrupt from userland, because signals/
130 * resched's are processed when returning to userland,
131 * and we can sleep in those cases.
132 *
133 * Note that we use shadowed registers for temps until 112 * Note that we use shadowed registers for temps until
134 * we can save %r26 and %r29. %r26 is used to preserve 113 * we can save %r26 and %r29. %r26 is used to preserve
135 * %r8 (a shadowed register) which temporarily contained 114 * %r8 (a shadowed register) which temporarily contained
@@ -652,7 +631,7 @@
652 631
653 .text 632 .text
654 633
655 .align 4096 634 .align PAGE_SIZE
656 635
657ENTRY(fault_vector_20) 636ENTRY(fault_vector_20)
658 /* First vector is invalid (0) */ 637 /* First vector is invalid (0) */
@@ -904,7 +883,7 @@ ENDPROC(_switch_to)
904 * 883 *
905 */ 884 */
906 885
907 .align 4096 886 .align PAGE_SIZE
908 887
909ENTRY(syscall_exit_rfi) 888ENTRY(syscall_exit_rfi)
910 mfctl %cr30,%r16 889 mfctl %cr30,%r16
@@ -1086,23 +1065,13 @@ intr_do_preempt:
1086 1065
1087intr_extint: 1066intr_extint:
1088 CMPIB=,n 0,%r16,1f 1067 CMPIB=,n 0,%r16,1f
1068
1089 get_stack_use_cr30 1069 get_stack_use_cr30
1090 b,n 3f 1070 b,n 2f
1091 1071
10921: 10721:
1093#if 0 /* Interrupt Stack support not working yet! */
1094 mfctl %cr31,%r1
1095 copy %r30,%r17
1096 /* FIXME! depi below has hardcoded idea of interrupt stack size (32k)*/
1097 DEPI 0,31,15,%r17
1098 CMPB=,n %r1,%r17,2f
1099 get_stack_use_cr31
1100 b,n 3f
1101#endif
11022:
1103 get_stack_use_r30 1073 get_stack_use_r30
1104 10742:
11053:
1106 save_specials %r29 1075 save_specials %r29
1107 virt_map 1076 virt_map
1108 save_general %r29 1077 save_general %r29
diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S
index 9676c486bb63..a7b8859488bb 100644
--- a/arch/parisc/kernel/head.S
+++ b/arch/parisc/kernel/head.S
@@ -95,7 +95,7 @@ $bss_loop:
95 95
961: 961:
97 stw %r3,0(%r4) 97 stw %r3,0(%r4)
98 ldo (ASM_PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3 98 ldo (PAGE_SIZE >> PxD_VALUE_SHIFT)(%r3),%r3
99 addib,> -1,%r1,1b 99 addib,> -1,%r1,1b
100#if PT_NLEVELS == 3 100#if PT_NLEVELS == 3
101 ldo ASM_PMD_ENTRY_SIZE(%r4),%r4 101 ldo ASM_PMD_ENTRY_SIZE(%r4),%r4
@@ -128,10 +128,6 @@ $pgt_fill_loop:
128 /* And the stack pointer too */ 128 /* And the stack pointer too */
129 ldo THREAD_SZ_ALGN(%r6),%sp 129 ldo THREAD_SZ_ALGN(%r6),%sp
130 130
131 /* And the interrupt stack */
132 load32 interrupt_stack,%r6
133 mtctl %r6,%cr31
134
135#ifdef CONFIG_SMP 131#ifdef CONFIG_SMP
136 /* Set the smp rendevous address into page zero. 132 /* Set the smp rendevous address into page zero.
137 ** It would be safer to do this in init_smp_config() but 133 ** It would be safer to do this in init_smp_config() but
diff --git a/arch/parisc/kernel/hpmc.S b/arch/parisc/kernel/hpmc.S
index 43b41df0b541..2cbf13b3ef11 100644
--- a/arch/parisc/kernel/hpmc.S
+++ b/arch/parisc/kernel/hpmc.S
@@ -55,13 +55,13 @@
55 * IODC requires 7K byte stack. That leaves 1K byte for os_hpmc. 55 * IODC requires 7K byte stack. That leaves 1K byte for os_hpmc.
56 */ 56 */
57 57
58 .align 4096 58 .align PAGE_SIZE
59hpmc_stack: 59hpmc_stack:
60 .block 16384 60 .block 16384
61 61
62#define HPMC_IODC_BUF_SIZE 0x8000 62#define HPMC_IODC_BUF_SIZE 0x8000
63 63
64 .align 4096 64 .align PAGE_SIZE
65hpmc_iodc_buf: 65hpmc_iodc_buf:
66 .block HPMC_IODC_BUF_SIZE 66 .block HPMC_IODC_BUF_SIZE
67 67
diff --git a/arch/parisc/kernel/init_task.c b/arch/parisc/kernel/init_task.c
index 446f98d3fd7b..26198a074d67 100644
--- a/arch/parisc/kernel/init_task.c
+++ b/arch/parisc/kernel/init_task.c
@@ -49,7 +49,6 @@ EXPORT_SYMBOL(init_mm);
49 * way process stacks are handled. This is done by having a special 49 * way process stacks are handled. This is done by having a special
50 * "init_task" linker map entry.. 50 * "init_task" linker map entry..
51 */ 51 */
52unsigned char interrupt_stack[ISTACK_SIZE] __attribute__ ((section("init_istack"), aligned(4096)));
53union thread_union init_thread_union 52union thread_union init_thread_union
54 __attribute__((aligned(128))) __attribute__((__section__(".data.init_task"))) = 53 __attribute__((aligned(128))) __attribute__((__section__(".data.init_task"))) =
55 { INIT_THREAD_INFO(init_task) }; 54 { INIT_THREAD_INFO(init_task) };
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S
index 90b240878520..5901092e0196 100644
--- a/arch/parisc/kernel/pacache.S
+++ b/arch/parisc/kernel/pacache.S
@@ -289,7 +289,7 @@ ENTRY(copy_user_page_asm)
289 */ 289 */
290 290
291 ldd 0(%r25), %r19 291 ldd 0(%r25), %r19
292 ldi ASM_PAGE_SIZE_DIV128, %r1 292 ldi (PAGE_SIZE / 128), %r1
293 293
294 ldw 64(%r25), %r0 /* prefetch 1 cacheline ahead */ 294 ldw 64(%r25), %r0 /* prefetch 1 cacheline ahead */
295 ldw 128(%r25), %r0 /* prefetch 2 */ 295 ldw 128(%r25), %r0 /* prefetch 2 */
@@ -355,7 +355,7 @@ ENTRY(copy_user_page_asm)
355 * use ldd/std on a 32 bit kernel. 355 * use ldd/std on a 32 bit kernel.
356 */ 356 */
357 ldw 0(%r25), %r19 357 ldw 0(%r25), %r19
358 ldi ASM_PAGE_SIZE_DIV64, %r1 358 ldi (PAGE_SIZE / 64), %r1
359 359
3601: 3601:
361 ldw 4(%r25), %r20 361 ldw 4(%r25), %r20
@@ -553,7 +553,7 @@ ENTRY(__clear_user_page_asm)
553 pdtlb 0(%r28) 553 pdtlb 0(%r28)
554 554
555#ifdef CONFIG_64BIT 555#ifdef CONFIG_64BIT
556 ldi ASM_PAGE_SIZE_DIV128, %r1 556 ldi (PAGE_SIZE / 128), %r1
557 557
558 /* PREFETCH (Write) has not (yet) been proven to help here */ 558 /* PREFETCH (Write) has not (yet) been proven to help here */
559 /* #define PREFETCHW_OP ldd 256(%0), %r0 */ 559 /* #define PREFETCHW_OP ldd 256(%0), %r0 */
@@ -578,7 +578,7 @@ ENTRY(__clear_user_page_asm)
578 ldo 128(%r28), %r28 578 ldo 128(%r28), %r28
579 579
580#else /* ! CONFIG_64BIT */ 580#else /* ! CONFIG_64BIT */
581 ldi ASM_PAGE_SIZE_DIV64, %r1 581 ldi (PAGE_SIZE / 64), %r1
582 582
5831: 5831:
584 stw %r0, 0(%r28) 584 stw %r0, 0(%r28)
diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c
index 7aca704e96f0..671ee5b9950c 100644
--- a/arch/parisc/kernel/parisc_ksyms.c
+++ b/arch/parisc/kernel/parisc_ksyms.c
@@ -122,31 +122,9 @@ EXPORT_SYMBOL($$divI_12);
122EXPORT_SYMBOL($$divI_14); 122EXPORT_SYMBOL($$divI_14);
123EXPORT_SYMBOL($$divI_15); 123EXPORT_SYMBOL($$divI_15);
124 124
125extern void __ashrdi3(void);
126extern void __ashldi3(void);
127extern void __lshrdi3(void);
128extern void __muldi3(void);
129
130EXPORT_SYMBOL(__ashrdi3);
131EXPORT_SYMBOL(__ashldi3);
132EXPORT_SYMBOL(__lshrdi3);
133EXPORT_SYMBOL(__muldi3);
134
135asmlinkage void * __canonicalize_funcptr_for_compare(void *); 125asmlinkage void * __canonicalize_funcptr_for_compare(void *);
136EXPORT_SYMBOL(__canonicalize_funcptr_for_compare); 126EXPORT_SYMBOL(__canonicalize_funcptr_for_compare);
137 127
138#ifdef CONFIG_64BIT
139extern void __divdi3(void);
140extern void __udivdi3(void);
141extern void __umoddi3(void);
142extern void __moddi3(void);
143
144EXPORT_SYMBOL(__divdi3);
145EXPORT_SYMBOL(__udivdi3);
146EXPORT_SYMBOL(__umoddi3);
147EXPORT_SYMBOL(__moddi3);
148#endif
149
150#ifndef CONFIG_64BIT 128#ifndef CONFIG_64BIT
151extern void $$dyncall(void); 129extern void $$dyncall(void);
152EXPORT_SYMBOL($$dyncall); 130EXPORT_SYMBOL($$dyncall);
diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c
index 23c1388df1f5..41f8e321e34c 100644
--- a/arch/parisc/kernel/pci-dma.c
+++ b/arch/parisc/kernel/pci-dma.c
@@ -569,11 +569,10 @@ static void *fail_alloc_consistent(struct device *dev, size_t size,
569static void *pa11_dma_alloc_noncoherent(struct device *dev, size_t size, 569static void *pa11_dma_alloc_noncoherent(struct device *dev, size_t size,
570 dma_addr_t *dma_handle, gfp_t flag) 570 dma_addr_t *dma_handle, gfp_t flag)
571{ 571{
572 void *addr = NULL; 572 void *addr;
573 573
574 /* rely on kmalloc to be cacheline aligned */ 574 addr = (void *)__get_free_pages(flag, get_order(size));
575 addr = kmalloc(size, flag); 575 if (addr)
576 if(addr)
577 *dma_handle = (dma_addr_t)virt_to_phys(addr); 576 *dma_handle = (dma_addr_t)virt_to_phys(addr);
578 577
579 return addr; 578 return addr;
@@ -582,7 +581,7 @@ static void *pa11_dma_alloc_noncoherent(struct device *dev, size_t size,
582static void pa11_dma_free_noncoherent(struct device *dev, size_t size, 581static void pa11_dma_free_noncoherent(struct device *dev, size_t size,
583 void *vaddr, dma_addr_t iova) 582 void *vaddr, dma_addr_t iova)
584{ 583{
585 kfree(vaddr); 584 free_pages((unsigned long)vaddr, get_order(size));
586 return; 585 return;
587} 586}
588 587
diff --git a/arch/parisc/kernel/pci.c b/arch/parisc/kernel/pci.c
index 563df0072dee..507d0ac99f66 100644
--- a/arch/parisc/kernel/pci.c
+++ b/arch/parisc/kernel/pci.c
@@ -194,37 +194,13 @@ void __init pcibios_init_bus(struct pci_bus *bus)
194 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bridge_ctl); 194 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bridge_ctl);
195} 195}
196 196
197
198/* KLUGE: Link the child and parent resources - generic PCI didn't */
199static void
200pcibios_link_hba_resources( struct resource *hba_res, struct resource *r)
201{
202 if (!r->parent) {
203 printk(KERN_EMERG "PCI: resource not parented! [%p-%p]\n",
204 (void*) r->start, (void*) r->end);
205 r->parent = hba_res;
206
207 /* reverse link is harder *sigh* */
208 if (r->parent->child) {
209 if (r->parent->sibling) {
210 struct resource *next = r->parent->sibling;
211 while (next->sibling)
212 next = next->sibling;
213 next->sibling = r;
214 } else {
215 r->parent->sibling = r;
216 }
217 } else
218 r->parent->child = r;
219 }
220}
221
222/* called by drivers/pci/setup-bus.c:pci_setup_bridge(). */ 197/* called by drivers/pci/setup-bus.c:pci_setup_bridge(). */
223void __devinit pcibios_resource_to_bus(struct pci_dev *dev, 198void __devinit pcibios_resource_to_bus(struct pci_dev *dev,
224 struct pci_bus_region *region, struct resource *res) 199 struct pci_bus_region *region, struct resource *res)
225{ 200{
226 struct pci_bus *bus = dev->bus; 201#ifdef CONFIG_64BIT
227 struct pci_hba_data *hba = HBA_DATA(bus->bridge->platform_data); 202 struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data);
203#endif
228 204
229 if (res->flags & IORESOURCE_IO) { 205 if (res->flags & IORESOURCE_IO) {
230 /* 206 /*
@@ -243,23 +219,15 @@ void __devinit pcibios_resource_to_bus(struct pci_dev *dev,
243 } 219 }
244 220
245 DBG_RES("pcibios_resource_to_bus(%02x %s [%lx,%lx])\n", 221 DBG_RES("pcibios_resource_to_bus(%02x %s [%lx,%lx])\n",
246 bus->number, res->flags & IORESOURCE_IO ? "IO" : "MEM", 222 dev->bus->number, res->flags & IORESOURCE_IO ? "IO" : "MEM",
247 region->start, region->end); 223 region->start, region->end);
248
249 /* KLUGE ALERT
250 ** if this resource isn't linked to a "parent", then it seems
251 ** to be a child of the HBA - lets link it in.
252 */
253 pcibios_link_hba_resources(&hba->io_space, bus->resource[0]);
254 pcibios_link_hba_resources(&hba->lmmio_space, bus->resource[1]);
255} 224}
256 225
257void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, 226void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res,
258 struct pci_bus_region *region) 227 struct pci_bus_region *region)
259{ 228{
260#ifdef CONFIG_64BIT 229#ifdef CONFIG_64BIT
261 struct pci_bus *bus = dev->bus; 230 struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data);
262 struct pci_hba_data *hba = HBA_DATA(bus->bridge->platform_data);
263#endif 231#endif
264 232
265 if (res->flags & IORESOURCE_MEM) { 233 if (res->flags & IORESOURCE_MEM) {
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c
index 549f5484342c..370086fb8333 100644
--- a/arch/parisc/kernel/processor.c
+++ b/arch/parisc/kernel/processor.c
@@ -82,7 +82,12 @@ static int __cpuinit processor_probe(struct parisc_device *dev)
82 unsigned long cpuid; 82 unsigned long cpuid;
83 struct cpuinfo_parisc *p; 83 struct cpuinfo_parisc *p;
84 84
85#ifndef CONFIG_SMP 85#ifdef CONFIG_SMP
86 if (num_online_cpus() >= NR_CPUS) {
87 printk(KERN_INFO "num_online_cpus() >= NR_CPUS\n");
88 return 1;
89 }
90#else
86 if (boot_cpu_data.cpu_count > 0) { 91 if (boot_cpu_data.cpu_count > 0) {
87 printk(KERN_INFO "CONFIG_SMP=n ignoring additional CPUs\n"); 92 printk(KERN_INFO "CONFIG_SMP=n ignoring additional CPUs\n");
88 return 1; 93 return 1;
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c
index d7bc7bb42c94..85fc7754ec25 100644
--- a/arch/parisc/kernel/smp.c
+++ b/arch/parisc/kernel/smp.c
@@ -432,22 +432,10 @@ smp_cpu_init(int cpunum)
432void __init smp_callin(void) 432void __init smp_callin(void)
433{ 433{
434 int slave_id = cpu_now_booting; 434 int slave_id = cpu_now_booting;
435#if 0
436 void *istack;
437#endif
438 435
439 smp_cpu_init(slave_id); 436 smp_cpu_init(slave_id);
440 preempt_disable(); 437 preempt_disable();
441 438
442#if 0 /* NOT WORKING YET - see entry.S */
443 istack = (void *)__get_free_pages(GFP_KERNEL,ISTACK_ORDER);
444 if (istack == NULL) {
445 printk(KERN_CRIT "Failed to allocate interrupt stack for cpu %d\n",slave_id);
446 BUG();
447 }
448 mtctl(istack,31);
449#endif
450
451 flush_cache_all_local(); /* start with known state */ 439 flush_cache_all_local(); /* start with known state */
452 flush_tlb_all_local(NULL); 440 flush_tlb_all_local(NULL);
453 441
diff --git a/arch/parisc/kernel/sys_parisc32.c b/arch/parisc/kernel/sys_parisc32.c
index 2989c6682bf6..50bbf33ee00c 100644
--- a/arch/parisc/kernel/sys_parisc32.c
+++ b/arch/parisc/kernel/sys_parisc32.c
@@ -473,3 +473,10 @@ long sys32_lookup_dcookie(u32 cookie_high, u32 cookie_low, char __user *buf,
473 return sys_lookup_dcookie((u64)cookie_high << 32 | cookie_low, 473 return sys_lookup_dcookie((u64)cookie_high << 32 | cookie_low,
474 buf, len); 474 buf, len);
475} 475}
476
477asmlinkage long compat_sys_fallocate(int fd, int mode, u32 offhi, u32 offlo,
478 u32 lenhi, u32 lenlo)
479{
480 return sys_fallocate(fd, mode, ((loff_t)offhi << 32) | offlo,
481 ((loff_t)lenhi << 32) | lenlo);
482}
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S
index 56f6231cb863..69b6eebc466e 100644
--- a/arch/parisc/kernel/syscall.S
+++ b/arch/parisc/kernel/syscall.S
@@ -10,6 +10,7 @@
10#include <asm/asm-offsets.h> 10#include <asm/asm-offsets.h>
11#include <asm/unistd.h> 11#include <asm/unistd.h>
12#include <asm/errno.h> 12#include <asm/errno.h>
13#include <asm/page.h>
13#include <asm/psw.h> 14#include <asm/psw.h>
14#include <asm/thread_info.h> 15#include <asm/thread_info.h>
15#include <asm/assembly.h> 16#include <asm/assembly.h>
@@ -38,7 +39,7 @@
38 * pointers. 39 * pointers.
39 */ 40 */
40 41
41 .align ASM_PAGE_SIZE 42 .align PAGE_SIZE
42ENTRY(linux_gateway_page) 43ENTRY(linux_gateway_page)
43 44
44 /* ADDRESS 0x00 to 0xb0 = 176 bytes / 4 bytes per insn = 44 insns */ 45 /* ADDRESS 0x00 to 0xb0 = 176 bytes / 4 bytes per insn = 44 insns */
@@ -597,7 +598,7 @@ cas_action:
597 598
598 599
599 /* Make sure nothing else is placed on this page */ 600 /* Make sure nothing else is placed on this page */
600 .align ASM_PAGE_SIZE 601 .align PAGE_SIZE
601END(linux_gateway_page) 602END(linux_gateway_page)
602ENTRY(end_linux_gateway_page) 603ENTRY(end_linux_gateway_page)
603 604
@@ -608,7 +609,7 @@ ENTRY(end_linux_gateway_page)
608 609
609 .section .rodata,"a" 610 .section .rodata,"a"
610 611
611 .align ASM_PAGE_SIZE 612 .align PAGE_SIZE
612 /* Light-weight-syscall table */ 613 /* Light-weight-syscall table */
613 /* Start of lws table. */ 614 /* Start of lws table. */
614ENTRY(lws_table) 615ENTRY(lws_table)
@@ -617,13 +618,13 @@ ENTRY(lws_table)
617END(lws_table) 618END(lws_table)
618 /* End of lws table */ 619 /* End of lws table */
619 620
620 .align ASM_PAGE_SIZE 621 .align PAGE_SIZE
621ENTRY(sys_call_table) 622ENTRY(sys_call_table)
622#include "syscall_table.S" 623#include "syscall_table.S"
623END(sys_call_table) 624END(sys_call_table)
624 625
625#ifdef CONFIG_64BIT 626#ifdef CONFIG_64BIT
626 .align ASM_PAGE_SIZE 627 .align PAGE_SIZE
627ENTRY(sys_call_table64) 628ENTRY(sys_call_table64)
628#define SYSCALL_TABLE_64BIT 629#define SYSCALL_TABLE_64BIT
629#include "syscall_table.S" 630#include "syscall_table.S"
@@ -636,7 +637,7 @@ END(sys_call_table64)
636 will use this set of locks 637 will use this set of locks
637 */ 638 */
638 .section .data 639 .section .data
639 .align 4096 640 .align PAGE_SIZE
640ENTRY(lws_lock_start) 641ENTRY(lws_lock_start)
641 /* lws locks */ 642 /* lws locks */
642 .align 16 643 .align 16
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 2540786a970f..117438e9eb2a 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -403,6 +403,7 @@
403 ENTRY_COMP(signalfd) 403 ENTRY_COMP(signalfd)
404 ENTRY_COMP(timerfd) 404 ENTRY_COMP(timerfd)
405 ENTRY_SAME(eventfd) 405 ENTRY_SAME(eventfd)
406 ENTRY_COMP(fallocate) /* 305 */
406 407
407 /* Nothing yet */ 408 /* Nothing yet */
408 409
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index 8b3062a5c812..24be86bba94d 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -189,16 +189,14 @@ static struct clocksource clocksource_cr16 = {
189#ifdef CONFIG_SMP 189#ifdef CONFIG_SMP
190int update_cr16_clocksource(void) 190int update_cr16_clocksource(void)
191{ 191{
192 int change = 0;
193
194 /* since the cr16 cycle counters are not synchronized across CPUs, 192 /* since the cr16 cycle counters are not synchronized across CPUs,
195 we'll check if we should switch to a safe clocksource: */ 193 we'll check if we should switch to a safe clocksource: */
196 if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) { 194 if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) {
197 clocksource_change_rating(&clocksource_cr16, 0); 195 clocksource_change_rating(&clocksource_cr16, 0);
198 change = 1; 196 return 1;
199 } 197 }
200 198
201 return change; 199 return 0;
202} 200}
203#else 201#else
204int update_cr16_clocksource(void) 202int update_cr16_clocksource(void)
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c
index cf780cb3b916..701b2d2d8882 100644
--- a/arch/parisc/kernel/unwind.c
+++ b/arch/parisc/kernel/unwind.c
@@ -209,8 +209,8 @@ static int unwind_init(void)
209 209
210static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size) 210static int unwind_special(struct unwind_frame_info *info, unsigned long pc, int frame_size)
211{ 211{
212 void handle_interruption(int, struct pt_regs *); 212 extern void handle_interruption(int, struct pt_regs *);
213 static unsigned long *hi = (unsigned long)&handle_interruption; 213 static unsigned long *hi = (unsigned long *)&handle_interruption;
214 214
215 if (pc == get_func_addr(hi)) { 215 if (pc == get_func_addr(hi)) {
216 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN); 216 struct pt_regs *regs = (struct pt_regs *)(info->sp - frame_size - PT_SZ_ALGN);
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index ee7a16eb6fdd..40d0ff9b81ab 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -46,168 +46,211 @@ jiffies = jiffies_64;
46#endif 46#endif
47SECTIONS 47SECTIONS
48{ 48{
49 . = KERNEL_BINARY_TEXT_START;
49 50
50 . = KERNEL_BINARY_TEXT_START; 51 _text = .; /* Text and read-only data */
51 52 .text ALIGN(16) : {
52 _text = .; /* Text and read-only data */ 53 TEXT_TEXT
53 .text ALIGN(16) : { 54 SCHED_TEXT
54 TEXT_TEXT 55 LOCK_TEXT
55 SCHED_TEXT 56 *(.text.do_softirq)
56 LOCK_TEXT 57 *(.text.sys_exit)
57 *(.text.do_softirq) 58 *(.text.do_sigaltstack)
58 *(.text.sys_exit) 59 *(.text.do_fork)
59 *(.text.do_sigaltstack) 60 *(.text.*)
60 *(.text.do_fork) 61 *(.fixup)
61 *(.text.*) 62 *(.lock.text) /* out-of-line lock text */
62 *(.fixup) 63 *(.gnu.warning)
63 *(.lock.text) /* out-of-line lock text */
64 *(.gnu.warning)
65 } = 0 64 } = 0
65 /* End of text section */
66 _etext = .;
66 67
67 _etext = .; /* End of text section */ 68 RODATA
69 BUG_TABLE
68 70
69 RODATA 71 /* writeable */
70 72 /* Make sure this is page aligned so
71 BUG_TABLE 73 * that we can properly leave these
72 74 * as writable
73 /* writeable */ 75 */
74 . = ALIGN(ASM_PAGE_SIZE); /* Make sure this is page aligned so 76 . = ALIGN(PAGE_SIZE);
75 that we can properly leave these 77 data_start = .;
76 as writable */ 78 . = ALIGN(16);
77 data_start = .; 79 /* Exception table */
78 80 __ex_table : {
79 . = ALIGN(16); /* Exception table */ 81 __start___ex_table = .;
80 __start___ex_table = .; 82 *(__ex_table)
81 __ex_table : { *(__ex_table) } 83 __stop___ex_table = .;
82 __stop___ex_table = .; 84 }
83 85
84 NOTES 86 NOTES
85 87
86 __start___unwind = .; /* unwind info */ 88 /* unwind info */
87 .PARISC.unwind : { *(.PARISC.unwind) } 89 .PARISC.unwind : {
88 __stop___unwind = .; 90 __start___unwind = .;
91 *(.PARISC.unwind)
92 __stop___unwind = .;
93 }
89 94
90 /* rarely changed data like cpu maps */ 95 /* rarely changed data like cpu maps */
91 . = ALIGN(16); 96 . = ALIGN(16);
92 .data.read_mostly : { *(.data.read_mostly) } 97 .data.read_mostly : {
98 *(.data.read_mostly)
99 }
93 100
94 . = ALIGN(L1_CACHE_BYTES); 101 . = ALIGN(L1_CACHE_BYTES);
95 .data : { /* Data */ 102 /* Data */
96 DATA_DATA 103 .data : {
97 CONSTRUCTORS 104 DATA_DATA
105 CONSTRUCTORS
98 } 106 }
99 107
100 . = ALIGN(L1_CACHE_BYTES); 108 . = ALIGN(L1_CACHE_BYTES);
101 .data.cacheline_aligned : { *(.data.cacheline_aligned) } 109 .data.cacheline_aligned : {
110 *(.data.cacheline_aligned)
111 }
102 112
103 /* PA-RISC locks requires 16-byte alignment */ 113 /* PA-RISC locks requires 16-byte alignment */
104 . = ALIGN(16); 114 . = ALIGN(16);
105 .data.lock_aligned : { *(.data.lock_aligned) } 115 .data.lock_aligned : {
116 *(.data.lock_aligned)
117 }
106 118
107 . = ALIGN(ASM_PAGE_SIZE); 119 /* nosave data is really only used for software suspend...it's here
108 /* nosave data is really only used for software suspend...it's here 120 * just in case we ever implement it
109 * just in case we ever implement it */ 121 */
110 __nosave_begin = .; 122 . = ALIGN(PAGE_SIZE);
111 .data_nosave : { *(.data.nosave) } 123 __nosave_begin = .;
112 . = ALIGN(ASM_PAGE_SIZE); 124 .data_nosave : {
113 __nosave_end = .; 125 *(.data.nosave)
126 }
127 . = ALIGN(PAGE_SIZE);
128 __nosave_end = .;
114 129
115 _edata = .; /* End of data section */ 130 /* End of data section */
131 _edata = .;
116 132
117 __bss_start = .; /* BSS */ 133 /* BSS */
118 /* page table entries need to be PAGE_SIZE aligned */ 134 __bss_start = .;
119 . = ALIGN(ASM_PAGE_SIZE); 135 /* page table entries need to be PAGE_SIZE aligned */
120 .data.vmpages : { 136 . = ALIGN(PAGE_SIZE);
121 *(.data.vm0.pmd) 137 .data.vmpages : {
122 *(.data.vm0.pgd) 138 *(.data.vm0.pmd)
123 *(.data.vm0.pte) 139 *(.data.vm0.pgd)
140 *(.data.vm0.pte)
124 } 141 }
125 .bss : { *(.bss) *(COMMON) } 142 .bss : {
126 __bss_stop = .; 143 *(.bss)
127 144 *(COMMON)
145 }
146 __bss_stop = .;
128 147
129 /* assembler code expects init_task to be 16k aligned */
130 . = ALIGN(16384); /* init_task */
131 .data.init_task : { *(.data.init_task) }
132 148
133 /* The interrupt stack is currently partially coded, but not yet 149 /* assembler code expects init_task to be 16k aligned */
134 * implemented */ 150 . = ALIGN(16384);
135 . = ALIGN(16384); 151 /* init_task */
136 init_istack : { *(init_istack) } 152 .data.init_task : {
153 *(.data.init_task)
154 }
137 155
138#ifdef CONFIG_64BIT 156#ifdef CONFIG_64BIT
139 . = ALIGN(16); /* Linkage tables */ 157 . = ALIGN(16);
140 .opd : { *(.opd) } PROVIDE (__gp = .); 158 /* Linkage tables */
141 .plt : { *(.plt) } 159 .opd : {
142 .dlt : { *(.dlt) } 160 *(.opd)
161 } PROVIDE (__gp = .);
162 .plt : {
163 *(.plt)
164 }
165 .dlt : {
166 *(.dlt)
167 }
143#endif 168#endif
144 169
145 /* reserve space for interrupt stack by aligning __init* to 16k */ 170 /* reserve space for interrupt stack by aligning __init* to 16k */
146 . = ALIGN(16384); 171 . = ALIGN(16384);
147 __init_begin = .; 172 __init_begin = .;
148 .init.text : { 173 .init.text : {
149 _sinittext = .; 174 _sinittext = .;
150 *(.init.text) 175 *(.init.text)
151 _einittext = .; 176 _einittext = .;
152 } 177 }
153 .init.data : { *(.init.data) } 178 .init.data : {
154 . = ALIGN(16); 179 *(.init.data)
155 __setup_start = .; 180 }
156 .init.setup : { *(.init.setup) } 181 . = ALIGN(16);
157 __setup_end = .; 182 .init.setup : {
158 __initcall_start = .; 183 __setup_start = .;
159 .initcall.init : { 184 *(.init.setup)
160 INITCALLS 185 __setup_end = .;
161 } 186 }
162 __initcall_end = .; 187 .initcall.init : {
163 __con_initcall_start = .; 188 __initcall_start = .;
164 .con_initcall.init : { *(.con_initcall.init) } 189 INITCALLS
165 __con_initcall_end = .; 190 __initcall_end = .;
166 SECURITY_INIT 191 }
167 /* alternate instruction replacement. This is a mechanism x86 uses 192 .con_initcall.init : {
168 * to detect the CPU type and replace generic instruction sequences 193 __con_initcall_start = .;
169 * with CPU specific ones. We don't currently do this in PA, but 194 *(.con_initcall.init)
170 * it seems like a good idea... */ 195 __con_initcall_end = .;
171 . = ALIGN(4); 196 }
172 __alt_instructions = .; 197 SECURITY_INIT
173 .altinstructions : { *(.altinstructions) } 198
174 __alt_instructions_end = .; 199 /* alternate instruction replacement. This is a mechanism x86 uses
175 .altinstr_replacement : { *(.altinstr_replacement) } 200 * to detect the CPU type and replace generic instruction sequences
176 /* .exit.text is discard at runtime, not link time, to deal with references 201 * with CPU specific ones. We don't currently do this in PA, but
177 from .altinstructions and .eh_frame */ 202 * it seems like a good idea...
178 .exit.text : { *(.exit.text) } 203 */
179 .exit.data : { *(.exit.data) } 204 . = ALIGN(4);
205 .altinstructions : {
206 __alt_instructions = .;
207 *(.altinstructions)
208 __alt_instructions_end = .;
209 }
210 .altinstr_replacement : {
211 *(.altinstr_replacement)
212 }
213
214 /* .exit.text is discard at runtime, not link time, to deal with references
215 * from .altinstructions and .eh_frame
216 */
217 .exit.text : {
218 *(.exit.text)
219 }
220 .exit.data : {
221 *(.exit.data)
222 }
180#ifdef CONFIG_BLK_DEV_INITRD 223#ifdef CONFIG_BLK_DEV_INITRD
181 . = ALIGN(ASM_PAGE_SIZE); 224 . = ALIGN(PAGE_SIZE);
182 __initramfs_start = .; 225 .init.ramfs : {
183 .init.ramfs : { *(.init.ramfs) } 226 __initramfs_start = .;
184 __initramfs_end = .; 227 *(.init.ramfs)
228 __initramfs_end = .;
229 }
185#endif 230#endif
186 231
187 PERCPU(ASM_PAGE_SIZE) 232 PERCPU(PAGE_SIZE)
233 . = ALIGN(PAGE_SIZE);
234 __init_end = .;
235 /* freed after init ends here */
236 _end = . ;
188 237
189 . = ALIGN(ASM_PAGE_SIZE); 238 /* Sections to be discarded */
190 __init_end = .; 239 /DISCARD/ : {
191 /* freed after init ends here */ 240 *(.exitcall.exit)
192
193 _end = . ;
194
195 /* Sections to be discarded */
196 /DISCARD/ : {
197 *(.exitcall.exit)
198#ifdef CONFIG_64BIT 241#ifdef CONFIG_64BIT
199 /* temporary hack until binutils is fixed to not emit these 242 /* temporary hack until binutils is fixed to not emit these
200 for static binaries */ 243 * for static binaries
201 *(.interp) 244 */
202 *(.dynsym) 245 *(.interp)
203 *(.dynstr) 246 *(.dynsym)
204 *(.dynamic) 247 *(.dynstr)
205 *(.hash) 248 *(.dynamic)
206 *(.gnu.hash) 249 *(.hash)
250 *(.gnu.hash)
207#endif 251#endif
208 } 252 }
209 253
210 STABS_DEBUG 254 STABS_DEBUG
211 .note 0 : { *(.note) } 255 .note 0 : { *(.note) }
212
213} 256}
diff --git a/arch/parisc/lib/Makefile b/arch/parisc/lib/Makefile
index 5f2e6904d14a..7ce406c7daf5 100644
--- a/arch/parisc/lib/Makefile
+++ b/arch/parisc/lib/Makefile
@@ -4,4 +4,4 @@
4 4
5lib-y := lusercopy.o bitops.o checksum.o io.o memset.o fixup.o memcpy.o 5lib-y := lusercopy.o bitops.o checksum.o io.o memset.o fixup.o memcpy.o
6 6
7obj-y := iomap.o 7obj-y := libgcc/ milli/ iomap.o
diff --git a/arch/parisc/lib/libgcc/Makefile b/arch/parisc/lib/libgcc/Makefile
new file mode 100644
index 000000000000..b67a85ad9c87
--- /dev/null
+++ b/arch/parisc/lib/libgcc/Makefile
@@ -0,0 +1,4 @@
1obj-y := __ashldi3.o __ashrdi3.o __clzsi2.o __divdi3.o __divsi3.o \
2 __lshrdi3.o __moddi3.o __modsi3.o __udivdi3.o \
3 __udivmoddi4.o __udivmodsi4.o __udivsi3.o \
4 __umoddi3.o __umodsi3.o __muldi3.o __umulsidi3.o
diff --git a/arch/parisc/lib/libgcc/__ashldi3.c b/arch/parisc/lib/libgcc/__ashldi3.c
new file mode 100644
index 000000000000..a14a257abb2b
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__ashldi3.c
@@ -0,0 +1,19 @@
1#include "libgcc.h"
2
3u64 __ashldi3(u64 v, int cnt)
4{
5 int c = cnt & 31;
6 u32 vl = (u32) v;
7 u32 vh = (u32) (v >> 32);
8
9 if (cnt & 32) {
10 vh = (vl << c);
11 vl = 0;
12 } else {
13 vh = (vh << c) + (vl >> (32 - c));
14 vl = (vl << c);
15 }
16
17 return ((u64) vh << 32) + vl;
18}
19EXPORT_SYMBOL(__ashldi3);
diff --git a/arch/parisc/lib/libgcc/__ashrdi3.c b/arch/parisc/lib/libgcc/__ashrdi3.c
new file mode 100644
index 000000000000..8636a5aa4f77
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__ashrdi3.c
@@ -0,0 +1,19 @@
1#include "libgcc.h"
2
3u64 __ashrdi3(u64 v, int cnt)
4{
5 int c = cnt & 31;
6 u32 vl = (u32) v;
7 u32 vh = (u32) (v >> 32);
8
9 if (cnt & 32) {
10 vl = ((s32) vh >> c);
11 vh = (s32) vh >> 31;
12 } else {
13 vl = (vl >> c) + (vh << (32 - c));
14 vh = ((s32) vh >> c);
15 }
16
17 return ((u64) vh << 32) + vl;
18}
19EXPORT_SYMBOL(__ashrdi3);
diff --git a/arch/parisc/lib/libgcc/__clzsi2.c b/arch/parisc/lib/libgcc/__clzsi2.c
new file mode 100644
index 000000000000..a7aa2f55a9c6
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__clzsi2.c
@@ -0,0 +1,30 @@
1#include "libgcc.h"
2
3u32 __clzsi2(u32 v)
4{
5 int p = 31;
6
7 if (v & 0xffff0000) {
8 p -= 16;
9 v >>= 16;
10 }
11 if (v & 0xff00) {
12 p -= 8;
13 v >>= 8;
14 }
15 if (v & 0xf0) {
16 p -= 4;
17 v >>= 4;
18 }
19 if (v & 0xc) {
20 p -= 2;
21 v >>= 2;
22 }
23 if (v & 0x2) {
24 p -= 1;
25 v >>= 1;
26 }
27
28 return p;
29}
30EXPORT_SYMBOL(__clzsi2);
diff --git a/arch/parisc/lib/libgcc/__divdi3.c b/arch/parisc/lib/libgcc/__divdi3.c
new file mode 100644
index 000000000000..f23c6fe2838b
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__divdi3.c
@@ -0,0 +1,23 @@
1#include "libgcc.h"
2
3s64 __divdi3(s64 num, s64 den)
4{
5 int minus = 0;
6 s64 v;
7
8 if (num < 0) {
9 num = -num;
10 minus = 1;
11 }
12 if (den < 0) {
13 den = -den;
14 minus ^= 1;
15 }
16
17 v = __udivmoddi4(num, den, NULL);
18 if (minus)
19 v = -v;
20
21 return v;
22}
23EXPORT_SYMBOL(__divdi3);
diff --git a/arch/parisc/lib/libgcc/__divsi3.c b/arch/parisc/lib/libgcc/__divsi3.c
new file mode 100644
index 000000000000..730fb530680d
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__divsi3.c
@@ -0,0 +1,23 @@
1#include "libgcc.h"
2
3s32 __divsi3(s32 num, s32 den)
4{
5 int minus = 0;
6 s32 v;
7
8 if (num < 0) {
9 num = -num;
10 minus = 1;
11 }
12 if (den < 0) {
13 den = -den;
14 minus ^= 1;
15 }
16
17 v = __udivmodsi4(num, den, NULL);
18 if (minus)
19 v = -v;
20
21 return v;
22}
23EXPORT_SYMBOL(__divsi3);
diff --git a/arch/parisc/lib/libgcc/__lshrdi3.c b/arch/parisc/lib/libgcc/__lshrdi3.c
new file mode 100644
index 000000000000..4a820708ec57
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__lshrdi3.c
@@ -0,0 +1,19 @@
1#include "libgcc.h"
2
3u64 __lshrdi3(u64 v, int cnt)
4{
5 int c = cnt & 31;
6 u32 vl = (u32) v;
7 u32 vh = (u32) (v >> 32);
8
9 if (cnt & 32) {
10 vl = (vh >> c);
11 vh = 0;
12 } else {
13 vl = (vl >> c) + (vh << (32 - c));
14 vh = (vh >> c);
15 }
16
17 return ((u64) vh << 32) + vl;
18}
19EXPORT_SYMBOL(__lshrdi3);
diff --git a/arch/parisc/lib/libgcc/__moddi3.c b/arch/parisc/lib/libgcc/__moddi3.c
new file mode 100644
index 000000000000..ed64bbafc989
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__moddi3.c
@@ -0,0 +1,23 @@
1#include "libgcc.h"
2
3s64 __moddi3(s64 num, s64 den)
4{
5 int minus = 0;
6 s64 v;
7
8 if (num < 0) {
9 num = -num;
10 minus = 1;
11 }
12 if (den < 0) {
13 den = -den;
14 minus ^= 1;
15 }
16
17 (void)__udivmoddi4(num, den, (u64 *) & v);
18 if (minus)
19 v = -v;
20
21 return v;
22}
23EXPORT_SYMBOL(__moddi3);
diff --git a/arch/parisc/lib/libgcc/__modsi3.c b/arch/parisc/lib/libgcc/__modsi3.c
new file mode 100644
index 000000000000..62f773efaeea
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__modsi3.c
@@ -0,0 +1,23 @@
1#include "libgcc.h"
2
3s32 __modsi3(s32 num, s32 den)
4{
5 int minus = 0;
6 s32 v;
7
8 if (num < 0) {
9 num = -num;
10 minus = 1;
11 }
12 if (den < 0) {
13 den = -den;
14 minus ^= 1;
15 }
16
17 (void)__udivmodsi4(num, den, (u32 *) & v);
18 if (minus)
19 v = -v;
20
21 return v;
22}
23EXPORT_SYMBOL(__modsi3);
diff --git a/arch/parisc/lib/libgcc/__muldi3.c b/arch/parisc/lib/libgcc/__muldi3.c
new file mode 100644
index 000000000000..3308abdd5580
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__muldi3.c
@@ -0,0 +1,22 @@
1#include "libgcc.h"
2
3union DWunion {
4 struct {
5 s32 high;
6 s32 low;
7 } s;
8 s64 ll;
9};
10
11s64 __muldi3(s64 u, s64 v)
12{
13 const union DWunion uu = { .ll = u };
14 const union DWunion vv = { .ll = v };
15 union DWunion w = { .ll = __umulsidi3(uu.s.low, vv.s.low) };
16
17 w.s.high += ((u32)uu.s.low * (u32)vv.s.high
18 + (u32)uu.s.high * (u32)vv.s.low);
19
20 return w.ll;
21}
22EXPORT_SYMBOL(__muldi3);
diff --git a/arch/parisc/lib/libgcc/__udivdi3.c b/arch/parisc/lib/libgcc/__udivdi3.c
new file mode 100644
index 000000000000..740023d690f5
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__udivdi3.c
@@ -0,0 +1,7 @@
1#include "libgcc.h"
2
3u64 __udivdi3(u64 num, u64 den)
4{
5 return __udivmoddi4(num, den, NULL);
6}
7EXPORT_SYMBOL(__udivdi3);
diff --git a/arch/parisc/lib/libgcc/__udivmoddi4.c b/arch/parisc/lib/libgcc/__udivmoddi4.c
new file mode 100644
index 000000000000..2df0caa5a7d8
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__udivmoddi4.c
@@ -0,0 +1,31 @@
1#include "libgcc.h"
2
3u64 __udivmoddi4(u64 num, u64 den, u64 * rem_p)
4{
5 u64 quot = 0, qbit = 1;
6
7 if (den == 0) {
8 BUG();
9 }
10
11 /* Left-justify denominator and count shift */
12 while ((s64) den >= 0) {
13 den <<= 1;
14 qbit <<= 1;
15 }
16
17 while (qbit) {
18 if (den <= num) {
19 num -= den;
20 quot += qbit;
21 }
22 den >>= 1;
23 qbit >>= 1;
24 }
25
26 if (rem_p)
27 *rem_p = num;
28
29 return quot;
30}
31EXPORT_SYMBOL(__udivmoddi4);
diff --git a/arch/parisc/lib/libgcc/__udivmodsi4.c b/arch/parisc/lib/libgcc/__udivmodsi4.c
new file mode 100644
index 000000000000..2a2fc28b2026
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__udivmodsi4.c
@@ -0,0 +1,31 @@
1#include "libgcc.h"
2
3u32 __udivmodsi4(u32 num, u32 den, u32 * rem_p)
4{
5 u32 quot = 0, qbit = 1;
6
7 if (den == 0) {
8 BUG();
9 }
10
11 /* Left-justify denominator and count shift */
12 while ((s32) den >= 0) {
13 den <<= 1;
14 qbit <<= 1;
15 }
16
17 while (qbit) {
18 if (den <= num) {
19 num -= den;
20 quot += qbit;
21 }
22 den >>= 1;
23 qbit >>= 1;
24 }
25
26 if (rem_p)
27 *rem_p = num;
28
29 return quot;
30}
31EXPORT_SYMBOL(__udivmodsi4);
diff --git a/arch/parisc/lib/libgcc/__udivsi3.c b/arch/parisc/lib/libgcc/__udivsi3.c
new file mode 100644
index 000000000000..756a44164e90
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__udivsi3.c
@@ -0,0 +1,7 @@
1#include "libgcc.h"
2
3u32 __udivsi3(u32 num, u32 den)
4{
5 return __udivmodsi4(num, den, NULL);
6}
7EXPORT_SYMBOL(__udivsi3);
diff --git a/arch/parisc/lib/libgcc/__umoddi3.c b/arch/parisc/lib/libgcc/__umoddi3.c
new file mode 100644
index 000000000000..ac744e948bc1
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__umoddi3.c
@@ -0,0 +1,10 @@
1#include "libgcc.h"
2
3u64 __umoddi3(u64 num, u64 den)
4{
5 u64 v;
6
7 (void)__udivmoddi4(num, den, &v);
8 return v;
9}
10EXPORT_SYMBOL(__umoddi3);
diff --git a/arch/parisc/lib/libgcc/__umodsi3.c b/arch/parisc/lib/libgcc/__umodsi3.c
new file mode 100644
index 000000000000..51f55aa89f9a
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__umodsi3.c
@@ -0,0 +1,10 @@
1#include "libgcc.h"
2
3u32 __umodsi3(u32 num, u32 den)
4{
5 u32 v;
6
7 (void)__udivmodsi4(num, den, &v);
8 return v;
9}
10EXPORT_SYMBOL(__umodsi3);
diff --git a/arch/parisc/lib/libgcc/__umulsidi3.c b/arch/parisc/lib/libgcc/__umulsidi3.c
new file mode 100644
index 000000000000..396f669164d4
--- /dev/null
+++ b/arch/parisc/lib/libgcc/__umulsidi3.c
@@ -0,0 +1,46 @@
1#include "libgcc.h"
2
3#define __ll_B ((u32) 1 << (32 / 2))
4#define __ll_lowpart(t) ((u32) (t) & (__ll_B - 1))
5#define __ll_highpart(t) ((u32) (t) >> 16)
6
7#define umul_ppmm(w1, w0, u, v) \
8 do { \
9 u32 __x0, __x1, __x2, __x3; \
10 u16 __ul, __vl, __uh, __vh; \
11 \
12 __ul = __ll_lowpart (u); \
13 __uh = __ll_highpart (u); \
14 __vl = __ll_lowpart (v); \
15 __vh = __ll_highpart (v); \
16 \
17 __x0 = (u32) __ul * __vl; \
18 __x1 = (u32) __ul * __vh; \
19 __x2 = (u32) __uh * __vl; \
20 __x3 = (u32) __uh * __vh; \
21 \
22 __x1 += __ll_highpart (__x0);/* this can't give carry */ \
23 __x1 += __x2; /* but this indeed can */ \
24 if (__x1 < __x2) /* did we get it? */ \
25 __x3 += __ll_B; /* yes, add it in the proper pos. */ \
26 \
27 (w1) = __x3 + __ll_highpart (__x1); \
28 (w0) = __ll_lowpart (__x1) * __ll_B + __ll_lowpart (__x0); \
29 } while (0)
30
31union DWunion {
32 struct {
33 s32 high;
34 s32 low;
35 } s;
36 s64 ll;
37};
38
39u64 __umulsidi3(u32 u, u32 v)
40{
41 union DWunion __w;
42
43 umul_ppmm(__w.s.high, __w.s.low, u, v);
44
45 return __w.ll;
46}
diff --git a/arch/parisc/lib/libgcc/libgcc.h b/arch/parisc/lib/libgcc/libgcc.h
new file mode 100644
index 000000000000..5a6f7a510fbd
--- /dev/null
+++ b/arch/parisc/lib/libgcc/libgcc.h
@@ -0,0 +1,32 @@
1#ifndef _PA_LIBGCC_H_
2#define _PA_LIBGCC_H_
3
4#include <linux/types.h>
5#include <linux/module.h>
6
7/* Cribbed from klibc/libgcc/ */
8u64 __ashldi3(u64 v, int cnt);
9u64 __ashrdi3(u64 v, int cnt);
10
11u32 __clzsi2(u32 v);
12
13s64 __divdi3(s64 num, s64 den);
14s32 __divsi3(s32 num, s32 den);
15
16u64 __lshrdi3(u64 v, int cnt);
17
18s64 __moddi3(s64 num, s64 den);
19s32 __modsi3(s32 num, s32 den);
20
21u64 __udivdi3(u64 num, u64 den);
22u32 __udivsi3(u32 num, u32 den);
23
24u64 __udivmoddi4(u64 num, u64 den, u64 * rem_p);
25u32 __udivmodsi4(u32 num, u32 den, u32 * rem_p);
26
27u64 __umulsidi3(u32 u, u32 v);
28
29u64 __umoddi3(u64 num, u64 den);
30u32 __umodsi3(u32 num, u32 den);
31
32#endif /*_PA_LIBGCC_H_*/
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c
index 2c43ebe99a9c..d22042d33100 100644
--- a/arch/parisc/lib/memcpy.c
+++ b/arch/parisc/lib/memcpy.c
@@ -139,12 +139,12 @@ DECLARE_PER_CPU(struct exception_data, exception_data);
139#define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e) 139#define stw(_s,_t,_o,_a,_e) def_store_insn(stw,"r",_s,_t,_o,_a,_e)
140 140
141#ifdef CONFIG_PREFETCH 141#ifdef CONFIG_PREFETCH
142extern inline void prefetch_src(const void *addr) 142static inline void prefetch_src(const void *addr)
143{ 143{
144 __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr)); 144 __asm__("ldw 0(" s_space ",%0), %%r0" : : "r" (addr));
145} 145}
146 146
147extern inline void prefetch_dst(const void *addr) 147static inline void prefetch_dst(const void *addr)
148{ 148{
149 __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr)); 149 __asm__("ldd 0(" d_space ",%0), %%r0" : : "r" (addr));
150} 150}
diff --git a/arch/parisc/lib/milli/Makefile b/arch/parisc/lib/milli/Makefile
new file mode 100644
index 000000000000..9b24e9b1f3cb
--- /dev/null
+++ b/arch/parisc/lib/milli/Makefile
@@ -0,0 +1 @@
obj-y := dyncall.o divI.o divU.o remI.o remU.o div_const.o mulI.o
diff --git a/arch/parisc/lib/milli/divI.S b/arch/parisc/lib/milli/divI.S
new file mode 100644
index 000000000000..ac106b7b6f24
--- /dev/null
+++ b/arch/parisc/lib/milli/divI.S
@@ -0,0 +1,254 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_divI
16/* ROUTINES: $$divI, $$divoI
17
18 Single precision divide for signed binary integers.
19
20 The quotient is truncated towards zero.
21 The sign of the quotient is the XOR of the signs of the dividend and
22 divisor.
23 Divide by zero is trapped.
24 Divide of -2**31 by -1 is trapped for $$divoI but not for $$divI.
25
26 INPUT REGISTERS:
27 . arg0 == dividend
28 . arg1 == divisor
29 . mrp == return pc
30 . sr0 == return space when called externally
31
32 OUTPUT REGISTERS:
33 . arg0 = undefined
34 . arg1 = undefined
35 . ret1 = quotient
36
37 OTHER REGISTERS AFFECTED:
38 . r1 = undefined
39
40 SIDE EFFECTS:
41 . Causes a trap under the following conditions:
42 . divisor is zero (traps with ADDIT,= 0,25,0)
43 . dividend==-2**31 and divisor==-1 and routine is $$divoI
44 . (traps with ADDO 26,25,0)
45 . Changes memory at the following places:
46 . NONE
47
48 PERMISSIBLE CONTEXT:
49 . Unwindable.
50 . Suitable for internal or external millicode.
51 . Assumes the special millicode register conventions.
52
53 DISCUSSION:
54 . Branchs to other millicode routines using BE
55 . $$div_# for # being 2,3,4,5,6,7,8,9,10,12,14,15
56 .
57 . For selected divisors, calls a divide by constant routine written by
58 . Karl Pettis. Eligible divisors are 1..15 excluding 11 and 13.
59 .
60 . The only overflow case is -2**31 divided by -1.
61 . Both routines return -2**31 but only $$divoI traps. */
62
63RDEFINE(temp,r1)
64RDEFINE(retreg,ret1) /* r29 */
65RDEFINE(temp1,arg0)
66 SUBSPA_MILLI_DIV
67 ATTR_MILLI
68 .import $$divI_2,millicode
69 .import $$divI_3,millicode
70 .import $$divI_4,millicode
71 .import $$divI_5,millicode
72 .import $$divI_6,millicode
73 .import $$divI_7,millicode
74 .import $$divI_8,millicode
75 .import $$divI_9,millicode
76 .import $$divI_10,millicode
77 .import $$divI_12,millicode
78 .import $$divI_14,millicode
79 .import $$divI_15,millicode
80 .export $$divI,millicode
81 .export $$divoI,millicode
82 .proc
83 .callinfo millicode
84 .entry
85GSYM($$divoI)
86 comib,=,n -1,arg1,LREF(negative1) /* when divisor == -1 */
87GSYM($$divI)
88 ldo -1(arg1),temp /* is there at most one bit set ? */
89 and,<> arg1,temp,r0 /* if not, don't use power of 2 divide */
90 addi,> 0,arg1,r0 /* if divisor > 0, use power of 2 divide */
91 b,n LREF(neg_denom)
92LSYM(pow2)
93 addi,>= 0,arg0,retreg /* if numerator is negative, add the */
94 add arg0,temp,retreg /* (denominaotr -1) to correct for shifts */
95 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */
96 extrs retreg,15,16,retreg /* retreg = retreg >> 16 */
97 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */
98 ldi 0xcc,temp1 /* setup 0xcc in temp1 */
99 extru,= arg1,23,8,temp /* test denominator with 0xff00 */
100 extrs retreg,23,24,retreg /* retreg = retreg >> 8 */
101 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */
102 ldi 0xaa,temp /* setup 0xaa in temp */
103 extru,= arg1,27,4,r0 /* test denominator with 0xf0 */
104 extrs retreg,27,28,retreg /* retreg = retreg >> 4 */
105 and,= arg1,temp1,r0 /* test denominator with 0xcc */
106 extrs retreg,29,30,retreg /* retreg = retreg >> 2 */
107 and,= arg1,temp,r0 /* test denominator with 0xaa */
108 extrs retreg,30,31,retreg /* retreg = retreg >> 1 */
109 MILLIRETN
110LSYM(neg_denom)
111 addi,< 0,arg1,r0 /* if arg1 >= 0, it's not power of 2 */
112 b,n LREF(regular_seq)
113 sub r0,arg1,temp /* make denominator positive */
114 comb,=,n arg1,temp,LREF(regular_seq) /* test against 0x80000000 and 0 */
115 ldo -1(temp),retreg /* is there at most one bit set ? */
116 and,= temp,retreg,r0 /* if so, the denominator is power of 2 */
117 b,n LREF(regular_seq)
118 sub r0,arg0,retreg /* negate numerator */
119 comb,=,n arg0,retreg,LREF(regular_seq) /* test against 0x80000000 */
120 copy retreg,arg0 /* set up arg0, arg1 and temp */
121 copy temp,arg1 /* before branching to pow2 */
122 b LREF(pow2)
123 ldo -1(arg1),temp
124LSYM(regular_seq)
125 comib,>>=,n 15,arg1,LREF(small_divisor)
126 add,>= 0,arg0,retreg /* move dividend, if retreg < 0, */
127LSYM(normal)
128 subi 0,retreg,retreg /* make it positive */
129 sub 0,arg1,temp /* clear carry, */
130 /* negate the divisor */
131 ds 0,temp,0 /* set V-bit to the comple- */
132 /* ment of the divisor sign */
133 add retreg,retreg,retreg /* shift msb bit into carry */
134 ds r0,arg1,temp /* 1st divide step, if no carry */
135 addc retreg,retreg,retreg /* shift retreg with/into carry */
136 ds temp,arg1,temp /* 2nd divide step */
137 addc retreg,retreg,retreg /* shift retreg with/into carry */
138 ds temp,arg1,temp /* 3rd divide step */
139 addc retreg,retreg,retreg /* shift retreg with/into carry */
140 ds temp,arg1,temp /* 4th divide step */
141 addc retreg,retreg,retreg /* shift retreg with/into carry */
142 ds temp,arg1,temp /* 5th divide step */
143 addc retreg,retreg,retreg /* shift retreg with/into carry */
144 ds temp,arg1,temp /* 6th divide step */
145 addc retreg,retreg,retreg /* shift retreg with/into carry */
146 ds temp,arg1,temp /* 7th divide step */
147 addc retreg,retreg,retreg /* shift retreg with/into carry */
148 ds temp,arg1,temp /* 8th divide step */
149 addc retreg,retreg,retreg /* shift retreg with/into carry */
150 ds temp,arg1,temp /* 9th divide step */
151 addc retreg,retreg,retreg /* shift retreg with/into carry */
152 ds temp,arg1,temp /* 10th divide step */
153 addc retreg,retreg,retreg /* shift retreg with/into carry */
154 ds temp,arg1,temp /* 11th divide step */
155 addc retreg,retreg,retreg /* shift retreg with/into carry */
156 ds temp,arg1,temp /* 12th divide step */
157 addc retreg,retreg,retreg /* shift retreg with/into carry */
158 ds temp,arg1,temp /* 13th divide step */
159 addc retreg,retreg,retreg /* shift retreg with/into carry */
160 ds temp,arg1,temp /* 14th divide step */
161 addc retreg,retreg,retreg /* shift retreg with/into carry */
162 ds temp,arg1,temp /* 15th divide step */
163 addc retreg,retreg,retreg /* shift retreg with/into carry */
164 ds temp,arg1,temp /* 16th divide step */
165 addc retreg,retreg,retreg /* shift retreg with/into carry */
166 ds temp,arg1,temp /* 17th divide step */
167 addc retreg,retreg,retreg /* shift retreg with/into carry */
168 ds temp,arg1,temp /* 18th divide step */
169 addc retreg,retreg,retreg /* shift retreg with/into carry */
170 ds temp,arg1,temp /* 19th divide step */
171 addc retreg,retreg,retreg /* shift retreg with/into carry */
172 ds temp,arg1,temp /* 20th divide step */
173 addc retreg,retreg,retreg /* shift retreg with/into carry */
174 ds temp,arg1,temp /* 21st divide step */
175 addc retreg,retreg,retreg /* shift retreg with/into carry */
176 ds temp,arg1,temp /* 22nd divide step */
177 addc retreg,retreg,retreg /* shift retreg with/into carry */
178 ds temp,arg1,temp /* 23rd divide step */
179 addc retreg,retreg,retreg /* shift retreg with/into carry */
180 ds temp,arg1,temp /* 24th divide step */
181 addc retreg,retreg,retreg /* shift retreg with/into carry */
182 ds temp,arg1,temp /* 25th divide step */
183 addc retreg,retreg,retreg /* shift retreg with/into carry */
184 ds temp,arg1,temp /* 26th divide step */
185 addc retreg,retreg,retreg /* shift retreg with/into carry */
186 ds temp,arg1,temp /* 27th divide step */
187 addc retreg,retreg,retreg /* shift retreg with/into carry */
188 ds temp,arg1,temp /* 28th divide step */
189 addc retreg,retreg,retreg /* shift retreg with/into carry */
190 ds temp,arg1,temp /* 29th divide step */
191 addc retreg,retreg,retreg /* shift retreg with/into carry */
192 ds temp,arg1,temp /* 30th divide step */
193 addc retreg,retreg,retreg /* shift retreg with/into carry */
194 ds temp,arg1,temp /* 31st divide step */
195 addc retreg,retreg,retreg /* shift retreg with/into carry */
196 ds temp,arg1,temp /* 32nd divide step, */
197 addc retreg,retreg,retreg /* shift last retreg bit into retreg */
198 xor,>= arg0,arg1,0 /* get correct sign of quotient */
199 sub 0,retreg,retreg /* based on operand signs */
200 MILLIRETN
201 nop
202
203LSYM(small_divisor)
204
205#if defined(CONFIG_64BIT)
206/* Clear the upper 32 bits of the arg1 register. We are working with */
207/* small divisors (and 32-bit integers) We must not be mislead */
208/* by "1" bits left in the upper 32 bits. */
209 depd %r0,31,32,%r25
210#endif
211 blr,n arg1,r0
212 nop
213/* table for divisor == 0,1, ... ,15 */
214 addit,= 0,arg1,r0 /* trap if divisor == 0 */
215 nop
216 MILLIRET /* divisor == 1 */
217 copy arg0,retreg
218 MILLI_BEN($$divI_2) /* divisor == 2 */
219 nop
220 MILLI_BEN($$divI_3) /* divisor == 3 */
221 nop
222 MILLI_BEN($$divI_4) /* divisor == 4 */
223 nop
224 MILLI_BEN($$divI_5) /* divisor == 5 */
225 nop
226 MILLI_BEN($$divI_6) /* divisor == 6 */
227 nop
228 MILLI_BEN($$divI_7) /* divisor == 7 */
229 nop
230 MILLI_BEN($$divI_8) /* divisor == 8 */
231 nop
232 MILLI_BEN($$divI_9) /* divisor == 9 */
233 nop
234 MILLI_BEN($$divI_10) /* divisor == 10 */
235 nop
236 b LREF(normal) /* divisor == 11 */
237 add,>= 0,arg0,retreg
238 MILLI_BEN($$divI_12) /* divisor == 12 */
239 nop
240 b LREF(normal) /* divisor == 13 */
241 add,>= 0,arg0,retreg
242 MILLI_BEN($$divI_14) /* divisor == 14 */
243 nop
244 MILLI_BEN($$divI_15) /* divisor == 15 */
245 nop
246
247LSYM(negative1)
248 sub 0,arg0,retreg /* result is negation of dividend */
249 MILLIRET
250 addo arg0,arg1,r0 /* trap iff dividend==0x80000000 && divisor==-1 */
251 .exit
252 .procend
253 .end
254#endif
diff --git a/arch/parisc/lib/milli/divU.S b/arch/parisc/lib/milli/divU.S
new file mode 100644
index 000000000000..9287fe2546fa
--- /dev/null
+++ b/arch/parisc/lib/milli/divU.S
@@ -0,0 +1,235 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_divU
16/* ROUTINE: $$divU
17 .
18 . Single precision divide for unsigned integers.
19 .
20 . Quotient is truncated towards zero.
21 . Traps on divide by zero.
22
23 INPUT REGISTERS:
24 . arg0 == dividend
25 . arg1 == divisor
26 . mrp == return pc
27 . sr0 == return space when called externally
28
29 OUTPUT REGISTERS:
30 . arg0 = undefined
31 . arg1 = undefined
32 . ret1 = quotient
33
34 OTHER REGISTERS AFFECTED:
35 . r1 = undefined
36
37 SIDE EFFECTS:
38 . Causes a trap under the following conditions:
39 . divisor is zero
40 . Changes memory at the following places:
41 . NONE
42
43 PERMISSIBLE CONTEXT:
44 . Unwindable.
45 . Does not create a stack frame.
46 . Suitable for internal or external millicode.
47 . Assumes the special millicode register conventions.
48
49 DISCUSSION:
50 . Branchs to other millicode routines using BE:
51 . $$divU_# for 3,5,6,7,9,10,12,14,15
52 .
53 . For selected small divisors calls the special divide by constant
54 . routines written by Karl Pettis. These are: 3,5,6,7,9,10,12,14,15. */
55
56RDEFINE(temp,r1)
57RDEFINE(retreg,ret1) /* r29 */
58RDEFINE(temp1,arg0)
59 SUBSPA_MILLI_DIV
60 ATTR_MILLI
61 .export $$divU,millicode
62 .import $$divU_3,millicode
63 .import $$divU_5,millicode
64 .import $$divU_6,millicode
65 .import $$divU_7,millicode
66 .import $$divU_9,millicode
67 .import $$divU_10,millicode
68 .import $$divU_12,millicode
69 .import $$divU_14,millicode
70 .import $$divU_15,millicode
71 .proc
72 .callinfo millicode
73 .entry
74GSYM($$divU)
75/* The subtract is not nullified since it does no harm and can be used
76 by the two cases that branch back to "normal". */
77 ldo -1(arg1),temp /* is there at most one bit set ? */
78 and,= arg1,temp,r0 /* if so, denominator is power of 2 */
79 b LREF(regular_seq)
80 addit,= 0,arg1,0 /* trap for zero dvr */
81 copy arg0,retreg
82 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */
83 extru retreg,15,16,retreg /* retreg = retreg >> 16 */
84 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */
85 ldi 0xcc,temp1 /* setup 0xcc in temp1 */
86 extru,= arg1,23,8,temp /* test denominator with 0xff00 */
87 extru retreg,23,24,retreg /* retreg = retreg >> 8 */
88 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */
89 ldi 0xaa,temp /* setup 0xaa in temp */
90 extru,= arg1,27,4,r0 /* test denominator with 0xf0 */
91 extru retreg,27,28,retreg /* retreg = retreg >> 4 */
92 and,= arg1,temp1,r0 /* test denominator with 0xcc */
93 extru retreg,29,30,retreg /* retreg = retreg >> 2 */
94 and,= arg1,temp,r0 /* test denominator with 0xaa */
95 extru retreg,30,31,retreg /* retreg = retreg >> 1 */
96 MILLIRETN
97 nop
98LSYM(regular_seq)
99 comib,>= 15,arg1,LREF(special_divisor)
100 subi 0,arg1,temp /* clear carry, negate the divisor */
101 ds r0,temp,r0 /* set V-bit to 1 */
102LSYM(normal)
103 add arg0,arg0,retreg /* shift msb bit into carry */
104 ds r0,arg1,temp /* 1st divide step, if no carry */
105 addc retreg,retreg,retreg /* shift retreg with/into carry */
106 ds temp,arg1,temp /* 2nd divide step */
107 addc retreg,retreg,retreg /* shift retreg with/into carry */
108 ds temp,arg1,temp /* 3rd divide step */
109 addc retreg,retreg,retreg /* shift retreg with/into carry */
110 ds temp,arg1,temp /* 4th divide step */
111 addc retreg,retreg,retreg /* shift retreg with/into carry */
112 ds temp,arg1,temp /* 5th divide step */
113 addc retreg,retreg,retreg /* shift retreg with/into carry */
114 ds temp,arg1,temp /* 6th divide step */
115 addc retreg,retreg,retreg /* shift retreg with/into carry */
116 ds temp,arg1,temp /* 7th divide step */
117 addc retreg,retreg,retreg /* shift retreg with/into carry */
118 ds temp,arg1,temp /* 8th divide step */
119 addc retreg,retreg,retreg /* shift retreg with/into carry */
120 ds temp,arg1,temp /* 9th divide step */
121 addc retreg,retreg,retreg /* shift retreg with/into carry */
122 ds temp,arg1,temp /* 10th divide step */
123 addc retreg,retreg,retreg /* shift retreg with/into carry */
124 ds temp,arg1,temp /* 11th divide step */
125 addc retreg,retreg,retreg /* shift retreg with/into carry */
126 ds temp,arg1,temp /* 12th divide step */
127 addc retreg,retreg,retreg /* shift retreg with/into carry */
128 ds temp,arg1,temp /* 13th divide step */
129 addc retreg,retreg,retreg /* shift retreg with/into carry */
130 ds temp,arg1,temp /* 14th divide step */
131 addc retreg,retreg,retreg /* shift retreg with/into carry */
132 ds temp,arg1,temp /* 15th divide step */
133 addc retreg,retreg,retreg /* shift retreg with/into carry */
134 ds temp,arg1,temp /* 16th divide step */
135 addc retreg,retreg,retreg /* shift retreg with/into carry */
136 ds temp,arg1,temp /* 17th divide step */
137 addc retreg,retreg,retreg /* shift retreg with/into carry */
138 ds temp,arg1,temp /* 18th divide step */
139 addc retreg,retreg,retreg /* shift retreg with/into carry */
140 ds temp,arg1,temp /* 19th divide step */
141 addc retreg,retreg,retreg /* shift retreg with/into carry */
142 ds temp,arg1,temp /* 20th divide step */
143 addc retreg,retreg,retreg /* shift retreg with/into carry */
144 ds temp,arg1,temp /* 21st divide step */
145 addc retreg,retreg,retreg /* shift retreg with/into carry */
146 ds temp,arg1,temp /* 22nd divide step */
147 addc retreg,retreg,retreg /* shift retreg with/into carry */
148 ds temp,arg1,temp /* 23rd divide step */
149 addc retreg,retreg,retreg /* shift retreg with/into carry */
150 ds temp,arg1,temp /* 24th divide step */
151 addc retreg,retreg,retreg /* shift retreg with/into carry */
152 ds temp,arg1,temp /* 25th divide step */
153 addc retreg,retreg,retreg /* shift retreg with/into carry */
154 ds temp,arg1,temp /* 26th divide step */
155 addc retreg,retreg,retreg /* shift retreg with/into carry */
156 ds temp,arg1,temp /* 27th divide step */
157 addc retreg,retreg,retreg /* shift retreg with/into carry */
158 ds temp,arg1,temp /* 28th divide step */
159 addc retreg,retreg,retreg /* shift retreg with/into carry */
160 ds temp,arg1,temp /* 29th divide step */
161 addc retreg,retreg,retreg /* shift retreg with/into carry */
162 ds temp,arg1,temp /* 30th divide step */
163 addc retreg,retreg,retreg /* shift retreg with/into carry */
164 ds temp,arg1,temp /* 31st divide step */
165 addc retreg,retreg,retreg /* shift retreg with/into carry */
166 ds temp,arg1,temp /* 32nd divide step, */
167 MILLIRET
168 addc retreg,retreg,retreg /* shift last retreg bit into retreg */
169
170/* Handle the cases where divisor is a small constant or has high bit on. */
171LSYM(special_divisor)
172/* blr arg1,r0 */
173/* comib,>,n 0,arg1,LREF(big_divisor) ; nullify previous instruction */
174
175/* Pratap 8/13/90. The 815 Stirling chip set has a bug that prevents us from
176 generating such a blr, comib sequence. A problem in nullification. So I
177 rewrote this code. */
178
179#if defined(CONFIG_64BIT)
180/* Clear the upper 32 bits of the arg1 register. We are working with
181 small divisors (and 32-bit unsigned integers) We must not be mislead
182 by "1" bits left in the upper 32 bits. */
183 depd %r0,31,32,%r25
184#endif
185 comib,> 0,arg1,LREF(big_divisor)
186 nop
187 blr arg1,r0
188 nop
189
190LSYM(zero_divisor) /* this label is here to provide external visibility */
191 addit,= 0,arg1,0 /* trap for zero dvr */
192 nop
193 MILLIRET /* divisor == 1 */
194 copy arg0,retreg
195 MILLIRET /* divisor == 2 */
196 extru arg0,30,31,retreg
197 MILLI_BEN($$divU_3) /* divisor == 3 */
198 nop
199 MILLIRET /* divisor == 4 */
200 extru arg0,29,30,retreg
201 MILLI_BEN($$divU_5) /* divisor == 5 */
202 nop
203 MILLI_BEN($$divU_6) /* divisor == 6 */
204 nop
205 MILLI_BEN($$divU_7) /* divisor == 7 */
206 nop
207 MILLIRET /* divisor == 8 */
208 extru arg0,28,29,retreg
209 MILLI_BEN($$divU_9) /* divisor == 9 */
210 nop
211 MILLI_BEN($$divU_10) /* divisor == 10 */
212 nop
213 b LREF(normal) /* divisor == 11 */
214 ds r0,temp,r0 /* set V-bit to 1 */
215 MILLI_BEN($$divU_12) /* divisor == 12 */
216 nop
217 b LREF(normal) /* divisor == 13 */
218 ds r0,temp,r0 /* set V-bit to 1 */
219 MILLI_BEN($$divU_14) /* divisor == 14 */
220 nop
221 MILLI_BEN($$divU_15) /* divisor == 15 */
222 nop
223
224/* Handle the case where the high bit is on in the divisor.
225 Compute: if( dividend>=divisor) quotient=1; else quotient=0;
226 Note: dividend>==divisor iff dividend-divisor does not borrow
227 and not borrow iff carry. */
228LSYM(big_divisor)
229 sub arg0,arg1,r0
230 MILLIRET
231 addc r0,r0,retreg
232 .exit
233 .procend
234 .end
235#endif
diff --git a/arch/parisc/lib/milli/div_const.S b/arch/parisc/lib/milli/div_const.S
new file mode 100644
index 000000000000..dd660076e944
--- /dev/null
+++ b/arch/parisc/lib/milli/div_const.S
@@ -0,0 +1,682 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_div_const
16/* ROUTINE: $$divI_2
17 . $$divI_3 $$divU_3
18 . $$divI_4
19 . $$divI_5 $$divU_5
20 . $$divI_6 $$divU_6
21 . $$divI_7 $$divU_7
22 . $$divI_8
23 . $$divI_9 $$divU_9
24 . $$divI_10 $$divU_10
25 .
26 . $$divI_12 $$divU_12
27 .
28 . $$divI_14 $$divU_14
29 . $$divI_15 $$divU_15
30 . $$divI_16
31 . $$divI_17 $$divU_17
32 .
33 . Divide by selected constants for single precision binary integers.
34
35 INPUT REGISTERS:
36 . arg0 == dividend
37 . mrp == return pc
38 . sr0 == return space when called externally
39
40 OUTPUT REGISTERS:
41 . arg0 = undefined
42 . arg1 = undefined
43 . ret1 = quotient
44
45 OTHER REGISTERS AFFECTED:
46 . r1 = undefined
47
48 SIDE EFFECTS:
49 . Causes a trap under the following conditions: NONE
50 . Changes memory at the following places: NONE
51
52 PERMISSIBLE CONTEXT:
53 . Unwindable.
54 . Does not create a stack frame.
55 . Suitable for internal or external millicode.
56 . Assumes the special millicode register conventions.
57
58 DISCUSSION:
59 . Calls other millicode routines using mrp: NONE
60 . Calls other millicode routines: NONE */
61
62
63/* TRUNCATED DIVISION BY SMALL INTEGERS
64
65 We are interested in q(x) = floor(x/y), where x >= 0 and y > 0
66 (with y fixed).
67
68 Let a = floor(z/y), for some choice of z. Note that z will be
69 chosen so that division by z is cheap.
70
71 Let r be the remainder(z/y). In other words, r = z - ay.
72
73 Now, our method is to choose a value for b such that
74
75 q'(x) = floor((ax+b)/z)
76
77 is equal to q(x) over as large a range of x as possible. If the
78 two are equal over a sufficiently large range, and if it is easy to
79 form the product (ax), and it is easy to divide by z, then we can
80 perform the division much faster than the general division algorithm.
81
82 So, we want the following to be true:
83
84 . For x in the following range:
85 .
86 . ky <= x < (k+1)y
87 .
88 . implies that
89 .
90 . k <= (ax+b)/z < (k+1)
91
92 We want to determine b such that this is true for all k in the
93 range {0..K} for some maximum K.
94
95 Since (ax+b) is an increasing function of x, we can take each
96 bound separately to determine the "best" value for b.
97
98 (ax+b)/z < (k+1) implies
99
100 (a((k+1)y-1)+b < (k+1)z implies
101
102 b < a + (k+1)(z-ay) implies
103
104 b < a + (k+1)r
105
106 This needs to be true for all k in the range {0..K}. In
107 particular, it is true for k = 0 and this leads to a maximum
108 acceptable value for b.
109
110 b < a+r or b <= a+r-1
111
112 Taking the other bound, we have
113
114 k <= (ax+b)/z implies
115
116 k <= (aky+b)/z implies
117
118 k(z-ay) <= b implies
119
120 kr <= b
121
122 Clearly, the largest range for k will be achieved by maximizing b,
123 when r is not zero. When r is zero, then the simplest choice for b
124 is 0. When r is not 0, set
125
126 . b = a+r-1
127
128 Now, by construction, q'(x) = floor((ax+b)/z) = q(x) = floor(x/y)
129 for all x in the range:
130
131 . 0 <= x < (K+1)y
132
133 We need to determine what K is. Of our two bounds,
134
135 . b < a+(k+1)r is satisfied for all k >= 0, by construction.
136
137 The other bound is
138
139 . kr <= b
140
141 This is always true if r = 0. If r is not 0 (the usual case), then
142 K = floor((a+r-1)/r), is the maximum value for k.
143
144 Therefore, the formula q'(x) = floor((ax+b)/z) yields the correct
145 answer for q(x) = floor(x/y) when x is in the range
146
147 (0,(K+1)y-1) K = floor((a+r-1)/r)
148
149 To be most useful, we want (K+1)y-1 = (max x) >= 2**32-1 so that
150 the formula for q'(x) yields the correct value of q(x) for all x
151 representable by a single word in HPPA.
152
153 We are also constrained in that computing the product (ax), adding
154 b, and dividing by z must all be done quickly, otherwise we will be
155 better off going through the general algorithm using the DS
156 instruction, which uses approximately 70 cycles.
157
158 For each y, there is a choice of z which satisfies the constraints
159 for (K+1)y >= 2**32. We may not, however, be able to satisfy the
160 timing constraints for arbitrary y. It seems that z being equal to
161 a power of 2 or a power of 2 minus 1 is as good as we can do, since
162 it minimizes the time to do division by z. We want the choice of z
163 to also result in a value for (a) that minimizes the computation of
164 the product (ax). This is best achieved if (a) has a regular bit
165 pattern (so the multiplication can be done with shifts and adds).
166 The value of (a) also needs to be less than 2**32 so the product is
167 always guaranteed to fit in 2 words.
168
169 In actual practice, the following should be done:
170
171 1) For negative x, you should take the absolute value and remember
172 . the fact so that the result can be negated. This obviously does
173 . not apply in the unsigned case.
174 2) For even y, you should factor out the power of 2 that divides y
175 . and divide x by it. You can then proceed by dividing by the
176 . odd factor of y.
177
178 Here is a table of some odd values of y, and corresponding choices
179 for z which are "good".
180
181 y z r a (hex) max x (hex)
182
183 3 2**32 1 55555555 100000001
184 5 2**32 1 33333333 100000003
185 7 2**24-1 0 249249 (infinite)
186 9 2**24-1 0 1c71c7 (infinite)
187 11 2**20-1 0 1745d (infinite)
188 13 2**24-1 0 13b13b (infinite)
189 15 2**32 1 11111111 10000000d
190 17 2**32 1 f0f0f0f 10000000f
191
192 If r is 1, then b = a+r-1 = a. This simplifies the computation
193 of (ax+b), since you can compute (x+1)(a) instead. If r is 0,
194 then b = 0 is ok to use which simplifies (ax+b).
195
196 The bit patterns for 55555555, 33333333, and 11111111 are obviously
197 very regular. The bit patterns for the other values of a above are:
198
199 y (hex) (binary)
200
201 7 249249 001001001001001001001001 << regular >>
202 9 1c71c7 000111000111000111000111 << regular >>
203 11 1745d 000000010111010001011101 << irregular >>
204 13 13b13b 000100111011000100111011 << irregular >>
205
206 The bit patterns for (a) corresponding to (y) of 11 and 13 may be
207 too irregular to warrant using this method.
208
209 When z is a power of 2 minus 1, then the division by z is slightly
210 more complicated, involving an iterative solution.
211
212 The code presented here solves division by 1 through 17, except for
213 11 and 13. There are algorithms for both signed and unsigned
214 quantities given.
215
216 TIMINGS (cycles)
217
218 divisor positive negative unsigned
219
220 . 1 2 2 2
221 . 2 4 4 2
222 . 3 19 21 19
223 . 4 4 4 2
224 . 5 18 22 19
225 . 6 19 22 19
226 . 8 4 4 2
227 . 10 18 19 17
228 . 12 18 20 18
229 . 15 16 18 16
230 . 16 4 4 2
231 . 17 16 18 16
232
233 Now, the algorithm for 7, 9, and 14 is an iterative one. That is,
234 a loop body is executed until the tentative quotient is 0. The
235 number of times the loop body is executed varies depending on the
236 dividend, but is never more than two times. If the dividend is
237 less than the divisor, then the loop body is not executed at all.
238 Each iteration adds 4 cycles to the timings.
239
240 divisor positive negative unsigned
241
242 . 7 19+4n 20+4n 20+4n n = number of iterations
243 . 9 21+4n 22+4n 21+4n
244 . 14 21+4n 22+4n 20+4n
245
246 To give an idea of how the number of iterations varies, here is a
247 table of dividend versus number of iterations when dividing by 7.
248
249 smallest largest required
250 dividend dividend iterations
251
252 . 0 6 0
253 . 7 0x6ffffff 1
254 0x1000006 0xffffffff 2
255
256 There is some overlap in the range of numbers requiring 1 and 2
257 iterations. */
258
259RDEFINE(t2,r1)
260RDEFINE(x2,arg0) /* r26 */
261RDEFINE(t1,arg1) /* r25 */
262RDEFINE(x1,ret1) /* r29 */
263
264 SUBSPA_MILLI_DIV
265 ATTR_MILLI
266
267 .proc
268 .callinfo millicode
269 .entry
270/* NONE of these routines require a stack frame
271 ALL of these routines are unwindable from millicode */
272
273GSYM($$divide_by_constant)
274 .export $$divide_by_constant,millicode
275/* Provides a "nice" label for the code covered by the unwind descriptor
276 for things like gprof. */
277
278/* DIVISION BY 2 (shift by 1) */
279GSYM($$divI_2)
280 .export $$divI_2,millicode
281 comclr,>= arg0,0,0
282 addi 1,arg0,arg0
283 MILLIRET
284 extrs arg0,30,31,ret1
285
286
287/* DIVISION BY 4 (shift by 2) */
288GSYM($$divI_4)
289 .export $$divI_4,millicode
290 comclr,>= arg0,0,0
291 addi 3,arg0,arg0
292 MILLIRET
293 extrs arg0,29,30,ret1
294
295
296/* DIVISION BY 8 (shift by 3) */
297GSYM($$divI_8)
298 .export $$divI_8,millicode
299 comclr,>= arg0,0,0
300 addi 7,arg0,arg0
301 MILLIRET
302 extrs arg0,28,29,ret1
303
304/* DIVISION BY 16 (shift by 4) */
305GSYM($$divI_16)
306 .export $$divI_16,millicode
307 comclr,>= arg0,0,0
308 addi 15,arg0,arg0
309 MILLIRET
310 extrs arg0,27,28,ret1
311
312/****************************************************************************
313*
314* DIVISION BY DIVISORS OF FFFFFFFF, and powers of 2 times these
315*
316* includes 3,5,15,17 and also 6,10,12
317*
318****************************************************************************/
319
320/* DIVISION BY 3 (use z = 2**32; a = 55555555) */
321
322GSYM($$divI_3)
323 .export $$divI_3,millicode
324 comb,<,N x2,0,LREF(neg3)
325
326 addi 1,x2,x2 /* this cannot overflow */
327 extru x2,1,2,x1 /* multiply by 5 to get started */
328 sh2add x2,x2,x2
329 b LREF(pos)
330 addc x1,0,x1
331
332LSYM(neg3)
333 subi 1,x2,x2 /* this cannot overflow */
334 extru x2,1,2,x1 /* multiply by 5 to get started */
335 sh2add x2,x2,x2
336 b LREF(neg)
337 addc x1,0,x1
338
339GSYM($$divU_3)
340 .export $$divU_3,millicode
341 addi 1,x2,x2 /* this CAN overflow */
342 addc 0,0,x1
343 shd x1,x2,30,t1 /* multiply by 5 to get started */
344 sh2add x2,x2,x2
345 b LREF(pos)
346 addc x1,t1,x1
347
348/* DIVISION BY 5 (use z = 2**32; a = 33333333) */
349
350GSYM($$divI_5)
351 .export $$divI_5,millicode
352 comb,<,N x2,0,LREF(neg5)
353
354 addi 3,x2,t1 /* this cannot overflow */
355 sh1add x2,t1,x2 /* multiply by 3 to get started */
356 b LREF(pos)
357 addc 0,0,x1
358
359LSYM(neg5)
360 sub 0,x2,x2 /* negate x2 */
361 addi 1,x2,x2 /* this cannot overflow */
362 shd 0,x2,31,x1 /* get top bit (can be 1) */
363 sh1add x2,x2,x2 /* multiply by 3 to get started */
364 b LREF(neg)
365 addc x1,0,x1
366
367GSYM($$divU_5)
368 .export $$divU_5,millicode
369 addi 1,x2,x2 /* this CAN overflow */
370 addc 0,0,x1
371 shd x1,x2,31,t1 /* multiply by 3 to get started */
372 sh1add x2,x2,x2
373 b LREF(pos)
374 addc t1,x1,x1
375
376/* DIVISION BY 6 (shift to divide by 2 then divide by 3) */
377GSYM($$divI_6)
378 .export $$divI_6,millicode
379 comb,<,N x2,0,LREF(neg6)
380 extru x2,30,31,x2 /* divide by 2 */
381 addi 5,x2,t1 /* compute 5*(x2+1) = 5*x2+5 */
382 sh2add x2,t1,x2 /* multiply by 5 to get started */
383 b LREF(pos)
384 addc 0,0,x1
385
386LSYM(neg6)
387 subi 2,x2,x2 /* negate, divide by 2, and add 1 */
388 /* negation and adding 1 are done */
389 /* at the same time by the SUBI */
390 extru x2,30,31,x2
391 shd 0,x2,30,x1
392 sh2add x2,x2,x2 /* multiply by 5 to get started */
393 b LREF(neg)
394 addc x1,0,x1
395
396GSYM($$divU_6)
397 .export $$divU_6,millicode
398 extru x2,30,31,x2 /* divide by 2 */
399 addi 1,x2,x2 /* cannot carry */
400 shd 0,x2,30,x1 /* multiply by 5 to get started */
401 sh2add x2,x2,x2
402 b LREF(pos)
403 addc x1,0,x1
404
405/* DIVISION BY 10 (shift to divide by 2 then divide by 5) */
406GSYM($$divU_10)
407 .export $$divU_10,millicode
408 extru x2,30,31,x2 /* divide by 2 */
409 addi 3,x2,t1 /* compute 3*(x2+1) = (3*x2)+3 */
410 sh1add x2,t1,x2 /* multiply by 3 to get started */
411 addc 0,0,x1
412LSYM(pos)
413 shd x1,x2,28,t1 /* multiply by 0x11 */
414 shd x2,0,28,t2
415 add x2,t2,x2
416 addc x1,t1,x1
417LSYM(pos_for_17)
418 shd x1,x2,24,t1 /* multiply by 0x101 */
419 shd x2,0,24,t2
420 add x2,t2,x2
421 addc x1,t1,x1
422
423 shd x1,x2,16,t1 /* multiply by 0x10001 */
424 shd x2,0,16,t2
425 add x2,t2,x2
426 MILLIRET
427 addc x1,t1,x1
428
429GSYM($$divI_10)
430 .export $$divI_10,millicode
431 comb,< x2,0,LREF(neg10)
432 copy 0,x1
433 extru x2,30,31,x2 /* divide by 2 */
434 addib,TR 1,x2,LREF(pos) /* add 1 (cannot overflow) */
435 sh1add x2,x2,x2 /* multiply by 3 to get started */
436
437LSYM(neg10)
438 subi 2,x2,x2 /* negate, divide by 2, and add 1 */
439 /* negation and adding 1 are done */
440 /* at the same time by the SUBI */
441 extru x2,30,31,x2
442 sh1add x2,x2,x2 /* multiply by 3 to get started */
443LSYM(neg)
444 shd x1,x2,28,t1 /* multiply by 0x11 */
445 shd x2,0,28,t2
446 add x2,t2,x2
447 addc x1,t1,x1
448LSYM(neg_for_17)
449 shd x1,x2,24,t1 /* multiply by 0x101 */
450 shd x2,0,24,t2
451 add x2,t2,x2
452 addc x1,t1,x1
453
454 shd x1,x2,16,t1 /* multiply by 0x10001 */
455 shd x2,0,16,t2
456 add x2,t2,x2
457 addc x1,t1,x1
458 MILLIRET
459 sub 0,x1,x1
460
461/* DIVISION BY 12 (shift to divide by 4 then divide by 3) */
462GSYM($$divI_12)
463 .export $$divI_12,millicode
464 comb,< x2,0,LREF(neg12)
465 copy 0,x1
466 extru x2,29,30,x2 /* divide by 4 */
467 addib,tr 1,x2,LREF(pos) /* compute 5*(x2+1) = 5*x2+5 */
468 sh2add x2,x2,x2 /* multiply by 5 to get started */
469
470LSYM(neg12)
471 subi 4,x2,x2 /* negate, divide by 4, and add 1 */
472 /* negation and adding 1 are done */
473 /* at the same time by the SUBI */
474 extru x2,29,30,x2
475 b LREF(neg)
476 sh2add x2,x2,x2 /* multiply by 5 to get started */
477
478GSYM($$divU_12)
479 .export $$divU_12,millicode
480 extru x2,29,30,x2 /* divide by 4 */
481 addi 5,x2,t1 /* cannot carry */
482 sh2add x2,t1,x2 /* multiply by 5 to get started */
483 b LREF(pos)
484 addc 0,0,x1
485
486/* DIVISION BY 15 (use z = 2**32; a = 11111111) */
487GSYM($$divI_15)
488 .export $$divI_15,millicode
489 comb,< x2,0,LREF(neg15)
490 copy 0,x1
491 addib,tr 1,x2,LREF(pos)+4
492 shd x1,x2,28,t1
493
494LSYM(neg15)
495 b LREF(neg)
496 subi 1,x2,x2
497
498GSYM($$divU_15)
499 .export $$divU_15,millicode
500 addi 1,x2,x2 /* this CAN overflow */
501 b LREF(pos)
502 addc 0,0,x1
503
504/* DIVISION BY 17 (use z = 2**32; a = f0f0f0f) */
505GSYM($$divI_17)
506 .export $$divI_17,millicode
507 comb,<,n x2,0,LREF(neg17)
508 addi 1,x2,x2 /* this cannot overflow */
509 shd 0,x2,28,t1 /* multiply by 0xf to get started */
510 shd x2,0,28,t2
511 sub t2,x2,x2
512 b LREF(pos_for_17)
513 subb t1,0,x1
514
515LSYM(neg17)
516 subi 1,x2,x2 /* this cannot overflow */
517 shd 0,x2,28,t1 /* multiply by 0xf to get started */
518 shd x2,0,28,t2
519 sub t2,x2,x2
520 b LREF(neg_for_17)
521 subb t1,0,x1
522
523GSYM($$divU_17)
524 .export $$divU_17,millicode
525 addi 1,x2,x2 /* this CAN overflow */
526 addc 0,0,x1
527 shd x1,x2,28,t1 /* multiply by 0xf to get started */
528LSYM(u17)
529 shd x2,0,28,t2
530 sub t2,x2,x2
531 b LREF(pos_for_17)
532 subb t1,x1,x1
533
534
535/* DIVISION BY DIVISORS OF FFFFFF, and powers of 2 times these
536 includes 7,9 and also 14
537
538
539 z = 2**24-1
540 r = z mod x = 0
541
542 so choose b = 0
543
544 Also, in order to divide by z = 2**24-1, we approximate by dividing
545 by (z+1) = 2**24 (which is easy), and then correcting.
546
547 (ax) = (z+1)q' + r
548 . = zq' + (q'+r)
549
550 So to compute (ax)/z, compute q' = (ax)/(z+1) and r = (ax) mod (z+1)
551 Then the true remainder of (ax)/z is (q'+r). Repeat the process
552 with this new remainder, adding the tentative quotients together,
553 until a tentative quotient is 0 (and then we are done). There is
554 one last correction to be done. It is possible that (q'+r) = z.
555 If so, then (q'+r)/(z+1) = 0 and it looks like we are done. But,
556 in fact, we need to add 1 more to the quotient. Now, it turns
557 out that this happens if and only if the original value x is
558 an exact multiple of y. So, to avoid a three instruction test at
559 the end, instead use 1 instruction to add 1 to x at the beginning. */
560
561/* DIVISION BY 7 (use z = 2**24-1; a = 249249) */
562GSYM($$divI_7)
563 .export $$divI_7,millicode
564 comb,<,n x2,0,LREF(neg7)
565LSYM(7)
566 addi 1,x2,x2 /* cannot overflow */
567 shd 0,x2,29,x1
568 sh3add x2,x2,x2
569 addc x1,0,x1
570LSYM(pos7)
571 shd x1,x2,26,t1
572 shd x2,0,26,t2
573 add x2,t2,x2
574 addc x1,t1,x1
575
576 shd x1,x2,20,t1
577 shd x2,0,20,t2
578 add x2,t2,x2
579 addc x1,t1,t1
580
581 /* computed <t1,x2>. Now divide it by (2**24 - 1) */
582
583 copy 0,x1
584 shd,= t1,x2,24,t1 /* tentative quotient */
585LSYM(1)
586 addb,tr t1,x1,LREF(2) /* add to previous quotient */
587 extru x2,31,24,x2 /* new remainder (unadjusted) */
588
589 MILLIRETN
590
591LSYM(2)
592 addb,tr t1,x2,LREF(1) /* adjust remainder */
593 extru,= x2,7,8,t1 /* new quotient */
594
595LSYM(neg7)
596 subi 1,x2,x2 /* negate x2 and add 1 */
597LSYM(8)
598 shd 0,x2,29,x1
599 sh3add x2,x2,x2
600 addc x1,0,x1
601
602LSYM(neg7_shift)
603 shd x1,x2,26,t1
604 shd x2,0,26,t2
605 add x2,t2,x2
606 addc x1,t1,x1
607
608 shd x1,x2,20,t1
609 shd x2,0,20,t2
610 add x2,t2,x2
611 addc x1,t1,t1
612
613 /* computed <t1,x2>. Now divide it by (2**24 - 1) */
614
615 copy 0,x1
616 shd,= t1,x2,24,t1 /* tentative quotient */
617LSYM(3)
618 addb,tr t1,x1,LREF(4) /* add to previous quotient */
619 extru x2,31,24,x2 /* new remainder (unadjusted) */
620
621 MILLIRET
622 sub 0,x1,x1 /* negate result */
623
624LSYM(4)
625 addb,tr t1,x2,LREF(3) /* adjust remainder */
626 extru,= x2,7,8,t1 /* new quotient */
627
628GSYM($$divU_7)
629 .export $$divU_7,millicode
630 addi 1,x2,x2 /* can carry */
631 addc 0,0,x1
632 shd x1,x2,29,t1
633 sh3add x2,x2,x2
634 b LREF(pos7)
635 addc t1,x1,x1
636
637/* DIVISION BY 9 (use z = 2**24-1; a = 1c71c7) */
638GSYM($$divI_9)
639 .export $$divI_9,millicode
640 comb,<,n x2,0,LREF(neg9)
641 addi 1,x2,x2 /* cannot overflow */
642 shd 0,x2,29,t1
643 shd x2,0,29,t2
644 sub t2,x2,x2
645 b LREF(pos7)
646 subb t1,0,x1
647
648LSYM(neg9)
649 subi 1,x2,x2 /* negate and add 1 */
650 shd 0,x2,29,t1
651 shd x2,0,29,t2
652 sub t2,x2,x2
653 b LREF(neg7_shift)
654 subb t1,0,x1
655
656GSYM($$divU_9)
657 .export $$divU_9,millicode
658 addi 1,x2,x2 /* can carry */
659 addc 0,0,x1
660 shd x1,x2,29,t1
661 shd x2,0,29,t2
662 sub t2,x2,x2
663 b LREF(pos7)
664 subb t1,x1,x1
665
666/* DIVISION BY 14 (shift to divide by 2 then divide by 7) */
667GSYM($$divI_14)
668 .export $$divI_14,millicode
669 comb,<,n x2,0,LREF(neg14)
670GSYM($$divU_14)
671 .export $$divU_14,millicode
672 b LREF(7) /* go to 7 case */
673 extru x2,30,31,x2 /* divide by 2 */
674
675LSYM(neg14)
676 subi 2,x2,x2 /* negate (and add 2) */
677 b LREF(8)
678 extru x2,30,31,x2 /* divide by 2 */
679 .exit
680 .procend
681 .end
682#endif
diff --git a/arch/parisc/lib/milli/dyncall.S b/arch/parisc/lib/milli/dyncall.S
new file mode 100644
index 000000000000..27f9ca558d0a
--- /dev/null
+++ b/arch/parisc/lib/milli/dyncall.S
@@ -0,0 +1,32 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_dyncall
16 SUBSPA_MILLI
17 ATTR_DATA
18GSYM($$dyncall)
19 .export $$dyncall,millicode
20 .proc
21 .callinfo millicode
22 .entry
23 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address
24 depi 0,31,2,%r22 ; clear the two least significant bits
25 ldw 4(%r22),%r19 ; load new LTP value
26 ldw 0(%r22),%r22 ; load address of target
27LSYM(1)
28 bv %r0(%r22) ; branch to the real target
29 stw %r2,-24(%r30) ; save return address into frame marker
30 .exit
31 .procend
32#endif
diff --git a/arch/parisc/lib/milli/milli.S b/arch/parisc/lib/milli/milli.S
new file mode 100644
index 000000000000..47c6cde712e3
--- /dev/null
+++ b/arch/parisc/lib/milli/milli.S
@@ -0,0 +1,2071 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#ifdef CONFIG_64BIT
14 .level 2.0w
15#endif
16
17/* Hardware General Registers. */
18r0: .reg %r0
19r1: .reg %r1
20r2: .reg %r2
21r3: .reg %r3
22r4: .reg %r4
23r5: .reg %r5
24r6: .reg %r6
25r7: .reg %r7
26r8: .reg %r8
27r9: .reg %r9
28r10: .reg %r10
29r11: .reg %r11
30r12: .reg %r12
31r13: .reg %r13
32r14: .reg %r14
33r15: .reg %r15
34r16: .reg %r16
35r17: .reg %r17
36r18: .reg %r18
37r19: .reg %r19
38r20: .reg %r20
39r21: .reg %r21
40r22: .reg %r22
41r23: .reg %r23
42r24: .reg %r24
43r25: .reg %r25
44r26: .reg %r26
45r27: .reg %r27
46r28: .reg %r28
47r29: .reg %r29
48r30: .reg %r30
49r31: .reg %r31
50
51/* Hardware Space Registers. */
52sr0: .reg %sr0
53sr1: .reg %sr1
54sr2: .reg %sr2
55sr3: .reg %sr3
56sr4: .reg %sr4
57sr5: .reg %sr5
58sr6: .reg %sr6
59sr7: .reg %sr7
60
61/* Hardware Floating Point Registers. */
62fr0: .reg %fr0
63fr1: .reg %fr1
64fr2: .reg %fr2
65fr3: .reg %fr3
66fr4: .reg %fr4
67fr5: .reg %fr5
68fr6: .reg %fr6
69fr7: .reg %fr7
70fr8: .reg %fr8
71fr9: .reg %fr9
72fr10: .reg %fr10
73fr11: .reg %fr11
74fr12: .reg %fr12
75fr13: .reg %fr13
76fr14: .reg %fr14
77fr15: .reg %fr15
78
79/* Hardware Control Registers. */
80cr11: .reg %cr11
81sar: .reg %cr11 /* Shift Amount Register */
82
83/* Software Architecture General Registers. */
84rp: .reg r2 /* return pointer */
85#ifdef CONFIG_64BIT
86mrp: .reg r2 /* millicode return pointer */
87#else
88mrp: .reg r31 /* millicode return pointer */
89#endif
90ret0: .reg r28 /* return value */
91ret1: .reg r29 /* return value (high part of double) */
92sp: .reg r30 /* stack pointer */
93dp: .reg r27 /* data pointer */
94arg0: .reg r26 /* argument */
95arg1: .reg r25 /* argument or high part of double argument */
96arg2: .reg r24 /* argument */
97arg3: .reg r23 /* argument or high part of double argument */
98
99/* Software Architecture Space Registers. */
100/* sr0 ; return link from BLE */
101sret: .reg sr1 /* return value */
102sarg: .reg sr1 /* argument */
103/* sr4 ; PC SPACE tracker */
104/* sr5 ; process private data */
105
106/* Frame Offsets (millicode convention!) Used when calling other
107 millicode routines. Stack unwinding is dependent upon these
108 definitions. */
109r31_slot: .equ -20 /* "current RP" slot */
110sr0_slot: .equ -16 /* "static link" slot */
111#if defined(CONFIG_64BIT)
112mrp_slot: .equ -16 /* "current RP" slot */
113psp_slot: .equ -8 /* "previous SP" slot */
114#else
115mrp_slot: .equ -20 /* "current RP" slot (replacing "r31_slot") */
116#endif
117
118
119#define DEFINE(name,value)name: .EQU value
120#define RDEFINE(name,value)name: .REG value
121#ifdef milliext
122#define MILLI_BE(lbl) BE lbl(sr7,r0)
123#define MILLI_BEN(lbl) BE,n lbl(sr7,r0)
124#define MILLI_BLE(lbl) BLE lbl(sr7,r0)
125#define MILLI_BLEN(lbl) BLE,n lbl(sr7,r0)
126#define MILLIRETN BE,n 0(sr0,mrp)
127#define MILLIRET BE 0(sr0,mrp)
128#define MILLI_RETN BE,n 0(sr0,mrp)
129#define MILLI_RET BE 0(sr0,mrp)
130#else
131#define MILLI_BE(lbl) B lbl
132#define MILLI_BEN(lbl) B,n lbl
133#define MILLI_BLE(lbl) BL lbl,mrp
134#define MILLI_BLEN(lbl) BL,n lbl,mrp
135#define MILLIRETN BV,n 0(mrp)
136#define MILLIRET BV 0(mrp)
137#define MILLI_RETN BV,n 0(mrp)
138#define MILLI_RET BV 0(mrp)
139#endif
140
141#define CAT(a,b) a##b
142
143#define SUBSPA_MILLI .section .text
144#define SUBSPA_MILLI_DIV .section .text.div,"ax",@progbits! .align 16
145#define SUBSPA_MILLI_MUL .section .text.mul,"ax",@progbits! .align 16
146#define ATTR_MILLI
147#define SUBSPA_DATA .section .data
148#define ATTR_DATA
149#define GLOBAL $global$
150#define GSYM(sym) !sym:
151#define LSYM(sym) !CAT(.L,sym:)
152#define LREF(sym) CAT(.L,sym)
153
154#ifdef L_dyncall
155 SUBSPA_MILLI
156 ATTR_DATA
157GSYM($$dyncall)
158 .export $$dyncall,millicode
159 .proc
160 .callinfo millicode
161 .entry
162 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address
163 depi 0,31,2,%r22 ; clear the two least significant bits
164 ldw 4(%r22),%r19 ; load new LTP value
165 ldw 0(%r22),%r22 ; load address of target
166LSYM(1)
167 bv %r0(%r22) ; branch to the real target
168 stw %r2,-24(%r30) ; save return address into frame marker
169 .exit
170 .procend
171#endif
172
173#ifdef L_divI
174/* ROUTINES: $$divI, $$divoI
175
176 Single precision divide for signed binary integers.
177
178 The quotient is truncated towards zero.
179 The sign of the quotient is the XOR of the signs of the dividend and
180 divisor.
181 Divide by zero is trapped.
182 Divide of -2**31 by -1 is trapped for $$divoI but not for $$divI.
183
184 INPUT REGISTERS:
185 . arg0 == dividend
186 . arg1 == divisor
187 . mrp == return pc
188 . sr0 == return space when called externally
189
190 OUTPUT REGISTERS:
191 . arg0 = undefined
192 . arg1 = undefined
193 . ret1 = quotient
194
195 OTHER REGISTERS AFFECTED:
196 . r1 = undefined
197
198 SIDE EFFECTS:
199 . Causes a trap under the following conditions:
200 . divisor is zero (traps with ADDIT,= 0,25,0)
201 . dividend==-2**31 and divisor==-1 and routine is $$divoI
202 . (traps with ADDO 26,25,0)
203 . Changes memory at the following places:
204 . NONE
205
206 PERMISSIBLE CONTEXT:
207 . Unwindable.
208 . Suitable for internal or external millicode.
209 . Assumes the special millicode register conventions.
210
211 DISCUSSION:
212 . Branchs to other millicode routines using BE
213 . $$div_# for # being 2,3,4,5,6,7,8,9,10,12,14,15
214 .
215 . For selected divisors, calls a divide by constant routine written by
216 . Karl Pettis. Eligible divisors are 1..15 excluding 11 and 13.
217 .
218 . The only overflow case is -2**31 divided by -1.
219 . Both routines return -2**31 but only $$divoI traps. */
220
221RDEFINE(temp,r1)
222RDEFINE(retreg,ret1) /* r29 */
223RDEFINE(temp1,arg0)
224 SUBSPA_MILLI_DIV
225 ATTR_MILLI
226 .import $$divI_2,millicode
227 .import $$divI_3,millicode
228 .import $$divI_4,millicode
229 .import $$divI_5,millicode
230 .import $$divI_6,millicode
231 .import $$divI_7,millicode
232 .import $$divI_8,millicode
233 .import $$divI_9,millicode
234 .import $$divI_10,millicode
235 .import $$divI_12,millicode
236 .import $$divI_14,millicode
237 .import $$divI_15,millicode
238 .export $$divI,millicode
239 .export $$divoI,millicode
240 .proc
241 .callinfo millicode
242 .entry
243GSYM($$divoI)
244 comib,=,n -1,arg1,LREF(negative1) /* when divisor == -1 */
245GSYM($$divI)
246 ldo -1(arg1),temp /* is there at most one bit set ? */
247 and,<> arg1,temp,r0 /* if not, don't use power of 2 divide */
248 addi,> 0,arg1,r0 /* if divisor > 0, use power of 2 divide */
249 b,n LREF(neg_denom)
250LSYM(pow2)
251 addi,>= 0,arg0,retreg /* if numerator is negative, add the */
252 add arg0,temp,retreg /* (denominaotr -1) to correct for shifts */
253 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */
254 extrs retreg,15,16,retreg /* retreg = retreg >> 16 */
255 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */
256 ldi 0xcc,temp1 /* setup 0xcc in temp1 */
257 extru,= arg1,23,8,temp /* test denominator with 0xff00 */
258 extrs retreg,23,24,retreg /* retreg = retreg >> 8 */
259 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */
260 ldi 0xaa,temp /* setup 0xaa in temp */
261 extru,= arg1,27,4,r0 /* test denominator with 0xf0 */
262 extrs retreg,27,28,retreg /* retreg = retreg >> 4 */
263 and,= arg1,temp1,r0 /* test denominator with 0xcc */
264 extrs retreg,29,30,retreg /* retreg = retreg >> 2 */
265 and,= arg1,temp,r0 /* test denominator with 0xaa */
266 extrs retreg,30,31,retreg /* retreg = retreg >> 1 */
267 MILLIRETN
268LSYM(neg_denom)
269 addi,< 0,arg1,r0 /* if arg1 >= 0, it's not power of 2 */
270 b,n LREF(regular_seq)
271 sub r0,arg1,temp /* make denominator positive */
272 comb,=,n arg1,temp,LREF(regular_seq) /* test against 0x80000000 and 0 */
273 ldo -1(temp),retreg /* is there at most one bit set ? */
274 and,= temp,retreg,r0 /* if so, the denominator is power of 2 */
275 b,n LREF(regular_seq)
276 sub r0,arg0,retreg /* negate numerator */
277 comb,=,n arg0,retreg,LREF(regular_seq) /* test against 0x80000000 */
278 copy retreg,arg0 /* set up arg0, arg1 and temp */
279 copy temp,arg1 /* before branching to pow2 */
280 b LREF(pow2)
281 ldo -1(arg1),temp
282LSYM(regular_seq)
283 comib,>>=,n 15,arg1,LREF(small_divisor)
284 add,>= 0,arg0,retreg /* move dividend, if retreg < 0, */
285LSYM(normal)
286 subi 0,retreg,retreg /* make it positive */
287 sub 0,arg1,temp /* clear carry, */
288 /* negate the divisor */
289 ds 0,temp,0 /* set V-bit to the comple- */
290 /* ment of the divisor sign */
291 add retreg,retreg,retreg /* shift msb bit into carry */
292 ds r0,arg1,temp /* 1st divide step, if no carry */
293 addc retreg,retreg,retreg /* shift retreg with/into carry */
294 ds temp,arg1,temp /* 2nd divide step */
295 addc retreg,retreg,retreg /* shift retreg with/into carry */
296 ds temp,arg1,temp /* 3rd divide step */
297 addc retreg,retreg,retreg /* shift retreg with/into carry */
298 ds temp,arg1,temp /* 4th divide step */
299 addc retreg,retreg,retreg /* shift retreg with/into carry */
300 ds temp,arg1,temp /* 5th divide step */
301 addc retreg,retreg,retreg /* shift retreg with/into carry */
302 ds temp,arg1,temp /* 6th divide step */
303 addc retreg,retreg,retreg /* shift retreg with/into carry */
304 ds temp,arg1,temp /* 7th divide step */
305 addc retreg,retreg,retreg /* shift retreg with/into carry */
306 ds temp,arg1,temp /* 8th divide step */
307 addc retreg,retreg,retreg /* shift retreg with/into carry */
308 ds temp,arg1,temp /* 9th divide step */
309 addc retreg,retreg,retreg /* shift retreg with/into carry */
310 ds temp,arg1,temp /* 10th divide step */
311 addc retreg,retreg,retreg /* shift retreg with/into carry */
312 ds temp,arg1,temp /* 11th divide step */
313 addc retreg,retreg,retreg /* shift retreg with/into carry */
314 ds temp,arg1,temp /* 12th divide step */
315 addc retreg,retreg,retreg /* shift retreg with/into carry */
316 ds temp,arg1,temp /* 13th divide step */
317 addc retreg,retreg,retreg /* shift retreg with/into carry */
318 ds temp,arg1,temp /* 14th divide step */
319 addc retreg,retreg,retreg /* shift retreg with/into carry */
320 ds temp,arg1,temp /* 15th divide step */
321 addc retreg,retreg,retreg /* shift retreg with/into carry */
322 ds temp,arg1,temp /* 16th divide step */
323 addc retreg,retreg,retreg /* shift retreg with/into carry */
324 ds temp,arg1,temp /* 17th divide step */
325 addc retreg,retreg,retreg /* shift retreg with/into carry */
326 ds temp,arg1,temp /* 18th divide step */
327 addc retreg,retreg,retreg /* shift retreg with/into carry */
328 ds temp,arg1,temp /* 19th divide step */
329 addc retreg,retreg,retreg /* shift retreg with/into carry */
330 ds temp,arg1,temp /* 20th divide step */
331 addc retreg,retreg,retreg /* shift retreg with/into carry */
332 ds temp,arg1,temp /* 21st divide step */
333 addc retreg,retreg,retreg /* shift retreg with/into carry */
334 ds temp,arg1,temp /* 22nd divide step */
335 addc retreg,retreg,retreg /* shift retreg with/into carry */
336 ds temp,arg1,temp /* 23rd divide step */
337 addc retreg,retreg,retreg /* shift retreg with/into carry */
338 ds temp,arg1,temp /* 24th divide step */
339 addc retreg,retreg,retreg /* shift retreg with/into carry */
340 ds temp,arg1,temp /* 25th divide step */
341 addc retreg,retreg,retreg /* shift retreg with/into carry */
342 ds temp,arg1,temp /* 26th divide step */
343 addc retreg,retreg,retreg /* shift retreg with/into carry */
344 ds temp,arg1,temp /* 27th divide step */
345 addc retreg,retreg,retreg /* shift retreg with/into carry */
346 ds temp,arg1,temp /* 28th divide step */
347 addc retreg,retreg,retreg /* shift retreg with/into carry */
348 ds temp,arg1,temp /* 29th divide step */
349 addc retreg,retreg,retreg /* shift retreg with/into carry */
350 ds temp,arg1,temp /* 30th divide step */
351 addc retreg,retreg,retreg /* shift retreg with/into carry */
352 ds temp,arg1,temp /* 31st divide step */
353 addc retreg,retreg,retreg /* shift retreg with/into carry */
354 ds temp,arg1,temp /* 32nd divide step, */
355 addc retreg,retreg,retreg /* shift last retreg bit into retreg */
356 xor,>= arg0,arg1,0 /* get correct sign of quotient */
357 sub 0,retreg,retreg /* based on operand signs */
358 MILLIRETN
359 nop
360
361LSYM(small_divisor)
362
363#if defined(CONFIG_64BIT)
364/* Clear the upper 32 bits of the arg1 register. We are working with */
365/* small divisors (and 32-bit integers) We must not be mislead */
366/* by "1" bits left in the upper 32 bits. */
367 depd %r0,31,32,%r25
368#endif
369 blr,n arg1,r0
370 nop
371/* table for divisor == 0,1, ... ,15 */
372 addit,= 0,arg1,r0 /* trap if divisor == 0 */
373 nop
374 MILLIRET /* divisor == 1 */
375 copy arg0,retreg
376 MILLI_BEN($$divI_2) /* divisor == 2 */
377 nop
378 MILLI_BEN($$divI_3) /* divisor == 3 */
379 nop
380 MILLI_BEN($$divI_4) /* divisor == 4 */
381 nop
382 MILLI_BEN($$divI_5) /* divisor == 5 */
383 nop
384 MILLI_BEN($$divI_6) /* divisor == 6 */
385 nop
386 MILLI_BEN($$divI_7) /* divisor == 7 */
387 nop
388 MILLI_BEN($$divI_8) /* divisor == 8 */
389 nop
390 MILLI_BEN($$divI_9) /* divisor == 9 */
391 nop
392 MILLI_BEN($$divI_10) /* divisor == 10 */
393 nop
394 b LREF(normal) /* divisor == 11 */
395 add,>= 0,arg0,retreg
396 MILLI_BEN($$divI_12) /* divisor == 12 */
397 nop
398 b LREF(normal) /* divisor == 13 */
399 add,>= 0,arg0,retreg
400 MILLI_BEN($$divI_14) /* divisor == 14 */
401 nop
402 MILLI_BEN($$divI_15) /* divisor == 15 */
403 nop
404
405LSYM(negative1)
406 sub 0,arg0,retreg /* result is negation of dividend */
407 MILLIRET
408 addo arg0,arg1,r0 /* trap iff dividend==0x80000000 && divisor==-1 */
409 .exit
410 .procend
411 .end
412#endif
413
414#ifdef L_divU
415/* ROUTINE: $$divU
416 .
417 . Single precision divide for unsigned integers.
418 .
419 . Quotient is truncated towards zero.
420 . Traps on divide by zero.
421
422 INPUT REGISTERS:
423 . arg0 == dividend
424 . arg1 == divisor
425 . mrp == return pc
426 . sr0 == return space when called externally
427
428 OUTPUT REGISTERS:
429 . arg0 = undefined
430 . arg1 = undefined
431 . ret1 = quotient
432
433 OTHER REGISTERS AFFECTED:
434 . r1 = undefined
435
436 SIDE EFFECTS:
437 . Causes a trap under the following conditions:
438 . divisor is zero
439 . Changes memory at the following places:
440 . NONE
441
442 PERMISSIBLE CONTEXT:
443 . Unwindable.
444 . Does not create a stack frame.
445 . Suitable for internal or external millicode.
446 . Assumes the special millicode register conventions.
447
448 DISCUSSION:
449 . Branchs to other millicode routines using BE:
450 . $$divU_# for 3,5,6,7,9,10,12,14,15
451 .
452 . For selected small divisors calls the special divide by constant
453 . routines written by Karl Pettis. These are: 3,5,6,7,9,10,12,14,15. */
454
455RDEFINE(temp,r1)
456RDEFINE(retreg,ret1) /* r29 */
457RDEFINE(temp1,arg0)
458 SUBSPA_MILLI_DIV
459 ATTR_MILLI
460 .export $$divU,millicode
461 .import $$divU_3,millicode
462 .import $$divU_5,millicode
463 .import $$divU_6,millicode
464 .import $$divU_7,millicode
465 .import $$divU_9,millicode
466 .import $$divU_10,millicode
467 .import $$divU_12,millicode
468 .import $$divU_14,millicode
469 .import $$divU_15,millicode
470 .proc
471 .callinfo millicode
472 .entry
473GSYM($$divU)
474/* The subtract is not nullified since it does no harm and can be used
475 by the two cases that branch back to "normal". */
476 ldo -1(arg1),temp /* is there at most one bit set ? */
477 and,= arg1,temp,r0 /* if so, denominator is power of 2 */
478 b LREF(regular_seq)
479 addit,= 0,arg1,0 /* trap for zero dvr */
480 copy arg0,retreg
481 extru,= arg1,15,16,temp /* test denominator with 0xffff0000 */
482 extru retreg,15,16,retreg /* retreg = retreg >> 16 */
483 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 16) */
484 ldi 0xcc,temp1 /* setup 0xcc in temp1 */
485 extru,= arg1,23,8,temp /* test denominator with 0xff00 */
486 extru retreg,23,24,retreg /* retreg = retreg >> 8 */
487 or arg1,temp,arg1 /* arg1 = arg1 | (arg1 >> 8) */
488 ldi 0xaa,temp /* setup 0xaa in temp */
489 extru,= arg1,27,4,r0 /* test denominator with 0xf0 */
490 extru retreg,27,28,retreg /* retreg = retreg >> 4 */
491 and,= arg1,temp1,r0 /* test denominator with 0xcc */
492 extru retreg,29,30,retreg /* retreg = retreg >> 2 */
493 and,= arg1,temp,r0 /* test denominator with 0xaa */
494 extru retreg,30,31,retreg /* retreg = retreg >> 1 */
495 MILLIRETN
496 nop
497LSYM(regular_seq)
498 comib,>= 15,arg1,LREF(special_divisor)
499 subi 0,arg1,temp /* clear carry, negate the divisor */
500 ds r0,temp,r0 /* set V-bit to 1 */
501LSYM(normal)
502 add arg0,arg0,retreg /* shift msb bit into carry */
503 ds r0,arg1,temp /* 1st divide step, if no carry */
504 addc retreg,retreg,retreg /* shift retreg with/into carry */
505 ds temp,arg1,temp /* 2nd divide step */
506 addc retreg,retreg,retreg /* shift retreg with/into carry */
507 ds temp,arg1,temp /* 3rd divide step */
508 addc retreg,retreg,retreg /* shift retreg with/into carry */
509 ds temp,arg1,temp /* 4th divide step */
510 addc retreg,retreg,retreg /* shift retreg with/into carry */
511 ds temp,arg1,temp /* 5th divide step */
512 addc retreg,retreg,retreg /* shift retreg with/into carry */
513 ds temp,arg1,temp /* 6th divide step */
514 addc retreg,retreg,retreg /* shift retreg with/into carry */
515 ds temp,arg1,temp /* 7th divide step */
516 addc retreg,retreg,retreg /* shift retreg with/into carry */
517 ds temp,arg1,temp /* 8th divide step */
518 addc retreg,retreg,retreg /* shift retreg with/into carry */
519 ds temp,arg1,temp /* 9th divide step */
520 addc retreg,retreg,retreg /* shift retreg with/into carry */
521 ds temp,arg1,temp /* 10th divide step */
522 addc retreg,retreg,retreg /* shift retreg with/into carry */
523 ds temp,arg1,temp /* 11th divide step */
524 addc retreg,retreg,retreg /* shift retreg with/into carry */
525 ds temp,arg1,temp /* 12th divide step */
526 addc retreg,retreg,retreg /* shift retreg with/into carry */
527 ds temp,arg1,temp /* 13th divide step */
528 addc retreg,retreg,retreg /* shift retreg with/into carry */
529 ds temp,arg1,temp /* 14th divide step */
530 addc retreg,retreg,retreg /* shift retreg with/into carry */
531 ds temp,arg1,temp /* 15th divide step */
532 addc retreg,retreg,retreg /* shift retreg with/into carry */
533 ds temp,arg1,temp /* 16th divide step */
534 addc retreg,retreg,retreg /* shift retreg with/into carry */
535 ds temp,arg1,temp /* 17th divide step */
536 addc retreg,retreg,retreg /* shift retreg with/into carry */
537 ds temp,arg1,temp /* 18th divide step */
538 addc retreg,retreg,retreg /* shift retreg with/into carry */
539 ds temp,arg1,temp /* 19th divide step */
540 addc retreg,retreg,retreg /* shift retreg with/into carry */
541 ds temp,arg1,temp /* 20th divide step */
542 addc retreg,retreg,retreg /* shift retreg with/into carry */
543 ds temp,arg1,temp /* 21st divide step */
544 addc retreg,retreg,retreg /* shift retreg with/into carry */
545 ds temp,arg1,temp /* 22nd divide step */
546 addc retreg,retreg,retreg /* shift retreg with/into carry */
547 ds temp,arg1,temp /* 23rd divide step */
548 addc retreg,retreg,retreg /* shift retreg with/into carry */
549 ds temp,arg1,temp /* 24th divide step */
550 addc retreg,retreg,retreg /* shift retreg with/into carry */
551 ds temp,arg1,temp /* 25th divide step */
552 addc retreg,retreg,retreg /* shift retreg with/into carry */
553 ds temp,arg1,temp /* 26th divide step */
554 addc retreg,retreg,retreg /* shift retreg with/into carry */
555 ds temp,arg1,temp /* 27th divide step */
556 addc retreg,retreg,retreg /* shift retreg with/into carry */
557 ds temp,arg1,temp /* 28th divide step */
558 addc retreg,retreg,retreg /* shift retreg with/into carry */
559 ds temp,arg1,temp /* 29th divide step */
560 addc retreg,retreg,retreg /* shift retreg with/into carry */
561 ds temp,arg1,temp /* 30th divide step */
562 addc retreg,retreg,retreg /* shift retreg with/into carry */
563 ds temp,arg1,temp /* 31st divide step */
564 addc retreg,retreg,retreg /* shift retreg with/into carry */
565 ds temp,arg1,temp /* 32nd divide step, */
566 MILLIRET
567 addc retreg,retreg,retreg /* shift last retreg bit into retreg */
568
569/* Handle the cases where divisor is a small constant or has high bit on. */
570LSYM(special_divisor)
571/* blr arg1,r0 */
572/* comib,>,n 0,arg1,LREF(big_divisor) ; nullify previous instruction */
573
574/* Pratap 8/13/90. The 815 Stirling chip set has a bug that prevents us from
575 generating such a blr, comib sequence. A problem in nullification. So I
576 rewrote this code. */
577
578#if defined(CONFIG_64BIT)
579/* Clear the upper 32 bits of the arg1 register. We are working with
580 small divisors (and 32-bit unsigned integers) We must not be mislead
581 by "1" bits left in the upper 32 bits. */
582 depd %r0,31,32,%r25
583#endif
584 comib,> 0,arg1,LREF(big_divisor)
585 nop
586 blr arg1,r0
587 nop
588
589LSYM(zero_divisor) /* this label is here to provide external visibility */
590 addit,= 0,arg1,0 /* trap for zero dvr */
591 nop
592 MILLIRET /* divisor == 1 */
593 copy arg0,retreg
594 MILLIRET /* divisor == 2 */
595 extru arg0,30,31,retreg
596 MILLI_BEN($$divU_3) /* divisor == 3 */
597 nop
598 MILLIRET /* divisor == 4 */
599 extru arg0,29,30,retreg
600 MILLI_BEN($$divU_5) /* divisor == 5 */
601 nop
602 MILLI_BEN($$divU_6) /* divisor == 6 */
603 nop
604 MILLI_BEN($$divU_7) /* divisor == 7 */
605 nop
606 MILLIRET /* divisor == 8 */
607 extru arg0,28,29,retreg
608 MILLI_BEN($$divU_9) /* divisor == 9 */
609 nop
610 MILLI_BEN($$divU_10) /* divisor == 10 */
611 nop
612 b LREF(normal) /* divisor == 11 */
613 ds r0,temp,r0 /* set V-bit to 1 */
614 MILLI_BEN($$divU_12) /* divisor == 12 */
615 nop
616 b LREF(normal) /* divisor == 13 */
617 ds r0,temp,r0 /* set V-bit to 1 */
618 MILLI_BEN($$divU_14) /* divisor == 14 */
619 nop
620 MILLI_BEN($$divU_15) /* divisor == 15 */
621 nop
622
623/* Handle the case where the high bit is on in the divisor.
624 Compute: if( dividend>=divisor) quotient=1; else quotient=0;
625 Note: dividend>==divisor iff dividend-divisor does not borrow
626 and not borrow iff carry. */
627LSYM(big_divisor)
628 sub arg0,arg1,r0
629 MILLIRET
630 addc r0,r0,retreg
631 .exit
632 .procend
633 .end
634#endif
635
636#ifdef L_remI
637/* ROUTINE: $$remI
638
639 DESCRIPTION:
640 . $$remI returns the remainder of the division of two signed 32-bit
641 . integers. The sign of the remainder is the same as the sign of
642 . the dividend.
643
644
645 INPUT REGISTERS:
646 . arg0 == dividend
647 . arg1 == divisor
648 . mrp == return pc
649 . sr0 == return space when called externally
650
651 OUTPUT REGISTERS:
652 . arg0 = destroyed
653 . arg1 = destroyed
654 . ret1 = remainder
655
656 OTHER REGISTERS AFFECTED:
657 . r1 = undefined
658
659 SIDE EFFECTS:
660 . Causes a trap under the following conditions: DIVIDE BY ZERO
661 . Changes memory at the following places: NONE
662
663 PERMISSIBLE CONTEXT:
664 . Unwindable
665 . Does not create a stack frame
666 . Is usable for internal or external microcode
667
668 DISCUSSION:
669 . Calls other millicode routines via mrp: NONE
670 . Calls other millicode routines: NONE */
671
672RDEFINE(tmp,r1)
673RDEFINE(retreg,ret1)
674
675 SUBSPA_MILLI
676 ATTR_MILLI
677 .proc
678 .callinfo millicode
679 .entry
680GSYM($$remI)
681GSYM($$remoI)
682 .export $$remI,MILLICODE
683 .export $$remoI,MILLICODE
684 ldo -1(arg1),tmp /* is there at most one bit set ? */
685 and,<> arg1,tmp,r0 /* if not, don't use power of 2 */
686 addi,> 0,arg1,r0 /* if denominator > 0, use power */
687 /* of 2 */
688 b,n LREF(neg_denom)
689LSYM(pow2)
690 comb,>,n 0,arg0,LREF(neg_num) /* is numerator < 0 ? */
691 and arg0,tmp,retreg /* get the result */
692 MILLIRETN
693LSYM(neg_num)
694 subi 0,arg0,arg0 /* negate numerator */
695 and arg0,tmp,retreg /* get the result */
696 subi 0,retreg,retreg /* negate result */
697 MILLIRETN
698LSYM(neg_denom)
699 addi,< 0,arg1,r0 /* if arg1 >= 0, it's not power */
700 /* of 2 */
701 b,n LREF(regular_seq)
702 sub r0,arg1,tmp /* make denominator positive */
703 comb,=,n arg1,tmp,LREF(regular_seq) /* test against 0x80000000 and 0 */
704 ldo -1(tmp),retreg /* is there at most one bit set ? */
705 and,= tmp,retreg,r0 /* if not, go to regular_seq */
706 b,n LREF(regular_seq)
707 comb,>,n 0,arg0,LREF(neg_num_2) /* if arg0 < 0, negate it */
708 and arg0,retreg,retreg
709 MILLIRETN
710LSYM(neg_num_2)
711 subi 0,arg0,tmp /* test against 0x80000000 */
712 and tmp,retreg,retreg
713 subi 0,retreg,retreg
714 MILLIRETN
715LSYM(regular_seq)
716 addit,= 0,arg1,0 /* trap if div by zero */
717 add,>= 0,arg0,retreg /* move dividend, if retreg < 0, */
718 sub 0,retreg,retreg /* make it positive */
719 sub 0,arg1, tmp /* clear carry, */
720 /* negate the divisor */
721 ds 0, tmp,0 /* set V-bit to the comple- */
722 /* ment of the divisor sign */
723 or 0,0, tmp /* clear tmp */
724 add retreg,retreg,retreg /* shift msb bit into carry */
725 ds tmp,arg1, tmp /* 1st divide step, if no carry */
726 /* out, msb of quotient = 0 */
727 addc retreg,retreg,retreg /* shift retreg with/into carry */
728LSYM(t1)
729 ds tmp,arg1, tmp /* 2nd divide step */
730 addc retreg,retreg,retreg /* shift retreg with/into carry */
731 ds tmp,arg1, tmp /* 3rd divide step */
732 addc retreg,retreg,retreg /* shift retreg with/into carry */
733 ds tmp,arg1, tmp /* 4th divide step */
734 addc retreg,retreg,retreg /* shift retreg with/into carry */
735 ds tmp,arg1, tmp /* 5th divide step */
736 addc retreg,retreg,retreg /* shift retreg with/into carry */
737 ds tmp,arg1, tmp /* 6th divide step */
738 addc retreg,retreg,retreg /* shift retreg with/into carry */
739 ds tmp,arg1, tmp /* 7th divide step */
740 addc retreg,retreg,retreg /* shift retreg with/into carry */
741 ds tmp,arg1, tmp /* 8th divide step */
742 addc retreg,retreg,retreg /* shift retreg with/into carry */
743 ds tmp,arg1, tmp /* 9th divide step */
744 addc retreg,retreg,retreg /* shift retreg with/into carry */
745 ds tmp,arg1, tmp /* 10th divide step */
746 addc retreg,retreg,retreg /* shift retreg with/into carry */
747 ds tmp,arg1, tmp /* 11th divide step */
748 addc retreg,retreg,retreg /* shift retreg with/into carry */
749 ds tmp,arg1, tmp /* 12th divide step */
750 addc retreg,retreg,retreg /* shift retreg with/into carry */
751 ds tmp,arg1, tmp /* 13th divide step */
752 addc retreg,retreg,retreg /* shift retreg with/into carry */
753 ds tmp,arg1, tmp /* 14th divide step */
754 addc retreg,retreg,retreg /* shift retreg with/into carry */
755 ds tmp,arg1, tmp /* 15th divide step */
756 addc retreg,retreg,retreg /* shift retreg with/into carry */
757 ds tmp,arg1, tmp /* 16th divide step */
758 addc retreg,retreg,retreg /* shift retreg with/into carry */
759 ds tmp,arg1, tmp /* 17th divide step */
760 addc retreg,retreg,retreg /* shift retreg with/into carry */
761 ds tmp,arg1, tmp /* 18th divide step */
762 addc retreg,retreg,retreg /* shift retreg with/into carry */
763 ds tmp,arg1, tmp /* 19th divide step */
764 addc retreg,retreg,retreg /* shift retreg with/into carry */
765 ds tmp,arg1, tmp /* 20th divide step */
766 addc retreg,retreg,retreg /* shift retreg with/into carry */
767 ds tmp,arg1, tmp /* 21st divide step */
768 addc retreg,retreg,retreg /* shift retreg with/into carry */
769 ds tmp,arg1, tmp /* 22nd divide step */
770 addc retreg,retreg,retreg /* shift retreg with/into carry */
771 ds tmp,arg1, tmp /* 23rd divide step */
772 addc retreg,retreg,retreg /* shift retreg with/into carry */
773 ds tmp,arg1, tmp /* 24th divide step */
774 addc retreg,retreg,retreg /* shift retreg with/into carry */
775 ds tmp,arg1, tmp /* 25th divide step */
776 addc retreg,retreg,retreg /* shift retreg with/into carry */
777 ds tmp,arg1, tmp /* 26th divide step */
778 addc retreg,retreg,retreg /* shift retreg with/into carry */
779 ds tmp,arg1, tmp /* 27th divide step */
780 addc retreg,retreg,retreg /* shift retreg with/into carry */
781 ds tmp,arg1, tmp /* 28th divide step */
782 addc retreg,retreg,retreg /* shift retreg with/into carry */
783 ds tmp,arg1, tmp /* 29th divide step */
784 addc retreg,retreg,retreg /* shift retreg with/into carry */
785 ds tmp,arg1, tmp /* 30th divide step */
786 addc retreg,retreg,retreg /* shift retreg with/into carry */
787 ds tmp,arg1, tmp /* 31st divide step */
788 addc retreg,retreg,retreg /* shift retreg with/into carry */
789 ds tmp,arg1, tmp /* 32nd divide step, */
790 addc retreg,retreg,retreg /* shift last bit into retreg */
791 movb,>=,n tmp,retreg,LREF(finish) /* branch if pos. tmp */
792 add,< arg1,0,0 /* if arg1 > 0, add arg1 */
793 add,tr tmp,arg1,retreg /* for correcting remainder tmp */
794 sub tmp,arg1,retreg /* else add absolute value arg1 */
795LSYM(finish)
796 add,>= arg0,0,0 /* set sign of remainder */
797 sub 0,retreg,retreg /* to sign of dividend */
798 MILLIRET
799 nop
800 .exit
801 .procend
802#ifdef milliext
803 .origin 0x00000200
804#endif
805 .end
806#endif
807
808#ifdef L_remU
809/* ROUTINE: $$remU
810 . Single precision divide for remainder with unsigned binary integers.
811 .
812 . The remainder must be dividend-(dividend/divisor)*divisor.
813 . Divide by zero is trapped.
814
815 INPUT REGISTERS:
816 . arg0 == dividend
817 . arg1 == divisor
818 . mrp == return pc
819 . sr0 == return space when called externally
820
821 OUTPUT REGISTERS:
822 . arg0 = undefined
823 . arg1 = undefined
824 . ret1 = remainder
825
826 OTHER REGISTERS AFFECTED:
827 . r1 = undefined
828
829 SIDE EFFECTS:
830 . Causes a trap under the following conditions: DIVIDE BY ZERO
831 . Changes memory at the following places: NONE
832
833 PERMISSIBLE CONTEXT:
834 . Unwindable.
835 . Does not create a stack frame.
836 . Suitable for internal or external millicode.
837 . Assumes the special millicode register conventions.
838
839 DISCUSSION:
840 . Calls other millicode routines using mrp: NONE
841 . Calls other millicode routines: NONE */
842
843
844RDEFINE(temp,r1)
845RDEFINE(rmndr,ret1) /* r29 */
846 SUBSPA_MILLI
847 ATTR_MILLI
848 .export $$remU,millicode
849 .proc
850 .callinfo millicode
851 .entry
852GSYM($$remU)
853 ldo -1(arg1),temp /* is there at most one bit set ? */
854 and,= arg1,temp,r0 /* if not, don't use power of 2 */
855 b LREF(regular_seq)
856 addit,= 0,arg1,r0 /* trap on div by zero */
857 and arg0,temp,rmndr /* get the result for power of 2 */
858 MILLIRETN
859LSYM(regular_seq)
860 comib,>=,n 0,arg1,LREF(special_case)
861 subi 0,arg1,rmndr /* clear carry, negate the divisor */
862 ds r0,rmndr,r0 /* set V-bit to 1 */
863 add arg0,arg0,temp /* shift msb bit into carry */
864 ds r0,arg1,rmndr /* 1st divide step, if no carry */
865 addc temp,temp,temp /* shift temp with/into carry */
866 ds rmndr,arg1,rmndr /* 2nd divide step */
867 addc temp,temp,temp /* shift temp with/into carry */
868 ds rmndr,arg1,rmndr /* 3rd divide step */
869 addc temp,temp,temp /* shift temp with/into carry */
870 ds rmndr,arg1,rmndr /* 4th divide step */
871 addc temp,temp,temp /* shift temp with/into carry */
872 ds rmndr,arg1,rmndr /* 5th divide step */
873 addc temp,temp,temp /* shift temp with/into carry */
874 ds rmndr,arg1,rmndr /* 6th divide step */
875 addc temp,temp,temp /* shift temp with/into carry */
876 ds rmndr,arg1,rmndr /* 7th divide step */
877 addc temp,temp,temp /* shift temp with/into carry */
878 ds rmndr,arg1,rmndr /* 8th divide step */
879 addc temp,temp,temp /* shift temp with/into carry */
880 ds rmndr,arg1,rmndr /* 9th divide step */
881 addc temp,temp,temp /* shift temp with/into carry */
882 ds rmndr,arg1,rmndr /* 10th divide step */
883 addc temp,temp,temp /* shift temp with/into carry */
884 ds rmndr,arg1,rmndr /* 11th divide step */
885 addc temp,temp,temp /* shift temp with/into carry */
886 ds rmndr,arg1,rmndr /* 12th divide step */
887 addc temp,temp,temp /* shift temp with/into carry */
888 ds rmndr,arg1,rmndr /* 13th divide step */
889 addc temp,temp,temp /* shift temp with/into carry */
890 ds rmndr,arg1,rmndr /* 14th divide step */
891 addc temp,temp,temp /* shift temp with/into carry */
892 ds rmndr,arg1,rmndr /* 15th divide step */
893 addc temp,temp,temp /* shift temp with/into carry */
894 ds rmndr,arg1,rmndr /* 16th divide step */
895 addc temp,temp,temp /* shift temp with/into carry */
896 ds rmndr,arg1,rmndr /* 17th divide step */
897 addc temp,temp,temp /* shift temp with/into carry */
898 ds rmndr,arg1,rmndr /* 18th divide step */
899 addc temp,temp,temp /* shift temp with/into carry */
900 ds rmndr,arg1,rmndr /* 19th divide step */
901 addc temp,temp,temp /* shift temp with/into carry */
902 ds rmndr,arg1,rmndr /* 20th divide step */
903 addc temp,temp,temp /* shift temp with/into carry */
904 ds rmndr,arg1,rmndr /* 21st divide step */
905 addc temp,temp,temp /* shift temp with/into carry */
906 ds rmndr,arg1,rmndr /* 22nd divide step */
907 addc temp,temp,temp /* shift temp with/into carry */
908 ds rmndr,arg1,rmndr /* 23rd divide step */
909 addc temp,temp,temp /* shift temp with/into carry */
910 ds rmndr,arg1,rmndr /* 24th divide step */
911 addc temp,temp,temp /* shift temp with/into carry */
912 ds rmndr,arg1,rmndr /* 25th divide step */
913 addc temp,temp,temp /* shift temp with/into carry */
914 ds rmndr,arg1,rmndr /* 26th divide step */
915 addc temp,temp,temp /* shift temp with/into carry */
916 ds rmndr,arg1,rmndr /* 27th divide step */
917 addc temp,temp,temp /* shift temp with/into carry */
918 ds rmndr,arg1,rmndr /* 28th divide step */
919 addc temp,temp,temp /* shift temp with/into carry */
920 ds rmndr,arg1,rmndr /* 29th divide step */
921 addc temp,temp,temp /* shift temp with/into carry */
922 ds rmndr,arg1,rmndr /* 30th divide step */
923 addc temp,temp,temp /* shift temp with/into carry */
924 ds rmndr,arg1,rmndr /* 31st divide step */
925 addc temp,temp,temp /* shift temp with/into carry */
926 ds rmndr,arg1,rmndr /* 32nd divide step, */
927 comiclr,<= 0,rmndr,r0
928 add rmndr,arg1,rmndr /* correction */
929 MILLIRETN
930 nop
931
932/* Putting >= on the last DS and deleting COMICLR does not work! */
933LSYM(special_case)
934 sub,>>= arg0,arg1,rmndr
935 copy arg0,rmndr
936 MILLIRETN
937 nop
938 .exit
939 .procend
940 .end
941#endif
942
943#ifdef L_div_const
944/* ROUTINE: $$divI_2
945 . $$divI_3 $$divU_3
946 . $$divI_4
947 . $$divI_5 $$divU_5
948 . $$divI_6 $$divU_6
949 . $$divI_7 $$divU_7
950 . $$divI_8
951 . $$divI_9 $$divU_9
952 . $$divI_10 $$divU_10
953 .
954 . $$divI_12 $$divU_12
955 .
956 . $$divI_14 $$divU_14
957 . $$divI_15 $$divU_15
958 . $$divI_16
959 . $$divI_17 $$divU_17
960 .
961 . Divide by selected constants for single precision binary integers.
962
963 INPUT REGISTERS:
964 . arg0 == dividend
965 . mrp == return pc
966 . sr0 == return space when called externally
967
968 OUTPUT REGISTERS:
969 . arg0 = undefined
970 . arg1 = undefined
971 . ret1 = quotient
972
973 OTHER REGISTERS AFFECTED:
974 . r1 = undefined
975
976 SIDE EFFECTS:
977 . Causes a trap under the following conditions: NONE
978 . Changes memory at the following places: NONE
979
980 PERMISSIBLE CONTEXT:
981 . Unwindable.
982 . Does not create a stack frame.
983 . Suitable for internal or external millicode.
984 . Assumes the special millicode register conventions.
985
986 DISCUSSION:
987 . Calls other millicode routines using mrp: NONE
988 . Calls other millicode routines: NONE */
989
990
991/* TRUNCATED DIVISION BY SMALL INTEGERS
992
993 We are interested in q(x) = floor(x/y), where x >= 0 and y > 0
994 (with y fixed).
995
996 Let a = floor(z/y), for some choice of z. Note that z will be
997 chosen so that division by z is cheap.
998
999 Let r be the remainder(z/y). In other words, r = z - ay.
1000
1001 Now, our method is to choose a value for b such that
1002
1003 q'(x) = floor((ax+b)/z)
1004
1005 is equal to q(x) over as large a range of x as possible. If the
1006 two are equal over a sufficiently large range, and if it is easy to
1007 form the product (ax), and it is easy to divide by z, then we can
1008 perform the division much faster than the general division algorithm.
1009
1010 So, we want the following to be true:
1011
1012 . For x in the following range:
1013 .
1014 . ky <= x < (k+1)y
1015 .
1016 . implies that
1017 .
1018 . k <= (ax+b)/z < (k+1)
1019
1020 We want to determine b such that this is true for all k in the
1021 range {0..K} for some maximum K.
1022
1023 Since (ax+b) is an increasing function of x, we can take each
1024 bound separately to determine the "best" value for b.
1025
1026 (ax+b)/z < (k+1) implies
1027
1028 (a((k+1)y-1)+b < (k+1)z implies
1029
1030 b < a + (k+1)(z-ay) implies
1031
1032 b < a + (k+1)r
1033
1034 This needs to be true for all k in the range {0..K}. In
1035 particular, it is true for k = 0 and this leads to a maximum
1036 acceptable value for b.
1037
1038 b < a+r or b <= a+r-1
1039
1040 Taking the other bound, we have
1041
1042 k <= (ax+b)/z implies
1043
1044 k <= (aky+b)/z implies
1045
1046 k(z-ay) <= b implies
1047
1048 kr <= b
1049
1050 Clearly, the largest range for k will be achieved by maximizing b,
1051 when r is not zero. When r is zero, then the simplest choice for b
1052 is 0. When r is not 0, set
1053
1054 . b = a+r-1
1055
1056 Now, by construction, q'(x) = floor((ax+b)/z) = q(x) = floor(x/y)
1057 for all x in the range:
1058
1059 . 0 <= x < (K+1)y
1060
1061 We need to determine what K is. Of our two bounds,
1062
1063 . b < a+(k+1)r is satisfied for all k >= 0, by construction.
1064
1065 The other bound is
1066
1067 . kr <= b
1068
1069 This is always true if r = 0. If r is not 0 (the usual case), then
1070 K = floor((a+r-1)/r), is the maximum value for k.
1071
1072 Therefore, the formula q'(x) = floor((ax+b)/z) yields the correct
1073 answer for q(x) = floor(x/y) when x is in the range
1074
1075 (0,(K+1)y-1) K = floor((a+r-1)/r)
1076
1077 To be most useful, we want (K+1)y-1 = (max x) >= 2**32-1 so that
1078 the formula for q'(x) yields the correct value of q(x) for all x
1079 representable by a single word in HPPA.
1080
1081 We are also constrained in that computing the product (ax), adding
1082 b, and dividing by z must all be done quickly, otherwise we will be
1083 better off going through the general algorithm using the DS
1084 instruction, which uses approximately 70 cycles.
1085
1086 For each y, there is a choice of z which satisfies the constraints
1087 for (K+1)y >= 2**32. We may not, however, be able to satisfy the
1088 timing constraints for arbitrary y. It seems that z being equal to
1089 a power of 2 or a power of 2 minus 1 is as good as we can do, since
1090 it minimizes the time to do division by z. We want the choice of z
1091 to also result in a value for (a) that minimizes the computation of
1092 the product (ax). This is best achieved if (a) has a regular bit
1093 pattern (so the multiplication can be done with shifts and adds).
1094 The value of (a) also needs to be less than 2**32 so the product is
1095 always guaranteed to fit in 2 words.
1096
1097 In actual practice, the following should be done:
1098
1099 1) For negative x, you should take the absolute value and remember
1100 . the fact so that the result can be negated. This obviously does
1101 . not apply in the unsigned case.
1102 2) For even y, you should factor out the power of 2 that divides y
1103 . and divide x by it. You can then proceed by dividing by the
1104 . odd factor of y.
1105
1106 Here is a table of some odd values of y, and corresponding choices
1107 for z which are "good".
1108
1109 y z r a (hex) max x (hex)
1110
1111 3 2**32 1 55555555 100000001
1112 5 2**32 1 33333333 100000003
1113 7 2**24-1 0 249249 (infinite)
1114 9 2**24-1 0 1c71c7 (infinite)
1115 11 2**20-1 0 1745d (infinite)
1116 13 2**24-1 0 13b13b (infinite)
1117 15 2**32 1 11111111 10000000d
1118 17 2**32 1 f0f0f0f 10000000f
1119
1120 If r is 1, then b = a+r-1 = a. This simplifies the computation
1121 of (ax+b), since you can compute (x+1)(a) instead. If r is 0,
1122 then b = 0 is ok to use which simplifies (ax+b).
1123
1124 The bit patterns for 55555555, 33333333, and 11111111 are obviously
1125 very regular. The bit patterns for the other values of a above are:
1126
1127 y (hex) (binary)
1128
1129 7 249249 001001001001001001001001 << regular >>
1130 9 1c71c7 000111000111000111000111 << regular >>
1131 11 1745d 000000010111010001011101 << irregular >>
1132 13 13b13b 000100111011000100111011 << irregular >>
1133
1134 The bit patterns for (a) corresponding to (y) of 11 and 13 may be
1135 too irregular to warrant using this method.
1136
1137 When z is a power of 2 minus 1, then the division by z is slightly
1138 more complicated, involving an iterative solution.
1139
1140 The code presented here solves division by 1 through 17, except for
1141 11 and 13. There are algorithms for both signed and unsigned
1142 quantities given.
1143
1144 TIMINGS (cycles)
1145
1146 divisor positive negative unsigned
1147
1148 . 1 2 2 2
1149 . 2 4 4 2
1150 . 3 19 21 19
1151 . 4 4 4 2
1152 . 5 18 22 19
1153 . 6 19 22 19
1154 . 8 4 4 2
1155 . 10 18 19 17
1156 . 12 18 20 18
1157 . 15 16 18 16
1158 . 16 4 4 2
1159 . 17 16 18 16
1160
1161 Now, the algorithm for 7, 9, and 14 is an iterative one. That is,
1162 a loop body is executed until the tentative quotient is 0. The
1163 number of times the loop body is executed varies depending on the
1164 dividend, but is never more than two times. If the dividend is
1165 less than the divisor, then the loop body is not executed at all.
1166 Each iteration adds 4 cycles to the timings.
1167
1168 divisor positive negative unsigned
1169
1170 . 7 19+4n 20+4n 20+4n n = number of iterations
1171 . 9 21+4n 22+4n 21+4n
1172 . 14 21+4n 22+4n 20+4n
1173
1174 To give an idea of how the number of iterations varies, here is a
1175 table of dividend versus number of iterations when dividing by 7.
1176
1177 smallest largest required
1178 dividend dividend iterations
1179
1180 . 0 6 0
1181 . 7 0x6ffffff 1
1182 0x1000006 0xffffffff 2
1183
1184 There is some overlap in the range of numbers requiring 1 and 2
1185 iterations. */
1186
1187RDEFINE(t2,r1)
1188RDEFINE(x2,arg0) /* r26 */
1189RDEFINE(t1,arg1) /* r25 */
1190RDEFINE(x1,ret1) /* r29 */
1191
1192 SUBSPA_MILLI_DIV
1193 ATTR_MILLI
1194
1195 .proc
1196 .callinfo millicode
1197 .entry
1198/* NONE of these routines require a stack frame
1199 ALL of these routines are unwindable from millicode */
1200
1201GSYM($$divide_by_constant)
1202 .export $$divide_by_constant,millicode
1203/* Provides a "nice" label for the code covered by the unwind descriptor
1204 for things like gprof. */
1205
1206/* DIVISION BY 2 (shift by 1) */
1207GSYM($$divI_2)
1208 .export $$divI_2,millicode
1209 comclr,>= arg0,0,0
1210 addi 1,arg0,arg0
1211 MILLIRET
1212 extrs arg0,30,31,ret1
1213
1214
1215/* DIVISION BY 4 (shift by 2) */
1216GSYM($$divI_4)
1217 .export $$divI_4,millicode
1218 comclr,>= arg0,0,0
1219 addi 3,arg0,arg0
1220 MILLIRET
1221 extrs arg0,29,30,ret1
1222
1223
1224/* DIVISION BY 8 (shift by 3) */
1225GSYM($$divI_8)
1226 .export $$divI_8,millicode
1227 comclr,>= arg0,0,0
1228 addi 7,arg0,arg0
1229 MILLIRET
1230 extrs arg0,28,29,ret1
1231
1232/* DIVISION BY 16 (shift by 4) */
1233GSYM($$divI_16)
1234 .export $$divI_16,millicode
1235 comclr,>= arg0,0,0
1236 addi 15,arg0,arg0
1237 MILLIRET
1238 extrs arg0,27,28,ret1
1239
1240/****************************************************************************
1241*
1242* DIVISION BY DIVISORS OF FFFFFFFF, and powers of 2 times these
1243*
1244* includes 3,5,15,17 and also 6,10,12
1245*
1246****************************************************************************/
1247
1248/* DIVISION BY 3 (use z = 2**32; a = 55555555) */
1249
1250GSYM($$divI_3)
1251 .export $$divI_3,millicode
1252 comb,<,N x2,0,LREF(neg3)
1253
1254 addi 1,x2,x2 /* this cannot overflow */
1255 extru x2,1,2,x1 /* multiply by 5 to get started */
1256 sh2add x2,x2,x2
1257 b LREF(pos)
1258 addc x1,0,x1
1259
1260LSYM(neg3)
1261 subi 1,x2,x2 /* this cannot overflow */
1262 extru x2,1,2,x1 /* multiply by 5 to get started */
1263 sh2add x2,x2,x2
1264 b LREF(neg)
1265 addc x1,0,x1
1266
1267GSYM($$divU_3)
1268 .export $$divU_3,millicode
1269 addi 1,x2,x2 /* this CAN overflow */
1270 addc 0,0,x1
1271 shd x1,x2,30,t1 /* multiply by 5 to get started */
1272 sh2add x2,x2,x2
1273 b LREF(pos)
1274 addc x1,t1,x1
1275
1276/* DIVISION BY 5 (use z = 2**32; a = 33333333) */
1277
1278GSYM($$divI_5)
1279 .export $$divI_5,millicode
1280 comb,<,N x2,0,LREF(neg5)
1281
1282 addi 3,x2,t1 /* this cannot overflow */
1283 sh1add x2,t1,x2 /* multiply by 3 to get started */
1284 b LREF(pos)
1285 addc 0,0,x1
1286
1287LSYM(neg5)
1288 sub 0,x2,x2 /* negate x2 */
1289 addi 1,x2,x2 /* this cannot overflow */
1290 shd 0,x2,31,x1 /* get top bit (can be 1) */
1291 sh1add x2,x2,x2 /* multiply by 3 to get started */
1292 b LREF(neg)
1293 addc x1,0,x1
1294
1295GSYM($$divU_5)
1296 .export $$divU_5,millicode
1297 addi 1,x2,x2 /* this CAN overflow */
1298 addc 0,0,x1
1299 shd x1,x2,31,t1 /* multiply by 3 to get started */
1300 sh1add x2,x2,x2
1301 b LREF(pos)
1302 addc t1,x1,x1
1303
1304/* DIVISION BY 6 (shift to divide by 2 then divide by 3) */
1305GSYM($$divI_6)
1306 .export $$divI_6,millicode
1307 comb,<,N x2,0,LREF(neg6)
1308 extru x2,30,31,x2 /* divide by 2 */
1309 addi 5,x2,t1 /* compute 5*(x2+1) = 5*x2+5 */
1310 sh2add x2,t1,x2 /* multiply by 5 to get started */
1311 b LREF(pos)
1312 addc 0,0,x1
1313
1314LSYM(neg6)
1315 subi 2,x2,x2 /* negate, divide by 2, and add 1 */
1316 /* negation and adding 1 are done */
1317 /* at the same time by the SUBI */
1318 extru x2,30,31,x2
1319 shd 0,x2,30,x1
1320 sh2add x2,x2,x2 /* multiply by 5 to get started */
1321 b LREF(neg)
1322 addc x1,0,x1
1323
1324GSYM($$divU_6)
1325 .export $$divU_6,millicode
1326 extru x2,30,31,x2 /* divide by 2 */
1327 addi 1,x2,x2 /* cannot carry */
1328 shd 0,x2,30,x1 /* multiply by 5 to get started */
1329 sh2add x2,x2,x2
1330 b LREF(pos)
1331 addc x1,0,x1
1332
1333/* DIVISION BY 10 (shift to divide by 2 then divide by 5) */
1334GSYM($$divU_10)
1335 .export $$divU_10,millicode
1336 extru x2,30,31,x2 /* divide by 2 */
1337 addi 3,x2,t1 /* compute 3*(x2+1) = (3*x2)+3 */
1338 sh1add x2,t1,x2 /* multiply by 3 to get started */
1339 addc 0,0,x1
1340LSYM(pos)
1341 shd x1,x2,28,t1 /* multiply by 0x11 */
1342 shd x2,0,28,t2
1343 add x2,t2,x2
1344 addc x1,t1,x1
1345LSYM(pos_for_17)
1346 shd x1,x2,24,t1 /* multiply by 0x101 */
1347 shd x2,0,24,t2
1348 add x2,t2,x2
1349 addc x1,t1,x1
1350
1351 shd x1,x2,16,t1 /* multiply by 0x10001 */
1352 shd x2,0,16,t2
1353 add x2,t2,x2
1354 MILLIRET
1355 addc x1,t1,x1
1356
1357GSYM($$divI_10)
1358 .export $$divI_10,millicode
1359 comb,< x2,0,LREF(neg10)
1360 copy 0,x1
1361 extru x2,30,31,x2 /* divide by 2 */
1362 addib,TR 1,x2,LREF(pos) /* add 1 (cannot overflow) */
1363 sh1add x2,x2,x2 /* multiply by 3 to get started */
1364
1365LSYM(neg10)
1366 subi 2,x2,x2 /* negate, divide by 2, and add 1 */
1367 /* negation and adding 1 are done */
1368 /* at the same time by the SUBI */
1369 extru x2,30,31,x2
1370 sh1add x2,x2,x2 /* multiply by 3 to get started */
1371LSYM(neg)
1372 shd x1,x2,28,t1 /* multiply by 0x11 */
1373 shd x2,0,28,t2
1374 add x2,t2,x2
1375 addc x1,t1,x1
1376LSYM(neg_for_17)
1377 shd x1,x2,24,t1 /* multiply by 0x101 */
1378 shd x2,0,24,t2
1379 add x2,t2,x2
1380 addc x1,t1,x1
1381
1382 shd x1,x2,16,t1 /* multiply by 0x10001 */
1383 shd x2,0,16,t2
1384 add x2,t2,x2
1385 addc x1,t1,x1
1386 MILLIRET
1387 sub 0,x1,x1
1388
1389/* DIVISION BY 12 (shift to divide by 4 then divide by 3) */
1390GSYM($$divI_12)
1391 .export $$divI_12,millicode
1392 comb,< x2,0,LREF(neg12)
1393 copy 0,x1
1394 extru x2,29,30,x2 /* divide by 4 */
1395 addib,tr 1,x2,LREF(pos) /* compute 5*(x2+1) = 5*x2+5 */
1396 sh2add x2,x2,x2 /* multiply by 5 to get started */
1397
1398LSYM(neg12)
1399 subi 4,x2,x2 /* negate, divide by 4, and add 1 */
1400 /* negation and adding 1 are done */
1401 /* at the same time by the SUBI */
1402 extru x2,29,30,x2
1403 b LREF(neg)
1404 sh2add x2,x2,x2 /* multiply by 5 to get started */
1405
1406GSYM($$divU_12)
1407 .export $$divU_12,millicode
1408 extru x2,29,30,x2 /* divide by 4 */
1409 addi 5,x2,t1 /* cannot carry */
1410 sh2add x2,t1,x2 /* multiply by 5 to get started */
1411 b LREF(pos)
1412 addc 0,0,x1
1413
1414/* DIVISION BY 15 (use z = 2**32; a = 11111111) */
1415GSYM($$divI_15)
1416 .export $$divI_15,millicode
1417 comb,< x2,0,LREF(neg15)
1418 copy 0,x1
1419 addib,tr 1,x2,LREF(pos)+4
1420 shd x1,x2,28,t1
1421
1422LSYM(neg15)
1423 b LREF(neg)
1424 subi 1,x2,x2
1425
1426GSYM($$divU_15)
1427 .export $$divU_15,millicode
1428 addi 1,x2,x2 /* this CAN overflow */
1429 b LREF(pos)
1430 addc 0,0,x1
1431
1432/* DIVISION BY 17 (use z = 2**32; a = f0f0f0f) */
1433GSYM($$divI_17)
1434 .export $$divI_17,millicode
1435 comb,<,n x2,0,LREF(neg17)
1436 addi 1,x2,x2 /* this cannot overflow */
1437 shd 0,x2,28,t1 /* multiply by 0xf to get started */
1438 shd x2,0,28,t2
1439 sub t2,x2,x2
1440 b LREF(pos_for_17)
1441 subb t1,0,x1
1442
1443LSYM(neg17)
1444 subi 1,x2,x2 /* this cannot overflow */
1445 shd 0,x2,28,t1 /* multiply by 0xf to get started */
1446 shd x2,0,28,t2
1447 sub t2,x2,x2
1448 b LREF(neg_for_17)
1449 subb t1,0,x1
1450
1451GSYM($$divU_17)
1452 .export $$divU_17,millicode
1453 addi 1,x2,x2 /* this CAN overflow */
1454 addc 0,0,x1
1455 shd x1,x2,28,t1 /* multiply by 0xf to get started */
1456LSYM(u17)
1457 shd x2,0,28,t2
1458 sub t2,x2,x2
1459 b LREF(pos_for_17)
1460 subb t1,x1,x1
1461
1462
1463/* DIVISION BY DIVISORS OF FFFFFF, and powers of 2 times these
1464 includes 7,9 and also 14
1465
1466
1467 z = 2**24-1
1468 r = z mod x = 0
1469
1470 so choose b = 0
1471
1472 Also, in order to divide by z = 2**24-1, we approximate by dividing
1473 by (z+1) = 2**24 (which is easy), and then correcting.
1474
1475 (ax) = (z+1)q' + r
1476 . = zq' + (q'+r)
1477
1478 So to compute (ax)/z, compute q' = (ax)/(z+1) and r = (ax) mod (z+1)
1479 Then the true remainder of (ax)/z is (q'+r). Repeat the process
1480 with this new remainder, adding the tentative quotients together,
1481 until a tentative quotient is 0 (and then we are done). There is
1482 one last correction to be done. It is possible that (q'+r) = z.
1483 If so, then (q'+r)/(z+1) = 0 and it looks like we are done. But,
1484 in fact, we need to add 1 more to the quotient. Now, it turns
1485 out that this happens if and only if the original value x is
1486 an exact multiple of y. So, to avoid a three instruction test at
1487 the end, instead use 1 instruction to add 1 to x at the beginning. */
1488
1489/* DIVISION BY 7 (use z = 2**24-1; a = 249249) */
1490GSYM($$divI_7)
1491 .export $$divI_7,millicode
1492 comb,<,n x2,0,LREF(neg7)
1493LSYM(7)
1494 addi 1,x2,x2 /* cannot overflow */
1495 shd 0,x2,29,x1
1496 sh3add x2,x2,x2
1497 addc x1,0,x1
1498LSYM(pos7)
1499 shd x1,x2,26,t1
1500 shd x2,0,26,t2
1501 add x2,t2,x2
1502 addc x1,t1,x1
1503
1504 shd x1,x2,20,t1
1505 shd x2,0,20,t2
1506 add x2,t2,x2
1507 addc x1,t1,t1
1508
1509 /* computed <t1,x2>. Now divide it by (2**24 - 1) */
1510
1511 copy 0,x1
1512 shd,= t1,x2,24,t1 /* tentative quotient */
1513LSYM(1)
1514 addb,tr t1,x1,LREF(2) /* add to previous quotient */
1515 extru x2,31,24,x2 /* new remainder (unadjusted) */
1516
1517 MILLIRETN
1518
1519LSYM(2)
1520 addb,tr t1,x2,LREF(1) /* adjust remainder */
1521 extru,= x2,7,8,t1 /* new quotient */
1522
1523LSYM(neg7)
1524 subi 1,x2,x2 /* negate x2 and add 1 */
1525LSYM(8)
1526 shd 0,x2,29,x1
1527 sh3add x2,x2,x2
1528 addc x1,0,x1
1529
1530LSYM(neg7_shift)
1531 shd x1,x2,26,t1
1532 shd x2,0,26,t2
1533 add x2,t2,x2
1534 addc x1,t1,x1
1535
1536 shd x1,x2,20,t1
1537 shd x2,0,20,t2
1538 add x2,t2,x2
1539 addc x1,t1,t1
1540
1541 /* computed <t1,x2>. Now divide it by (2**24 - 1) */
1542
1543 copy 0,x1
1544 shd,= t1,x2,24,t1 /* tentative quotient */
1545LSYM(3)
1546 addb,tr t1,x1,LREF(4) /* add to previous quotient */
1547 extru x2,31,24,x2 /* new remainder (unadjusted) */
1548
1549 MILLIRET
1550 sub 0,x1,x1 /* negate result */
1551
1552LSYM(4)
1553 addb,tr t1,x2,LREF(3) /* adjust remainder */
1554 extru,= x2,7,8,t1 /* new quotient */
1555
1556GSYM($$divU_7)
1557 .export $$divU_7,millicode
1558 addi 1,x2,x2 /* can carry */
1559 addc 0,0,x1
1560 shd x1,x2,29,t1
1561 sh3add x2,x2,x2
1562 b LREF(pos7)
1563 addc t1,x1,x1
1564
1565/* DIVISION BY 9 (use z = 2**24-1; a = 1c71c7) */
1566GSYM($$divI_9)
1567 .export $$divI_9,millicode
1568 comb,<,n x2,0,LREF(neg9)
1569 addi 1,x2,x2 /* cannot overflow */
1570 shd 0,x2,29,t1
1571 shd x2,0,29,t2
1572 sub t2,x2,x2
1573 b LREF(pos7)
1574 subb t1,0,x1
1575
1576LSYM(neg9)
1577 subi 1,x2,x2 /* negate and add 1 */
1578 shd 0,x2,29,t1
1579 shd x2,0,29,t2
1580 sub t2,x2,x2
1581 b LREF(neg7_shift)
1582 subb t1,0,x1
1583
1584GSYM($$divU_9)
1585 .export $$divU_9,millicode
1586 addi 1,x2,x2 /* can carry */
1587 addc 0,0,x1
1588 shd x1,x2,29,t1
1589 shd x2,0,29,t2
1590 sub t2,x2,x2
1591 b LREF(pos7)
1592 subb t1,x1,x1
1593
1594/* DIVISION BY 14 (shift to divide by 2 then divide by 7) */
1595GSYM($$divI_14)
1596 .export $$divI_14,millicode
1597 comb,<,n x2,0,LREF(neg14)
1598GSYM($$divU_14)
1599 .export $$divU_14,millicode
1600 b LREF(7) /* go to 7 case */
1601 extru x2,30,31,x2 /* divide by 2 */
1602
1603LSYM(neg14)
1604 subi 2,x2,x2 /* negate (and add 2) */
1605 b LREF(8)
1606 extru x2,30,31,x2 /* divide by 2 */
1607 .exit
1608 .procend
1609 .end
1610#endif
1611
1612#ifdef L_mulI
1613/* VERSION "@(#)$$mulI $ Revision: 12.4 $ $ Date: 94/03/17 17:18:51 $" */
1614/******************************************************************************
1615This routine is used on PA2.0 processors when gcc -mno-fpregs is used
1616
1617ROUTINE: $$mulI
1618
1619
1620DESCRIPTION:
1621
1622 $$mulI multiplies two single word integers, giving a single
1623 word result.
1624
1625
1626INPUT REGISTERS:
1627
1628 arg0 = Operand 1
1629 arg1 = Operand 2
1630 r31 == return pc
1631 sr0 == return space when called externally
1632
1633
1634OUTPUT REGISTERS:
1635
1636 arg0 = undefined
1637 arg1 = undefined
1638 ret1 = result
1639
1640OTHER REGISTERS AFFECTED:
1641
1642 r1 = undefined
1643
1644SIDE EFFECTS:
1645
1646 Causes a trap under the following conditions: NONE
1647 Changes memory at the following places: NONE
1648
1649PERMISSIBLE CONTEXT:
1650
1651 Unwindable
1652 Does not create a stack frame
1653 Is usable for internal or external microcode
1654
1655DISCUSSION:
1656
1657 Calls other millicode routines via mrp: NONE
1658 Calls other millicode routines: NONE
1659
1660***************************************************************************/
1661
1662
1663#define a0 %arg0
1664#define a1 %arg1
1665#define t0 %r1
1666#define r %ret1
1667
1668#define a0__128a0 zdep a0,24,25,a0
1669#define a0__256a0 zdep a0,23,24,a0
1670#define a1_ne_0_b_l0 comb,<> a1,0,LREF(l0)
1671#define a1_ne_0_b_l1 comb,<> a1,0,LREF(l1)
1672#define a1_ne_0_b_l2 comb,<> a1,0,LREF(l2)
1673#define b_n_ret_t0 b,n LREF(ret_t0)
1674#define b_e_shift b LREF(e_shift)
1675#define b_e_t0ma0 b LREF(e_t0ma0)
1676#define b_e_t0 b LREF(e_t0)
1677#define b_e_t0a0 b LREF(e_t0a0)
1678#define b_e_t02a0 b LREF(e_t02a0)
1679#define b_e_t04a0 b LREF(e_t04a0)
1680#define b_e_2t0 b LREF(e_2t0)
1681#define b_e_2t0a0 b LREF(e_2t0a0)
1682#define b_e_2t04a0 b LREF(e2t04a0)
1683#define b_e_3t0 b LREF(e_3t0)
1684#define b_e_4t0 b LREF(e_4t0)
1685#define b_e_4t0a0 b LREF(e_4t0a0)
1686#define b_e_4t08a0 b LREF(e4t08a0)
1687#define b_e_5t0 b LREF(e_5t0)
1688#define b_e_8t0 b LREF(e_8t0)
1689#define b_e_8t0a0 b LREF(e_8t0a0)
1690#define r__r_a0 add r,a0,r
1691#define r__r_2a0 sh1add a0,r,r
1692#define r__r_4a0 sh2add a0,r,r
1693#define r__r_8a0 sh3add a0,r,r
1694#define r__r_t0 add r,t0,r
1695#define r__r_2t0 sh1add t0,r,r
1696#define r__r_4t0 sh2add t0,r,r
1697#define r__r_8t0 sh3add t0,r,r
1698#define t0__3a0 sh1add a0,a0,t0
1699#define t0__4a0 sh2add a0,0,t0
1700#define t0__5a0 sh2add a0,a0,t0
1701#define t0__8a0 sh3add a0,0,t0
1702#define t0__9a0 sh3add a0,a0,t0
1703#define t0__16a0 zdep a0,27,28,t0
1704#define t0__32a0 zdep a0,26,27,t0
1705#define t0__64a0 zdep a0,25,26,t0
1706#define t0__128a0 zdep a0,24,25,t0
1707#define t0__t0ma0 sub t0,a0,t0
1708#define t0__t0_a0 add t0,a0,t0
1709#define t0__t0_2a0 sh1add a0,t0,t0
1710#define t0__t0_4a0 sh2add a0,t0,t0
1711#define t0__t0_8a0 sh3add a0,t0,t0
1712#define t0__2t0_a0 sh1add t0,a0,t0
1713#define t0__3t0 sh1add t0,t0,t0
1714#define t0__4t0 sh2add t0,0,t0
1715#define t0__4t0_a0 sh2add t0,a0,t0
1716#define t0__5t0 sh2add t0,t0,t0
1717#define t0__8t0 sh3add t0,0,t0
1718#define t0__8t0_a0 sh3add t0,a0,t0
1719#define t0__9t0 sh3add t0,t0,t0
1720#define t0__16t0 zdep t0,27,28,t0
1721#define t0__32t0 zdep t0,26,27,t0
1722#define t0__256a0 zdep a0,23,24,t0
1723
1724
1725 SUBSPA_MILLI
1726 ATTR_MILLI
1727 .align 16
1728 .proc
1729 .callinfo millicode
1730 .export $$mulI,millicode
1731GSYM($$mulI)
1732 combt,<<= a1,a0,LREF(l4) /* swap args if unsigned a1>a0 */
1733 copy 0,r /* zero out the result */
1734 xor a0,a1,a0 /* swap a0 & a1 using the */
1735 xor a0,a1,a1 /* old xor trick */
1736 xor a0,a1,a0
1737LSYM(l4)
1738 combt,<= 0,a0,LREF(l3) /* if a0>=0 then proceed like unsigned */
1739 zdep a1,30,8,t0 /* t0 = (a1&0xff)<<1 ********* */
1740 sub,> 0,a1,t0 /* otherwise negate both and */
1741 combt,<=,n a0,t0,LREF(l2) /* swap back if |a0|<|a1| */
1742 sub 0,a0,a1
1743 movb,tr,n t0,a0,LREF(l2) /* 10th inst. */
1744
1745LSYM(l0) r__r_t0 /* add in this partial product */
1746LSYM(l1) a0__256a0 /* a0 <<= 8 ****************** */
1747LSYM(l2) zdep a1,30,8,t0 /* t0 = (a1&0xff)<<1 ********* */
1748LSYM(l3) blr t0,0 /* case on these 8 bits ****** */
1749 extru a1,23,24,a1 /* a1 >>= 8 ****************** */
1750
1751/*16 insts before this. */
1752/* a0 <<= 8 ************************** */
1753LSYM(x0) a1_ne_0_b_l2 ! a0__256a0 ! MILLIRETN ! nop
1754LSYM(x1) a1_ne_0_b_l1 ! r__r_a0 ! MILLIRETN ! nop
1755LSYM(x2) a1_ne_0_b_l1 ! r__r_2a0 ! MILLIRETN ! nop
1756LSYM(x3) a1_ne_0_b_l0 ! t0__3a0 ! MILLIRET ! r__r_t0
1757LSYM(x4) a1_ne_0_b_l1 ! r__r_4a0 ! MILLIRETN ! nop
1758LSYM(x5) a1_ne_0_b_l0 ! t0__5a0 ! MILLIRET ! r__r_t0
1759LSYM(x6) t0__3a0 ! a1_ne_0_b_l1 ! r__r_2t0 ! MILLIRETN
1760LSYM(x7) t0__3a0 ! a1_ne_0_b_l0 ! r__r_4a0 ! b_n_ret_t0
1761LSYM(x8) a1_ne_0_b_l1 ! r__r_8a0 ! MILLIRETN ! nop
1762LSYM(x9) a1_ne_0_b_l0 ! t0__9a0 ! MILLIRET ! r__r_t0
1763LSYM(x10) t0__5a0 ! a1_ne_0_b_l1 ! r__r_2t0 ! MILLIRETN
1764LSYM(x11) t0__3a0 ! a1_ne_0_b_l0 ! r__r_8a0 ! b_n_ret_t0
1765LSYM(x12) t0__3a0 ! a1_ne_0_b_l1 ! r__r_4t0 ! MILLIRETN
1766LSYM(x13) t0__5a0 ! a1_ne_0_b_l0 ! r__r_8a0 ! b_n_ret_t0
1767LSYM(x14) t0__3a0 ! t0__2t0_a0 ! b_e_shift ! r__r_2t0
1768LSYM(x15) t0__5a0 ! a1_ne_0_b_l0 ! t0__3t0 ! b_n_ret_t0
1769LSYM(x16) t0__16a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
1770LSYM(x17) t0__9a0 ! a1_ne_0_b_l0 ! t0__t0_8a0 ! b_n_ret_t0
1771LSYM(x18) t0__9a0 ! a1_ne_0_b_l1 ! r__r_2t0 ! MILLIRETN
1772LSYM(x19) t0__9a0 ! a1_ne_0_b_l0 ! t0__2t0_a0 ! b_n_ret_t0
1773LSYM(x20) t0__5a0 ! a1_ne_0_b_l1 ! r__r_4t0 ! MILLIRETN
1774LSYM(x21) t0__5a0 ! a1_ne_0_b_l0 ! t0__4t0_a0 ! b_n_ret_t0
1775LSYM(x22) t0__5a0 ! t0__2t0_a0 ! b_e_shift ! r__r_2t0
1776LSYM(x23) t0__5a0 ! t0__2t0_a0 ! b_e_t0 ! t0__2t0_a0
1777LSYM(x24) t0__3a0 ! a1_ne_0_b_l1 ! r__r_8t0 ! MILLIRETN
1778LSYM(x25) t0__5a0 ! a1_ne_0_b_l0 ! t0__5t0 ! b_n_ret_t0
1779LSYM(x26) t0__3a0 ! t0__4t0_a0 ! b_e_shift ! r__r_2t0
1780LSYM(x27) t0__3a0 ! a1_ne_0_b_l0 ! t0__9t0 ! b_n_ret_t0
1781LSYM(x28) t0__3a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
1782LSYM(x29) t0__3a0 ! t0__2t0_a0 ! b_e_t0 ! t0__4t0_a0
1783LSYM(x30) t0__5a0 ! t0__3t0 ! b_e_shift ! r__r_2t0
1784LSYM(x31) t0__32a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
1785LSYM(x32) t0__32a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
1786LSYM(x33) t0__8a0 ! a1_ne_0_b_l0 ! t0__4t0_a0 ! b_n_ret_t0
1787LSYM(x34) t0__16a0 ! t0__t0_a0 ! b_e_shift ! r__r_2t0
1788LSYM(x35) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__t0_8a0
1789LSYM(x36) t0__9a0 ! a1_ne_0_b_l1 ! r__r_4t0 ! MILLIRETN
1790LSYM(x37) t0__9a0 ! a1_ne_0_b_l0 ! t0__4t0_a0 ! b_n_ret_t0
1791LSYM(x38) t0__9a0 ! t0__2t0_a0 ! b_e_shift ! r__r_2t0
1792LSYM(x39) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__2t0_a0
1793LSYM(x40) t0__5a0 ! a1_ne_0_b_l1 ! r__r_8t0 ! MILLIRETN
1794LSYM(x41) t0__5a0 ! a1_ne_0_b_l0 ! t0__8t0_a0 ! b_n_ret_t0
1795LSYM(x42) t0__5a0 ! t0__4t0_a0 ! b_e_shift ! r__r_2t0
1796LSYM(x43) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__2t0_a0
1797LSYM(x44) t0__5a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
1798LSYM(x45) t0__9a0 ! a1_ne_0_b_l0 ! t0__5t0 ! b_n_ret_t0
1799LSYM(x46) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__t0_a0
1800LSYM(x47) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__t0_2a0
1801LSYM(x48) t0__3a0 ! a1_ne_0_b_l0 ! t0__16t0 ! b_n_ret_t0
1802LSYM(x49) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__t0_4a0
1803LSYM(x50) t0__5a0 ! t0__5t0 ! b_e_shift ! r__r_2t0
1804LSYM(x51) t0__9a0 ! t0__t0_8a0 ! b_e_t0 ! t0__3t0
1805LSYM(x52) t0__3a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
1806LSYM(x53) t0__3a0 ! t0__4t0_a0 ! b_e_t0 ! t0__4t0_a0
1807LSYM(x54) t0__9a0 ! t0__3t0 ! b_e_shift ! r__r_2t0
1808LSYM(x55) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__2t0_a0
1809LSYM(x56) t0__3a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
1810LSYM(x57) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__3t0
1811LSYM(x58) t0__3a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__4t0_a0
1812LSYM(x59) t0__9a0 ! t0__2t0_a0 ! b_e_t02a0 ! t0__3t0
1813LSYM(x60) t0__5a0 ! t0__3t0 ! b_e_shift ! r__r_4t0
1814LSYM(x61) t0__5a0 ! t0__3t0 ! b_e_t0 ! t0__4t0_a0
1815LSYM(x62) t0__32a0 ! t0__t0ma0 ! b_e_shift ! r__r_2t0
1816LSYM(x63) t0__64a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
1817LSYM(x64) t0__64a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
1818LSYM(x65) t0__8a0 ! a1_ne_0_b_l0 ! t0__8t0_a0 ! b_n_ret_t0
1819LSYM(x66) t0__32a0 ! t0__t0_a0 ! b_e_shift ! r__r_2t0
1820LSYM(x67) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__2t0_a0
1821LSYM(x68) t0__8a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
1822LSYM(x69) t0__8a0 ! t0__2t0_a0 ! b_e_t0 ! t0__4t0_a0
1823LSYM(x70) t0__64a0 ! t0__t0_4a0 ! b_e_t0 ! t0__t0_2a0
1824LSYM(x71) t0__9a0 ! t0__8t0 ! b_e_t0 ! t0__t0ma0
1825LSYM(x72) t0__9a0 ! a1_ne_0_b_l1 ! r__r_8t0 ! MILLIRETN
1826LSYM(x73) t0__9a0 ! t0__8t0_a0 ! b_e_shift ! r__r_t0
1827LSYM(x74) t0__9a0 ! t0__4t0_a0 ! b_e_shift ! r__r_2t0
1828LSYM(x75) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__2t0_a0
1829LSYM(x76) t0__9a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
1830LSYM(x77) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__4t0_a0
1831LSYM(x78) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__2t0_a0
1832LSYM(x79) t0__16a0 ! t0__5t0 ! b_e_t0 ! t0__t0ma0
1833LSYM(x80) t0__16a0 ! t0__5t0 ! b_e_shift ! r__r_t0
1834LSYM(x81) t0__9a0 ! t0__9t0 ! b_e_shift ! r__r_t0
1835LSYM(x82) t0__5a0 ! t0__8t0_a0 ! b_e_shift ! r__r_2t0
1836LSYM(x83) t0__5a0 ! t0__8t0_a0 ! b_e_t0 ! t0__2t0_a0
1837LSYM(x84) t0__5a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
1838LSYM(x85) t0__8a0 ! t0__2t0_a0 ! b_e_t0 ! t0__5t0
1839LSYM(x86) t0__5a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__2t0_a0
1840LSYM(x87) t0__9a0 ! t0__9t0 ! b_e_t02a0 ! t0__t0_4a0
1841LSYM(x88) t0__5a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
1842LSYM(x89) t0__5a0 ! t0__2t0_a0 ! b_e_t0 ! t0__8t0_a0
1843LSYM(x90) t0__9a0 ! t0__5t0 ! b_e_shift ! r__r_2t0
1844LSYM(x91) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__2t0_a0
1845LSYM(x92) t0__5a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__2t0_a0
1846LSYM(x93) t0__32a0 ! t0__t0ma0 ! b_e_t0 ! t0__3t0
1847LSYM(x94) t0__9a0 ! t0__5t0 ! b_e_2t0 ! t0__t0_2a0
1848LSYM(x95) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__5t0
1849LSYM(x96) t0__8a0 ! t0__3t0 ! b_e_shift ! r__r_4t0
1850LSYM(x97) t0__8a0 ! t0__3t0 ! b_e_t0 ! t0__4t0_a0
1851LSYM(x98) t0__32a0 ! t0__3t0 ! b_e_t0 ! t0__t0_2a0
1852LSYM(x99) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__3t0
1853LSYM(x100) t0__5a0 ! t0__5t0 ! b_e_shift ! r__r_4t0
1854LSYM(x101) t0__5a0 ! t0__5t0 ! b_e_t0 ! t0__4t0_a0
1855LSYM(x102) t0__32a0 ! t0__t0_2a0 ! b_e_t0 ! t0__3t0
1856LSYM(x103) t0__5a0 ! t0__5t0 ! b_e_t02a0 ! t0__4t0_a0
1857LSYM(x104) t0__3a0 ! t0__4t0_a0 ! b_e_shift ! r__r_8t0
1858LSYM(x105) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__5t0
1859LSYM(x106) t0__3a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__4t0_a0
1860LSYM(x107) t0__9a0 ! t0__t0_4a0 ! b_e_t02a0 ! t0__8t0_a0
1861LSYM(x108) t0__9a0 ! t0__3t0 ! b_e_shift ! r__r_4t0
1862LSYM(x109) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__4t0_a0
1863LSYM(x110) t0__9a0 ! t0__3t0 ! b_e_2t0 ! t0__2t0_a0
1864LSYM(x111) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__3t0
1865LSYM(x112) t0__3a0 ! t0__2t0_a0 ! b_e_t0 ! t0__16t0
1866LSYM(x113) t0__9a0 ! t0__4t0_a0 ! b_e_t02a0 ! t0__3t0
1867LSYM(x114) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__3t0
1868LSYM(x115) t0__9a0 ! t0__2t0_a0 ! b_e_2t0a0 ! t0__3t0
1869LSYM(x116) t0__3a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__4t0_a0
1870LSYM(x117) t0__3a0 ! t0__4t0_a0 ! b_e_t0 ! t0__9t0
1871LSYM(x118) t0__3a0 ! t0__4t0_a0 ! b_e_t0a0 ! t0__9t0
1872LSYM(x119) t0__3a0 ! t0__4t0_a0 ! b_e_t02a0 ! t0__9t0
1873LSYM(x120) t0__5a0 ! t0__3t0 ! b_e_shift ! r__r_8t0
1874LSYM(x121) t0__5a0 ! t0__3t0 ! b_e_t0 ! t0__8t0_a0
1875LSYM(x122) t0__5a0 ! t0__3t0 ! b_e_2t0 ! t0__4t0_a0
1876LSYM(x123) t0__5a0 ! t0__8t0_a0 ! b_e_t0 ! t0__3t0
1877LSYM(x124) t0__32a0 ! t0__t0ma0 ! b_e_shift ! r__r_4t0
1878LSYM(x125) t0__5a0 ! t0__5t0 ! b_e_t0 ! t0__5t0
1879LSYM(x126) t0__64a0 ! t0__t0ma0 ! b_e_shift ! r__r_2t0
1880LSYM(x127) t0__128a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
1881LSYM(x128) t0__128a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
1882LSYM(x129) t0__128a0 ! a1_ne_0_b_l0 ! t0__t0_a0 ! b_n_ret_t0
1883LSYM(x130) t0__64a0 ! t0__t0_a0 ! b_e_shift ! r__r_2t0
1884LSYM(x131) t0__8a0 ! t0__8t0_a0 ! b_e_t0 ! t0__2t0_a0
1885LSYM(x132) t0__8a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
1886LSYM(x133) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__4t0_a0
1887LSYM(x134) t0__8a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__2t0_a0
1888LSYM(x135) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__3t0
1889LSYM(x136) t0__8a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
1890LSYM(x137) t0__8a0 ! t0__2t0_a0 ! b_e_t0 ! t0__8t0_a0
1891LSYM(x138) t0__8a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__4t0_a0
1892LSYM(x139) t0__8a0 ! t0__2t0_a0 ! b_e_2t0a0 ! t0__4t0_a0
1893LSYM(x140) t0__3a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__5t0
1894LSYM(x141) t0__8a0 ! t0__2t0_a0 ! b_e_4t0a0 ! t0__2t0_a0
1895LSYM(x142) t0__9a0 ! t0__8t0 ! b_e_2t0 ! t0__t0ma0
1896LSYM(x143) t0__16a0 ! t0__9t0 ! b_e_t0 ! t0__t0ma0
1897LSYM(x144) t0__9a0 ! t0__8t0 ! b_e_shift ! r__r_2t0
1898LSYM(x145) t0__9a0 ! t0__8t0 ! b_e_t0 ! t0__2t0_a0
1899LSYM(x146) t0__9a0 ! t0__8t0_a0 ! b_e_shift ! r__r_2t0
1900LSYM(x147) t0__9a0 ! t0__8t0_a0 ! b_e_t0 ! t0__2t0_a0
1901LSYM(x148) t0__9a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
1902LSYM(x149) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__4t0_a0
1903LSYM(x150) t0__9a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__2t0_a0
1904LSYM(x151) t0__9a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__2t0_a0
1905LSYM(x152) t0__9a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
1906LSYM(x153) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__8t0_a0
1907LSYM(x154) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__4t0_a0
1908LSYM(x155) t0__32a0 ! t0__t0ma0 ! b_e_t0 ! t0__5t0
1909LSYM(x156) t0__9a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__2t0_a0
1910LSYM(x157) t0__32a0 ! t0__t0ma0 ! b_e_t02a0 ! t0__5t0
1911LSYM(x158) t0__16a0 ! t0__5t0 ! b_e_2t0 ! t0__t0ma0
1912LSYM(x159) t0__32a0 ! t0__5t0 ! b_e_t0 ! t0__t0ma0
1913LSYM(x160) t0__5a0 ! t0__4t0 ! b_e_shift ! r__r_8t0
1914LSYM(x161) t0__8a0 ! t0__5t0 ! b_e_t0 ! t0__4t0_a0
1915LSYM(x162) t0__9a0 ! t0__9t0 ! b_e_shift ! r__r_2t0
1916LSYM(x163) t0__9a0 ! t0__9t0 ! b_e_t0 ! t0__2t0_a0
1917LSYM(x164) t0__5a0 ! t0__8t0_a0 ! b_e_shift ! r__r_4t0
1918LSYM(x165) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__5t0
1919LSYM(x166) t0__5a0 ! t0__8t0_a0 ! b_e_2t0 ! t0__2t0_a0
1920LSYM(x167) t0__5a0 ! t0__8t0_a0 ! b_e_2t0a0 ! t0__2t0_a0
1921LSYM(x168) t0__5a0 ! t0__4t0_a0 ! b_e_shift ! r__r_8t0
1922LSYM(x169) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__8t0_a0
1923LSYM(x170) t0__32a0 ! t0__t0_2a0 ! b_e_t0 ! t0__5t0
1924LSYM(x171) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__9t0
1925LSYM(x172) t0__5a0 ! t0__4t0_a0 ! b_e_4t0 ! t0__2t0_a0
1926LSYM(x173) t0__9a0 ! t0__2t0_a0 ! b_e_t02a0 ! t0__9t0
1927LSYM(x174) t0__32a0 ! t0__t0_2a0 ! b_e_t04a0 ! t0__5t0
1928LSYM(x175) t0__8a0 ! t0__2t0_a0 ! b_e_5t0 ! t0__2t0_a0
1929LSYM(x176) t0__5a0 ! t0__4t0_a0 ! b_e_8t0 ! t0__t0_a0
1930LSYM(x177) t0__5a0 ! t0__4t0_a0 ! b_e_8t0a0 ! t0__t0_a0
1931LSYM(x178) t0__5a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__8t0_a0
1932LSYM(x179) t0__5a0 ! t0__2t0_a0 ! b_e_2t0a0 ! t0__8t0_a0
1933LSYM(x180) t0__9a0 ! t0__5t0 ! b_e_shift ! r__r_4t0
1934LSYM(x181) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__4t0_a0
1935LSYM(x182) t0__9a0 ! t0__5t0 ! b_e_2t0 ! t0__2t0_a0
1936LSYM(x183) t0__9a0 ! t0__5t0 ! b_e_2t0a0 ! t0__2t0_a0
1937LSYM(x184) t0__5a0 ! t0__9t0 ! b_e_4t0 ! t0__t0_a0
1938LSYM(x185) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__5t0
1939LSYM(x186) t0__32a0 ! t0__t0ma0 ! b_e_2t0 ! t0__3t0
1940LSYM(x187) t0__9a0 ! t0__4t0_a0 ! b_e_t02a0 ! t0__5t0
1941LSYM(x188) t0__9a0 ! t0__5t0 ! b_e_4t0 ! t0__t0_2a0
1942LSYM(x189) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__9t0
1943LSYM(x190) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__5t0
1944LSYM(x191) t0__64a0 ! t0__3t0 ! b_e_t0 ! t0__t0ma0
1945LSYM(x192) t0__8a0 ! t0__3t0 ! b_e_shift ! r__r_8t0
1946LSYM(x193) t0__8a0 ! t0__3t0 ! b_e_t0 ! t0__8t0_a0
1947LSYM(x194) t0__8a0 ! t0__3t0 ! b_e_2t0 ! t0__4t0_a0
1948LSYM(x195) t0__8a0 ! t0__8t0_a0 ! b_e_t0 ! t0__3t0
1949LSYM(x196) t0__8a0 ! t0__3t0 ! b_e_4t0 ! t0__2t0_a0
1950LSYM(x197) t0__8a0 ! t0__3t0 ! b_e_4t0a0 ! t0__2t0_a0
1951LSYM(x198) t0__64a0 ! t0__t0_2a0 ! b_e_t0 ! t0__3t0
1952LSYM(x199) t0__8a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__3t0
1953LSYM(x200) t0__5a0 ! t0__5t0 ! b_e_shift ! r__r_8t0
1954LSYM(x201) t0__5a0 ! t0__5t0 ! b_e_t0 ! t0__8t0_a0
1955LSYM(x202) t0__5a0 ! t0__5t0 ! b_e_2t0 ! t0__4t0_a0
1956LSYM(x203) t0__5a0 ! t0__5t0 ! b_e_2t0a0 ! t0__4t0_a0
1957LSYM(x204) t0__8a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__3t0
1958LSYM(x205) t0__5a0 ! t0__8t0_a0 ! b_e_t0 ! t0__5t0
1959LSYM(x206) t0__64a0 ! t0__t0_4a0 ! b_e_t02a0 ! t0__3t0
1960LSYM(x207) t0__8a0 ! t0__2t0_a0 ! b_e_3t0 ! t0__4t0_a0
1961LSYM(x208) t0__5a0 ! t0__5t0 ! b_e_8t0 ! t0__t0_a0
1962LSYM(x209) t0__5a0 ! t0__5t0 ! b_e_8t0a0 ! t0__t0_a0
1963LSYM(x210) t0__5a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__5t0
1964LSYM(x211) t0__5a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__5t0
1965LSYM(x212) t0__3a0 ! t0__4t0_a0 ! b_e_4t0 ! t0__4t0_a0
1966LSYM(x213) t0__3a0 ! t0__4t0_a0 ! b_e_4t0a0 ! t0__4t0_a0
1967LSYM(x214) t0__9a0 ! t0__t0_4a0 ! b_e_2t04a0 ! t0__8t0_a0
1968LSYM(x215) t0__5a0 ! t0__4t0_a0 ! b_e_5t0 ! t0__2t0_a0
1969LSYM(x216) t0__9a0 ! t0__3t0 ! b_e_shift ! r__r_8t0
1970LSYM(x217) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__8t0_a0
1971LSYM(x218) t0__9a0 ! t0__3t0 ! b_e_2t0 ! t0__4t0_a0
1972LSYM(x219) t0__9a0 ! t0__8t0_a0 ! b_e_t0 ! t0__3t0
1973LSYM(x220) t0__3a0 ! t0__9t0 ! b_e_4t0 ! t0__2t0_a0
1974LSYM(x221) t0__3a0 ! t0__9t0 ! b_e_4t0a0 ! t0__2t0_a0
1975LSYM(x222) t0__9a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__3t0
1976LSYM(x223) t0__9a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__3t0
1977LSYM(x224) t0__9a0 ! t0__3t0 ! b_e_8t0 ! t0__t0_a0
1978LSYM(x225) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__5t0
1979LSYM(x226) t0__3a0 ! t0__2t0_a0 ! b_e_t02a0 ! t0__32t0
1980LSYM(x227) t0__9a0 ! t0__5t0 ! b_e_t02a0 ! t0__5t0
1981LSYM(x228) t0__9a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__3t0
1982LSYM(x229) t0__9a0 ! t0__2t0_a0 ! b_e_4t0a0 ! t0__3t0
1983LSYM(x230) t0__9a0 ! t0__5t0 ! b_e_5t0 ! t0__t0_a0
1984LSYM(x231) t0__9a0 ! t0__2t0_a0 ! b_e_3t0 ! t0__4t0_a0
1985LSYM(x232) t0__3a0 ! t0__2t0_a0 ! b_e_8t0 ! t0__4t0_a0
1986LSYM(x233) t0__3a0 ! t0__2t0_a0 ! b_e_8t0a0 ! t0__4t0_a0
1987LSYM(x234) t0__3a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__9t0
1988LSYM(x235) t0__3a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__9t0
1989LSYM(x236) t0__9a0 ! t0__2t0_a0 ! b_e_4t08a0 ! t0__3t0
1990LSYM(x237) t0__16a0 ! t0__5t0 ! b_e_3t0 ! t0__t0ma0
1991LSYM(x238) t0__3a0 ! t0__4t0_a0 ! b_e_2t04a0 ! t0__9t0
1992LSYM(x239) t0__16a0 ! t0__5t0 ! b_e_t0ma0 ! t0__3t0
1993LSYM(x240) t0__9a0 ! t0__t0_a0 ! b_e_8t0 ! t0__3t0
1994LSYM(x241) t0__9a0 ! t0__t0_a0 ! b_e_8t0a0 ! t0__3t0
1995LSYM(x242) t0__5a0 ! t0__3t0 ! b_e_2t0 ! t0__8t0_a0
1996LSYM(x243) t0__9a0 ! t0__9t0 ! b_e_t0 ! t0__3t0
1997LSYM(x244) t0__5a0 ! t0__3t0 ! b_e_4t0 ! t0__4t0_a0
1998LSYM(x245) t0__8a0 ! t0__3t0 ! b_e_5t0 ! t0__2t0_a0
1999LSYM(x246) t0__5a0 ! t0__8t0_a0 ! b_e_2t0 ! t0__3t0
2000LSYM(x247) t0__5a0 ! t0__8t0_a0 ! b_e_2t0a0 ! t0__3t0
2001LSYM(x248) t0__32a0 ! t0__t0ma0 ! b_e_shift ! r__r_8t0
2002LSYM(x249) t0__32a0 ! t0__t0ma0 ! b_e_t0 ! t0__8t0_a0
2003LSYM(x250) t0__5a0 ! t0__5t0 ! b_e_2t0 ! t0__5t0
2004LSYM(x251) t0__5a0 ! t0__5t0 ! b_e_2t0a0 ! t0__5t0
2005LSYM(x252) t0__64a0 ! t0__t0ma0 ! b_e_shift ! r__r_4t0
2006LSYM(x253) t0__64a0 ! t0__t0ma0 ! b_e_t0 ! t0__4t0_a0
2007LSYM(x254) t0__128a0 ! t0__t0ma0 ! b_e_shift ! r__r_2t0
2008LSYM(x255) t0__256a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
2009/*1040 insts before this. */
2010LSYM(ret_t0) MILLIRET
2011LSYM(e_t0) r__r_t0
2012LSYM(e_shift) a1_ne_0_b_l2
2013 a0__256a0 /* a0 <<= 8 *********** */
2014 MILLIRETN
2015LSYM(e_t0ma0) a1_ne_0_b_l0
2016 t0__t0ma0
2017 MILLIRET
2018 r__r_t0
2019LSYM(e_t0a0) a1_ne_0_b_l0
2020 t0__t0_a0
2021 MILLIRET
2022 r__r_t0
2023LSYM(e_t02a0) a1_ne_0_b_l0
2024 t0__t0_2a0
2025 MILLIRET
2026 r__r_t0
2027LSYM(e_t04a0) a1_ne_0_b_l0
2028 t0__t0_4a0
2029 MILLIRET
2030 r__r_t0
2031LSYM(e_2t0) a1_ne_0_b_l1
2032 r__r_2t0
2033 MILLIRETN
2034LSYM(e_2t0a0) a1_ne_0_b_l0
2035 t0__2t0_a0
2036 MILLIRET
2037 r__r_t0
2038LSYM(e2t04a0) t0__t0_2a0
2039 a1_ne_0_b_l1
2040 r__r_2t0
2041 MILLIRETN
2042LSYM(e_3t0) a1_ne_0_b_l0
2043 t0__3t0
2044 MILLIRET
2045 r__r_t0
2046LSYM(e_4t0) a1_ne_0_b_l1
2047 r__r_4t0
2048 MILLIRETN
2049LSYM(e_4t0a0) a1_ne_0_b_l0
2050 t0__4t0_a0
2051 MILLIRET
2052 r__r_t0
2053LSYM(e4t08a0) t0__t0_2a0
2054 a1_ne_0_b_l1
2055 r__r_4t0
2056 MILLIRETN
2057LSYM(e_5t0) a1_ne_0_b_l0
2058 t0__5t0
2059 MILLIRET
2060 r__r_t0
2061LSYM(e_8t0) a1_ne_0_b_l1
2062 r__r_8t0
2063 MILLIRETN
2064LSYM(e_8t0a0) a1_ne_0_b_l0
2065 t0__8t0_a0
2066 MILLIRET
2067 r__r_t0
2068
2069 .procend
2070 .end
2071#endif
diff --git a/arch/parisc/lib/milli/milli.h b/arch/parisc/lib/milli/milli.h
new file mode 100644
index 000000000000..19ac79f336de
--- /dev/null
+++ b/arch/parisc/lib/milli/milli.h
@@ -0,0 +1,165 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#ifndef _PA_MILLI_H_
14#define _PA_MILLI_H_
15
16#define L_dyncall
17#define L_divI
18#define L_divU
19#define L_remI
20#define L_remU
21#define L_div_const
22#define L_mulI
23
24#ifdef CONFIG_64BIT
25 .level 2.0w
26#endif
27
28/* Hardware General Registers. */
29r0: .reg %r0
30r1: .reg %r1
31r2: .reg %r2
32r3: .reg %r3
33r4: .reg %r4
34r5: .reg %r5
35r6: .reg %r6
36r7: .reg %r7
37r8: .reg %r8
38r9: .reg %r9
39r10: .reg %r10
40r11: .reg %r11
41r12: .reg %r12
42r13: .reg %r13
43r14: .reg %r14
44r15: .reg %r15
45r16: .reg %r16
46r17: .reg %r17
47r18: .reg %r18
48r19: .reg %r19
49r20: .reg %r20
50r21: .reg %r21
51r22: .reg %r22
52r23: .reg %r23
53r24: .reg %r24
54r25: .reg %r25
55r26: .reg %r26
56r27: .reg %r27
57r28: .reg %r28
58r29: .reg %r29
59r30: .reg %r30
60r31: .reg %r31
61
62/* Hardware Space Registers. */
63sr0: .reg %sr0
64sr1: .reg %sr1
65sr2: .reg %sr2
66sr3: .reg %sr3
67sr4: .reg %sr4
68sr5: .reg %sr5
69sr6: .reg %sr6
70sr7: .reg %sr7
71
72/* Hardware Floating Point Registers. */
73fr0: .reg %fr0
74fr1: .reg %fr1
75fr2: .reg %fr2
76fr3: .reg %fr3
77fr4: .reg %fr4
78fr5: .reg %fr5
79fr6: .reg %fr6
80fr7: .reg %fr7
81fr8: .reg %fr8
82fr9: .reg %fr9
83fr10: .reg %fr10
84fr11: .reg %fr11
85fr12: .reg %fr12
86fr13: .reg %fr13
87fr14: .reg %fr14
88fr15: .reg %fr15
89
90/* Hardware Control Registers. */
91cr11: .reg %cr11
92sar: .reg %cr11 /* Shift Amount Register */
93
94/* Software Architecture General Registers. */
95rp: .reg r2 /* return pointer */
96#ifdef CONFIG_64BIT
97mrp: .reg r2 /* millicode return pointer */
98#else
99mrp: .reg r31 /* millicode return pointer */
100#endif
101ret0: .reg r28 /* return value */
102ret1: .reg r29 /* return value (high part of double) */
103sp: .reg r30 /* stack pointer */
104dp: .reg r27 /* data pointer */
105arg0: .reg r26 /* argument */
106arg1: .reg r25 /* argument or high part of double argument */
107arg2: .reg r24 /* argument */
108arg3: .reg r23 /* argument or high part of double argument */
109
110/* Software Architecture Space Registers. */
111/* sr0 ; return link from BLE */
112sret: .reg sr1 /* return value */
113sarg: .reg sr1 /* argument */
114/* sr4 ; PC SPACE tracker */
115/* sr5 ; process private data */
116
117/* Frame Offsets (millicode convention!) Used when calling other
118 millicode routines. Stack unwinding is dependent upon these
119 definitions. */
120r31_slot: .equ -20 /* "current RP" slot */
121sr0_slot: .equ -16 /* "static link" slot */
122#if defined(CONFIG_64BIT)
123mrp_slot: .equ -16 /* "current RP" slot */
124psp_slot: .equ -8 /* "previous SP" slot */
125#else
126mrp_slot: .equ -20 /* "current RP" slot (replacing "r31_slot") */
127#endif
128
129
130#define DEFINE(name,value)name: .EQU value
131#define RDEFINE(name,value)name: .REG value
132#ifdef milliext
133#define MILLI_BE(lbl) BE lbl(sr7,r0)
134#define MILLI_BEN(lbl) BE,n lbl(sr7,r0)
135#define MILLI_BLE(lbl) BLE lbl(sr7,r0)
136#define MILLI_BLEN(lbl) BLE,n lbl(sr7,r0)
137#define MILLIRETN BE,n 0(sr0,mrp)
138#define MILLIRET BE 0(sr0,mrp)
139#define MILLI_RETN BE,n 0(sr0,mrp)
140#define MILLI_RET BE 0(sr0,mrp)
141#else
142#define MILLI_BE(lbl) B lbl
143#define MILLI_BEN(lbl) B,n lbl
144#define MILLI_BLE(lbl) BL lbl,mrp
145#define MILLI_BLEN(lbl) BL,n lbl,mrp
146#define MILLIRETN BV,n 0(mrp)
147#define MILLIRET BV 0(mrp)
148#define MILLI_RETN BV,n 0(mrp)
149#define MILLI_RET BV 0(mrp)
150#endif
151
152#define CAT(a,b) a##b
153
154#define SUBSPA_MILLI .section .text
155#define SUBSPA_MILLI_DIV .section .text.div,"ax",@progbits! .align 16
156#define SUBSPA_MILLI_MUL .section .text.mul,"ax",@progbits! .align 16
157#define ATTR_MILLI
158#define SUBSPA_DATA .section .data
159#define ATTR_DATA
160#define GLOBAL $global$
161#define GSYM(sym) !sym:
162#define LSYM(sym) !CAT(.L,sym:)
163#define LREF(sym) CAT(.L,sym)
164
165#endif /*_PA_MILLI_H_*/
diff --git a/arch/parisc/lib/milli/mulI.S b/arch/parisc/lib/milli/mulI.S
new file mode 100644
index 000000000000..4c7e0c36d15e
--- /dev/null
+++ b/arch/parisc/lib/milli/mulI.S
@@ -0,0 +1,474 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_mulI
16/* VERSION "@(#)$$mulI $ Revision: 12.4 $ $ Date: 94/03/17 17:18:51 $" */
17/******************************************************************************
18This routine is used on PA2.0 processors when gcc -mno-fpregs is used
19
20ROUTINE: $$mulI
21
22
23DESCRIPTION:
24
25 $$mulI multiplies two single word integers, giving a single
26 word result.
27
28
29INPUT REGISTERS:
30
31 arg0 = Operand 1
32 arg1 = Operand 2
33 r31 == return pc
34 sr0 == return space when called externally
35
36
37OUTPUT REGISTERS:
38
39 arg0 = undefined
40 arg1 = undefined
41 ret1 = result
42
43OTHER REGISTERS AFFECTED:
44
45 r1 = undefined
46
47SIDE EFFECTS:
48
49 Causes a trap under the following conditions: NONE
50 Changes memory at the following places: NONE
51
52PERMISSIBLE CONTEXT:
53
54 Unwindable
55 Does not create a stack frame
56 Is usable for internal or external microcode
57
58DISCUSSION:
59
60 Calls other millicode routines via mrp: NONE
61 Calls other millicode routines: NONE
62
63***************************************************************************/
64
65
66#define a0 %arg0
67#define a1 %arg1
68#define t0 %r1
69#define r %ret1
70
71#define a0__128a0 zdep a0,24,25,a0
72#define a0__256a0 zdep a0,23,24,a0
73#define a1_ne_0_b_l0 comb,<> a1,0,LREF(l0)
74#define a1_ne_0_b_l1 comb,<> a1,0,LREF(l1)
75#define a1_ne_0_b_l2 comb,<> a1,0,LREF(l2)
76#define b_n_ret_t0 b,n LREF(ret_t0)
77#define b_e_shift b LREF(e_shift)
78#define b_e_t0ma0 b LREF(e_t0ma0)
79#define b_e_t0 b LREF(e_t0)
80#define b_e_t0a0 b LREF(e_t0a0)
81#define b_e_t02a0 b LREF(e_t02a0)
82#define b_e_t04a0 b LREF(e_t04a0)
83#define b_e_2t0 b LREF(e_2t0)
84#define b_e_2t0a0 b LREF(e_2t0a0)
85#define b_e_2t04a0 b LREF(e2t04a0)
86#define b_e_3t0 b LREF(e_3t0)
87#define b_e_4t0 b LREF(e_4t0)
88#define b_e_4t0a0 b LREF(e_4t0a0)
89#define b_e_4t08a0 b LREF(e4t08a0)
90#define b_e_5t0 b LREF(e_5t0)
91#define b_e_8t0 b LREF(e_8t0)
92#define b_e_8t0a0 b LREF(e_8t0a0)
93#define r__r_a0 add r,a0,r
94#define r__r_2a0 sh1add a0,r,r
95#define r__r_4a0 sh2add a0,r,r
96#define r__r_8a0 sh3add a0,r,r
97#define r__r_t0 add r,t0,r
98#define r__r_2t0 sh1add t0,r,r
99#define r__r_4t0 sh2add t0,r,r
100#define r__r_8t0 sh3add t0,r,r
101#define t0__3a0 sh1add a0,a0,t0
102#define t0__4a0 sh2add a0,0,t0
103#define t0__5a0 sh2add a0,a0,t0
104#define t0__8a0 sh3add a0,0,t0
105#define t0__9a0 sh3add a0,a0,t0
106#define t0__16a0 zdep a0,27,28,t0
107#define t0__32a0 zdep a0,26,27,t0
108#define t0__64a0 zdep a0,25,26,t0
109#define t0__128a0 zdep a0,24,25,t0
110#define t0__t0ma0 sub t0,a0,t0
111#define t0__t0_a0 add t0,a0,t0
112#define t0__t0_2a0 sh1add a0,t0,t0
113#define t0__t0_4a0 sh2add a0,t0,t0
114#define t0__t0_8a0 sh3add a0,t0,t0
115#define t0__2t0_a0 sh1add t0,a0,t0
116#define t0__3t0 sh1add t0,t0,t0
117#define t0__4t0 sh2add t0,0,t0
118#define t0__4t0_a0 sh2add t0,a0,t0
119#define t0__5t0 sh2add t0,t0,t0
120#define t0__8t0 sh3add t0,0,t0
121#define t0__8t0_a0 sh3add t0,a0,t0
122#define t0__9t0 sh3add t0,t0,t0
123#define t0__16t0 zdep t0,27,28,t0
124#define t0__32t0 zdep t0,26,27,t0
125#define t0__256a0 zdep a0,23,24,t0
126
127
128 SUBSPA_MILLI
129 ATTR_MILLI
130 .align 16
131 .proc
132 .callinfo millicode
133 .export $$mulI,millicode
134GSYM($$mulI)
135 combt,<<= a1,a0,LREF(l4) /* swap args if unsigned a1>a0 */
136 copy 0,r /* zero out the result */
137 xor a0,a1,a0 /* swap a0 & a1 using the */
138 xor a0,a1,a1 /* old xor trick */
139 xor a0,a1,a0
140LSYM(l4)
141 combt,<= 0,a0,LREF(l3) /* if a0>=0 then proceed like unsigned */
142 zdep a1,30,8,t0 /* t0 = (a1&0xff)<<1 ********* */
143 sub,> 0,a1,t0 /* otherwise negate both and */
144 combt,<=,n a0,t0,LREF(l2) /* swap back if |a0|<|a1| */
145 sub 0,a0,a1
146 movb,tr,n t0,a0,LREF(l2) /* 10th inst. */
147
148LSYM(l0) r__r_t0 /* add in this partial product */
149LSYM(l1) a0__256a0 /* a0 <<= 8 ****************** */
150LSYM(l2) zdep a1,30,8,t0 /* t0 = (a1&0xff)<<1 ********* */
151LSYM(l3) blr t0,0 /* case on these 8 bits ****** */
152 extru a1,23,24,a1 /* a1 >>= 8 ****************** */
153
154/*16 insts before this. */
155/* a0 <<= 8 ************************** */
156LSYM(x0) a1_ne_0_b_l2 ! a0__256a0 ! MILLIRETN ! nop
157LSYM(x1) a1_ne_0_b_l1 ! r__r_a0 ! MILLIRETN ! nop
158LSYM(x2) a1_ne_0_b_l1 ! r__r_2a0 ! MILLIRETN ! nop
159LSYM(x3) a1_ne_0_b_l0 ! t0__3a0 ! MILLIRET ! r__r_t0
160LSYM(x4) a1_ne_0_b_l1 ! r__r_4a0 ! MILLIRETN ! nop
161LSYM(x5) a1_ne_0_b_l0 ! t0__5a0 ! MILLIRET ! r__r_t0
162LSYM(x6) t0__3a0 ! a1_ne_0_b_l1 ! r__r_2t0 ! MILLIRETN
163LSYM(x7) t0__3a0 ! a1_ne_0_b_l0 ! r__r_4a0 ! b_n_ret_t0
164LSYM(x8) a1_ne_0_b_l1 ! r__r_8a0 ! MILLIRETN ! nop
165LSYM(x9) a1_ne_0_b_l0 ! t0__9a0 ! MILLIRET ! r__r_t0
166LSYM(x10) t0__5a0 ! a1_ne_0_b_l1 ! r__r_2t0 ! MILLIRETN
167LSYM(x11) t0__3a0 ! a1_ne_0_b_l0 ! r__r_8a0 ! b_n_ret_t0
168LSYM(x12) t0__3a0 ! a1_ne_0_b_l1 ! r__r_4t0 ! MILLIRETN
169LSYM(x13) t0__5a0 ! a1_ne_0_b_l0 ! r__r_8a0 ! b_n_ret_t0
170LSYM(x14) t0__3a0 ! t0__2t0_a0 ! b_e_shift ! r__r_2t0
171LSYM(x15) t0__5a0 ! a1_ne_0_b_l0 ! t0__3t0 ! b_n_ret_t0
172LSYM(x16) t0__16a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
173LSYM(x17) t0__9a0 ! a1_ne_0_b_l0 ! t0__t0_8a0 ! b_n_ret_t0
174LSYM(x18) t0__9a0 ! a1_ne_0_b_l1 ! r__r_2t0 ! MILLIRETN
175LSYM(x19) t0__9a0 ! a1_ne_0_b_l0 ! t0__2t0_a0 ! b_n_ret_t0
176LSYM(x20) t0__5a0 ! a1_ne_0_b_l1 ! r__r_4t0 ! MILLIRETN
177LSYM(x21) t0__5a0 ! a1_ne_0_b_l0 ! t0__4t0_a0 ! b_n_ret_t0
178LSYM(x22) t0__5a0 ! t0__2t0_a0 ! b_e_shift ! r__r_2t0
179LSYM(x23) t0__5a0 ! t0__2t0_a0 ! b_e_t0 ! t0__2t0_a0
180LSYM(x24) t0__3a0 ! a1_ne_0_b_l1 ! r__r_8t0 ! MILLIRETN
181LSYM(x25) t0__5a0 ! a1_ne_0_b_l0 ! t0__5t0 ! b_n_ret_t0
182LSYM(x26) t0__3a0 ! t0__4t0_a0 ! b_e_shift ! r__r_2t0
183LSYM(x27) t0__3a0 ! a1_ne_0_b_l0 ! t0__9t0 ! b_n_ret_t0
184LSYM(x28) t0__3a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
185LSYM(x29) t0__3a0 ! t0__2t0_a0 ! b_e_t0 ! t0__4t0_a0
186LSYM(x30) t0__5a0 ! t0__3t0 ! b_e_shift ! r__r_2t0
187LSYM(x31) t0__32a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
188LSYM(x32) t0__32a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
189LSYM(x33) t0__8a0 ! a1_ne_0_b_l0 ! t0__4t0_a0 ! b_n_ret_t0
190LSYM(x34) t0__16a0 ! t0__t0_a0 ! b_e_shift ! r__r_2t0
191LSYM(x35) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__t0_8a0
192LSYM(x36) t0__9a0 ! a1_ne_0_b_l1 ! r__r_4t0 ! MILLIRETN
193LSYM(x37) t0__9a0 ! a1_ne_0_b_l0 ! t0__4t0_a0 ! b_n_ret_t0
194LSYM(x38) t0__9a0 ! t0__2t0_a0 ! b_e_shift ! r__r_2t0
195LSYM(x39) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__2t0_a0
196LSYM(x40) t0__5a0 ! a1_ne_0_b_l1 ! r__r_8t0 ! MILLIRETN
197LSYM(x41) t0__5a0 ! a1_ne_0_b_l0 ! t0__8t0_a0 ! b_n_ret_t0
198LSYM(x42) t0__5a0 ! t0__4t0_a0 ! b_e_shift ! r__r_2t0
199LSYM(x43) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__2t0_a0
200LSYM(x44) t0__5a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
201LSYM(x45) t0__9a0 ! a1_ne_0_b_l0 ! t0__5t0 ! b_n_ret_t0
202LSYM(x46) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__t0_a0
203LSYM(x47) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__t0_2a0
204LSYM(x48) t0__3a0 ! a1_ne_0_b_l0 ! t0__16t0 ! b_n_ret_t0
205LSYM(x49) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__t0_4a0
206LSYM(x50) t0__5a0 ! t0__5t0 ! b_e_shift ! r__r_2t0
207LSYM(x51) t0__9a0 ! t0__t0_8a0 ! b_e_t0 ! t0__3t0
208LSYM(x52) t0__3a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
209LSYM(x53) t0__3a0 ! t0__4t0_a0 ! b_e_t0 ! t0__4t0_a0
210LSYM(x54) t0__9a0 ! t0__3t0 ! b_e_shift ! r__r_2t0
211LSYM(x55) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__2t0_a0
212LSYM(x56) t0__3a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
213LSYM(x57) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__3t0
214LSYM(x58) t0__3a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__4t0_a0
215LSYM(x59) t0__9a0 ! t0__2t0_a0 ! b_e_t02a0 ! t0__3t0
216LSYM(x60) t0__5a0 ! t0__3t0 ! b_e_shift ! r__r_4t0
217LSYM(x61) t0__5a0 ! t0__3t0 ! b_e_t0 ! t0__4t0_a0
218LSYM(x62) t0__32a0 ! t0__t0ma0 ! b_e_shift ! r__r_2t0
219LSYM(x63) t0__64a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
220LSYM(x64) t0__64a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
221LSYM(x65) t0__8a0 ! a1_ne_0_b_l0 ! t0__8t0_a0 ! b_n_ret_t0
222LSYM(x66) t0__32a0 ! t0__t0_a0 ! b_e_shift ! r__r_2t0
223LSYM(x67) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__2t0_a0
224LSYM(x68) t0__8a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
225LSYM(x69) t0__8a0 ! t0__2t0_a0 ! b_e_t0 ! t0__4t0_a0
226LSYM(x70) t0__64a0 ! t0__t0_4a0 ! b_e_t0 ! t0__t0_2a0
227LSYM(x71) t0__9a0 ! t0__8t0 ! b_e_t0 ! t0__t0ma0
228LSYM(x72) t0__9a0 ! a1_ne_0_b_l1 ! r__r_8t0 ! MILLIRETN
229LSYM(x73) t0__9a0 ! t0__8t0_a0 ! b_e_shift ! r__r_t0
230LSYM(x74) t0__9a0 ! t0__4t0_a0 ! b_e_shift ! r__r_2t0
231LSYM(x75) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__2t0_a0
232LSYM(x76) t0__9a0 ! t0__2t0_a0 ! b_e_shift ! r__r_4t0
233LSYM(x77) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__4t0_a0
234LSYM(x78) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__2t0_a0
235LSYM(x79) t0__16a0 ! t0__5t0 ! b_e_t0 ! t0__t0ma0
236LSYM(x80) t0__16a0 ! t0__5t0 ! b_e_shift ! r__r_t0
237LSYM(x81) t0__9a0 ! t0__9t0 ! b_e_shift ! r__r_t0
238LSYM(x82) t0__5a0 ! t0__8t0_a0 ! b_e_shift ! r__r_2t0
239LSYM(x83) t0__5a0 ! t0__8t0_a0 ! b_e_t0 ! t0__2t0_a0
240LSYM(x84) t0__5a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
241LSYM(x85) t0__8a0 ! t0__2t0_a0 ! b_e_t0 ! t0__5t0
242LSYM(x86) t0__5a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__2t0_a0
243LSYM(x87) t0__9a0 ! t0__9t0 ! b_e_t02a0 ! t0__t0_4a0
244LSYM(x88) t0__5a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
245LSYM(x89) t0__5a0 ! t0__2t0_a0 ! b_e_t0 ! t0__8t0_a0
246LSYM(x90) t0__9a0 ! t0__5t0 ! b_e_shift ! r__r_2t0
247LSYM(x91) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__2t0_a0
248LSYM(x92) t0__5a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__2t0_a0
249LSYM(x93) t0__32a0 ! t0__t0ma0 ! b_e_t0 ! t0__3t0
250LSYM(x94) t0__9a0 ! t0__5t0 ! b_e_2t0 ! t0__t0_2a0
251LSYM(x95) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__5t0
252LSYM(x96) t0__8a0 ! t0__3t0 ! b_e_shift ! r__r_4t0
253LSYM(x97) t0__8a0 ! t0__3t0 ! b_e_t0 ! t0__4t0_a0
254LSYM(x98) t0__32a0 ! t0__3t0 ! b_e_t0 ! t0__t0_2a0
255LSYM(x99) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__3t0
256LSYM(x100) t0__5a0 ! t0__5t0 ! b_e_shift ! r__r_4t0
257LSYM(x101) t0__5a0 ! t0__5t0 ! b_e_t0 ! t0__4t0_a0
258LSYM(x102) t0__32a0 ! t0__t0_2a0 ! b_e_t0 ! t0__3t0
259LSYM(x103) t0__5a0 ! t0__5t0 ! b_e_t02a0 ! t0__4t0_a0
260LSYM(x104) t0__3a0 ! t0__4t0_a0 ! b_e_shift ! r__r_8t0
261LSYM(x105) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__5t0
262LSYM(x106) t0__3a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__4t0_a0
263LSYM(x107) t0__9a0 ! t0__t0_4a0 ! b_e_t02a0 ! t0__8t0_a0
264LSYM(x108) t0__9a0 ! t0__3t0 ! b_e_shift ! r__r_4t0
265LSYM(x109) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__4t0_a0
266LSYM(x110) t0__9a0 ! t0__3t0 ! b_e_2t0 ! t0__2t0_a0
267LSYM(x111) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__3t0
268LSYM(x112) t0__3a0 ! t0__2t0_a0 ! b_e_t0 ! t0__16t0
269LSYM(x113) t0__9a0 ! t0__4t0_a0 ! b_e_t02a0 ! t0__3t0
270LSYM(x114) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__3t0
271LSYM(x115) t0__9a0 ! t0__2t0_a0 ! b_e_2t0a0 ! t0__3t0
272LSYM(x116) t0__3a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__4t0_a0
273LSYM(x117) t0__3a0 ! t0__4t0_a0 ! b_e_t0 ! t0__9t0
274LSYM(x118) t0__3a0 ! t0__4t0_a0 ! b_e_t0a0 ! t0__9t0
275LSYM(x119) t0__3a0 ! t0__4t0_a0 ! b_e_t02a0 ! t0__9t0
276LSYM(x120) t0__5a0 ! t0__3t0 ! b_e_shift ! r__r_8t0
277LSYM(x121) t0__5a0 ! t0__3t0 ! b_e_t0 ! t0__8t0_a0
278LSYM(x122) t0__5a0 ! t0__3t0 ! b_e_2t0 ! t0__4t0_a0
279LSYM(x123) t0__5a0 ! t0__8t0_a0 ! b_e_t0 ! t0__3t0
280LSYM(x124) t0__32a0 ! t0__t0ma0 ! b_e_shift ! r__r_4t0
281LSYM(x125) t0__5a0 ! t0__5t0 ! b_e_t0 ! t0__5t0
282LSYM(x126) t0__64a0 ! t0__t0ma0 ! b_e_shift ! r__r_2t0
283LSYM(x127) t0__128a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
284LSYM(x128) t0__128a0 ! a1_ne_0_b_l1 ! r__r_t0 ! MILLIRETN
285LSYM(x129) t0__128a0 ! a1_ne_0_b_l0 ! t0__t0_a0 ! b_n_ret_t0
286LSYM(x130) t0__64a0 ! t0__t0_a0 ! b_e_shift ! r__r_2t0
287LSYM(x131) t0__8a0 ! t0__8t0_a0 ! b_e_t0 ! t0__2t0_a0
288LSYM(x132) t0__8a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
289LSYM(x133) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__4t0_a0
290LSYM(x134) t0__8a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__2t0_a0
291LSYM(x135) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__3t0
292LSYM(x136) t0__8a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
293LSYM(x137) t0__8a0 ! t0__2t0_a0 ! b_e_t0 ! t0__8t0_a0
294LSYM(x138) t0__8a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__4t0_a0
295LSYM(x139) t0__8a0 ! t0__2t0_a0 ! b_e_2t0a0 ! t0__4t0_a0
296LSYM(x140) t0__3a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__5t0
297LSYM(x141) t0__8a0 ! t0__2t0_a0 ! b_e_4t0a0 ! t0__2t0_a0
298LSYM(x142) t0__9a0 ! t0__8t0 ! b_e_2t0 ! t0__t0ma0
299LSYM(x143) t0__16a0 ! t0__9t0 ! b_e_t0 ! t0__t0ma0
300LSYM(x144) t0__9a0 ! t0__8t0 ! b_e_shift ! r__r_2t0
301LSYM(x145) t0__9a0 ! t0__8t0 ! b_e_t0 ! t0__2t0_a0
302LSYM(x146) t0__9a0 ! t0__8t0_a0 ! b_e_shift ! r__r_2t0
303LSYM(x147) t0__9a0 ! t0__8t0_a0 ! b_e_t0 ! t0__2t0_a0
304LSYM(x148) t0__9a0 ! t0__4t0_a0 ! b_e_shift ! r__r_4t0
305LSYM(x149) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__4t0_a0
306LSYM(x150) t0__9a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__2t0_a0
307LSYM(x151) t0__9a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__2t0_a0
308LSYM(x152) t0__9a0 ! t0__2t0_a0 ! b_e_shift ! r__r_8t0
309LSYM(x153) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__8t0_a0
310LSYM(x154) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__4t0_a0
311LSYM(x155) t0__32a0 ! t0__t0ma0 ! b_e_t0 ! t0__5t0
312LSYM(x156) t0__9a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__2t0_a0
313LSYM(x157) t0__32a0 ! t0__t0ma0 ! b_e_t02a0 ! t0__5t0
314LSYM(x158) t0__16a0 ! t0__5t0 ! b_e_2t0 ! t0__t0ma0
315LSYM(x159) t0__32a0 ! t0__5t0 ! b_e_t0 ! t0__t0ma0
316LSYM(x160) t0__5a0 ! t0__4t0 ! b_e_shift ! r__r_8t0
317LSYM(x161) t0__8a0 ! t0__5t0 ! b_e_t0 ! t0__4t0_a0
318LSYM(x162) t0__9a0 ! t0__9t0 ! b_e_shift ! r__r_2t0
319LSYM(x163) t0__9a0 ! t0__9t0 ! b_e_t0 ! t0__2t0_a0
320LSYM(x164) t0__5a0 ! t0__8t0_a0 ! b_e_shift ! r__r_4t0
321LSYM(x165) t0__8a0 ! t0__4t0_a0 ! b_e_t0 ! t0__5t0
322LSYM(x166) t0__5a0 ! t0__8t0_a0 ! b_e_2t0 ! t0__2t0_a0
323LSYM(x167) t0__5a0 ! t0__8t0_a0 ! b_e_2t0a0 ! t0__2t0_a0
324LSYM(x168) t0__5a0 ! t0__4t0_a0 ! b_e_shift ! r__r_8t0
325LSYM(x169) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__8t0_a0
326LSYM(x170) t0__32a0 ! t0__t0_2a0 ! b_e_t0 ! t0__5t0
327LSYM(x171) t0__9a0 ! t0__2t0_a0 ! b_e_t0 ! t0__9t0
328LSYM(x172) t0__5a0 ! t0__4t0_a0 ! b_e_4t0 ! t0__2t0_a0
329LSYM(x173) t0__9a0 ! t0__2t0_a0 ! b_e_t02a0 ! t0__9t0
330LSYM(x174) t0__32a0 ! t0__t0_2a0 ! b_e_t04a0 ! t0__5t0
331LSYM(x175) t0__8a0 ! t0__2t0_a0 ! b_e_5t0 ! t0__2t0_a0
332LSYM(x176) t0__5a0 ! t0__4t0_a0 ! b_e_8t0 ! t0__t0_a0
333LSYM(x177) t0__5a0 ! t0__4t0_a0 ! b_e_8t0a0 ! t0__t0_a0
334LSYM(x178) t0__5a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__8t0_a0
335LSYM(x179) t0__5a0 ! t0__2t0_a0 ! b_e_2t0a0 ! t0__8t0_a0
336LSYM(x180) t0__9a0 ! t0__5t0 ! b_e_shift ! r__r_4t0
337LSYM(x181) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__4t0_a0
338LSYM(x182) t0__9a0 ! t0__5t0 ! b_e_2t0 ! t0__2t0_a0
339LSYM(x183) t0__9a0 ! t0__5t0 ! b_e_2t0a0 ! t0__2t0_a0
340LSYM(x184) t0__5a0 ! t0__9t0 ! b_e_4t0 ! t0__t0_a0
341LSYM(x185) t0__9a0 ! t0__4t0_a0 ! b_e_t0 ! t0__5t0
342LSYM(x186) t0__32a0 ! t0__t0ma0 ! b_e_2t0 ! t0__3t0
343LSYM(x187) t0__9a0 ! t0__4t0_a0 ! b_e_t02a0 ! t0__5t0
344LSYM(x188) t0__9a0 ! t0__5t0 ! b_e_4t0 ! t0__t0_2a0
345LSYM(x189) t0__5a0 ! t0__4t0_a0 ! b_e_t0 ! t0__9t0
346LSYM(x190) t0__9a0 ! t0__2t0_a0 ! b_e_2t0 ! t0__5t0
347LSYM(x191) t0__64a0 ! t0__3t0 ! b_e_t0 ! t0__t0ma0
348LSYM(x192) t0__8a0 ! t0__3t0 ! b_e_shift ! r__r_8t0
349LSYM(x193) t0__8a0 ! t0__3t0 ! b_e_t0 ! t0__8t0_a0
350LSYM(x194) t0__8a0 ! t0__3t0 ! b_e_2t0 ! t0__4t0_a0
351LSYM(x195) t0__8a0 ! t0__8t0_a0 ! b_e_t0 ! t0__3t0
352LSYM(x196) t0__8a0 ! t0__3t0 ! b_e_4t0 ! t0__2t0_a0
353LSYM(x197) t0__8a0 ! t0__3t0 ! b_e_4t0a0 ! t0__2t0_a0
354LSYM(x198) t0__64a0 ! t0__t0_2a0 ! b_e_t0 ! t0__3t0
355LSYM(x199) t0__8a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__3t0
356LSYM(x200) t0__5a0 ! t0__5t0 ! b_e_shift ! r__r_8t0
357LSYM(x201) t0__5a0 ! t0__5t0 ! b_e_t0 ! t0__8t0_a0
358LSYM(x202) t0__5a0 ! t0__5t0 ! b_e_2t0 ! t0__4t0_a0
359LSYM(x203) t0__5a0 ! t0__5t0 ! b_e_2t0a0 ! t0__4t0_a0
360LSYM(x204) t0__8a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__3t0
361LSYM(x205) t0__5a0 ! t0__8t0_a0 ! b_e_t0 ! t0__5t0
362LSYM(x206) t0__64a0 ! t0__t0_4a0 ! b_e_t02a0 ! t0__3t0
363LSYM(x207) t0__8a0 ! t0__2t0_a0 ! b_e_3t0 ! t0__4t0_a0
364LSYM(x208) t0__5a0 ! t0__5t0 ! b_e_8t0 ! t0__t0_a0
365LSYM(x209) t0__5a0 ! t0__5t0 ! b_e_8t0a0 ! t0__t0_a0
366LSYM(x210) t0__5a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__5t0
367LSYM(x211) t0__5a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__5t0
368LSYM(x212) t0__3a0 ! t0__4t0_a0 ! b_e_4t0 ! t0__4t0_a0
369LSYM(x213) t0__3a0 ! t0__4t0_a0 ! b_e_4t0a0 ! t0__4t0_a0
370LSYM(x214) t0__9a0 ! t0__t0_4a0 ! b_e_2t04a0 ! t0__8t0_a0
371LSYM(x215) t0__5a0 ! t0__4t0_a0 ! b_e_5t0 ! t0__2t0_a0
372LSYM(x216) t0__9a0 ! t0__3t0 ! b_e_shift ! r__r_8t0
373LSYM(x217) t0__9a0 ! t0__3t0 ! b_e_t0 ! t0__8t0_a0
374LSYM(x218) t0__9a0 ! t0__3t0 ! b_e_2t0 ! t0__4t0_a0
375LSYM(x219) t0__9a0 ! t0__8t0_a0 ! b_e_t0 ! t0__3t0
376LSYM(x220) t0__3a0 ! t0__9t0 ! b_e_4t0 ! t0__2t0_a0
377LSYM(x221) t0__3a0 ! t0__9t0 ! b_e_4t0a0 ! t0__2t0_a0
378LSYM(x222) t0__9a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__3t0
379LSYM(x223) t0__9a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__3t0
380LSYM(x224) t0__9a0 ! t0__3t0 ! b_e_8t0 ! t0__t0_a0
381LSYM(x225) t0__9a0 ! t0__5t0 ! b_e_t0 ! t0__5t0
382LSYM(x226) t0__3a0 ! t0__2t0_a0 ! b_e_t02a0 ! t0__32t0
383LSYM(x227) t0__9a0 ! t0__5t0 ! b_e_t02a0 ! t0__5t0
384LSYM(x228) t0__9a0 ! t0__2t0_a0 ! b_e_4t0 ! t0__3t0
385LSYM(x229) t0__9a0 ! t0__2t0_a0 ! b_e_4t0a0 ! t0__3t0
386LSYM(x230) t0__9a0 ! t0__5t0 ! b_e_5t0 ! t0__t0_a0
387LSYM(x231) t0__9a0 ! t0__2t0_a0 ! b_e_3t0 ! t0__4t0_a0
388LSYM(x232) t0__3a0 ! t0__2t0_a0 ! b_e_8t0 ! t0__4t0_a0
389LSYM(x233) t0__3a0 ! t0__2t0_a0 ! b_e_8t0a0 ! t0__4t0_a0
390LSYM(x234) t0__3a0 ! t0__4t0_a0 ! b_e_2t0 ! t0__9t0
391LSYM(x235) t0__3a0 ! t0__4t0_a0 ! b_e_2t0a0 ! t0__9t0
392LSYM(x236) t0__9a0 ! t0__2t0_a0 ! b_e_4t08a0 ! t0__3t0
393LSYM(x237) t0__16a0 ! t0__5t0 ! b_e_3t0 ! t0__t0ma0
394LSYM(x238) t0__3a0 ! t0__4t0_a0 ! b_e_2t04a0 ! t0__9t0
395LSYM(x239) t0__16a0 ! t0__5t0 ! b_e_t0ma0 ! t0__3t0
396LSYM(x240) t0__9a0 ! t0__t0_a0 ! b_e_8t0 ! t0__3t0
397LSYM(x241) t0__9a0 ! t0__t0_a0 ! b_e_8t0a0 ! t0__3t0
398LSYM(x242) t0__5a0 ! t0__3t0 ! b_e_2t0 ! t0__8t0_a0
399LSYM(x243) t0__9a0 ! t0__9t0 ! b_e_t0 ! t0__3t0
400LSYM(x244) t0__5a0 ! t0__3t0 ! b_e_4t0 ! t0__4t0_a0
401LSYM(x245) t0__8a0 ! t0__3t0 ! b_e_5t0 ! t0__2t0_a0
402LSYM(x246) t0__5a0 ! t0__8t0_a0 ! b_e_2t0 ! t0__3t0
403LSYM(x247) t0__5a0 ! t0__8t0_a0 ! b_e_2t0a0 ! t0__3t0
404LSYM(x248) t0__32a0 ! t0__t0ma0 ! b_e_shift ! r__r_8t0
405LSYM(x249) t0__32a0 ! t0__t0ma0 ! b_e_t0 ! t0__8t0_a0
406LSYM(x250) t0__5a0 ! t0__5t0 ! b_e_2t0 ! t0__5t0
407LSYM(x251) t0__5a0 ! t0__5t0 ! b_e_2t0a0 ! t0__5t0
408LSYM(x252) t0__64a0 ! t0__t0ma0 ! b_e_shift ! r__r_4t0
409LSYM(x253) t0__64a0 ! t0__t0ma0 ! b_e_t0 ! t0__4t0_a0
410LSYM(x254) t0__128a0 ! t0__t0ma0 ! b_e_shift ! r__r_2t0
411LSYM(x255) t0__256a0 ! a1_ne_0_b_l0 ! t0__t0ma0 ! b_n_ret_t0
412/*1040 insts before this. */
413LSYM(ret_t0) MILLIRET
414LSYM(e_t0) r__r_t0
415LSYM(e_shift) a1_ne_0_b_l2
416 a0__256a0 /* a0 <<= 8 *********** */
417 MILLIRETN
418LSYM(e_t0ma0) a1_ne_0_b_l0
419 t0__t0ma0
420 MILLIRET
421 r__r_t0
422LSYM(e_t0a0) a1_ne_0_b_l0
423 t0__t0_a0
424 MILLIRET
425 r__r_t0
426LSYM(e_t02a0) a1_ne_0_b_l0
427 t0__t0_2a0
428 MILLIRET
429 r__r_t0
430LSYM(e_t04a0) a1_ne_0_b_l0
431 t0__t0_4a0
432 MILLIRET
433 r__r_t0
434LSYM(e_2t0) a1_ne_0_b_l1
435 r__r_2t0
436 MILLIRETN
437LSYM(e_2t0a0) a1_ne_0_b_l0
438 t0__2t0_a0
439 MILLIRET
440 r__r_t0
441LSYM(e2t04a0) t0__t0_2a0
442 a1_ne_0_b_l1
443 r__r_2t0
444 MILLIRETN
445LSYM(e_3t0) a1_ne_0_b_l0
446 t0__3t0
447 MILLIRET
448 r__r_t0
449LSYM(e_4t0) a1_ne_0_b_l1
450 r__r_4t0
451 MILLIRETN
452LSYM(e_4t0a0) a1_ne_0_b_l0
453 t0__4t0_a0
454 MILLIRET
455 r__r_t0
456LSYM(e4t08a0) t0__t0_2a0
457 a1_ne_0_b_l1
458 r__r_4t0
459 MILLIRETN
460LSYM(e_5t0) a1_ne_0_b_l0
461 t0__5t0
462 MILLIRET
463 r__r_t0
464LSYM(e_8t0) a1_ne_0_b_l1
465 r__r_8t0
466 MILLIRETN
467LSYM(e_8t0a0) a1_ne_0_b_l0
468 t0__8t0_a0
469 MILLIRET
470 r__r_t0
471
472 .procend
473 .end
474#endif
diff --git a/arch/parisc/lib/milli/remI.S b/arch/parisc/lib/milli/remI.S
new file mode 100644
index 000000000000..63bc094471e2
--- /dev/null
+++ b/arch/parisc/lib/milli/remI.S
@@ -0,0 +1,185 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_remI
16/* ROUTINE: $$remI
17
18 DESCRIPTION:
19 . $$remI returns the remainder of the division of two signed 32-bit
20 . integers. The sign of the remainder is the same as the sign of
21 . the dividend.
22
23
24 INPUT REGISTERS:
25 . arg0 == dividend
26 . arg1 == divisor
27 . mrp == return pc
28 . sr0 == return space when called externally
29
30 OUTPUT REGISTERS:
31 . arg0 = destroyed
32 . arg1 = destroyed
33 . ret1 = remainder
34
35 OTHER REGISTERS AFFECTED:
36 . r1 = undefined
37
38 SIDE EFFECTS:
39 . Causes a trap under the following conditions: DIVIDE BY ZERO
40 . Changes memory at the following places: NONE
41
42 PERMISSIBLE CONTEXT:
43 . Unwindable
44 . Does not create a stack frame
45 . Is usable for internal or external microcode
46
47 DISCUSSION:
48 . Calls other millicode routines via mrp: NONE
49 . Calls other millicode routines: NONE */
50
51RDEFINE(tmp,r1)
52RDEFINE(retreg,ret1)
53
54 SUBSPA_MILLI
55 ATTR_MILLI
56 .proc
57 .callinfo millicode
58 .entry
59GSYM($$remI)
60GSYM($$remoI)
61 .export $$remI,MILLICODE
62 .export $$remoI,MILLICODE
63 ldo -1(arg1),tmp /* is there at most one bit set ? */
64 and,<> arg1,tmp,r0 /* if not, don't use power of 2 */
65 addi,> 0,arg1,r0 /* if denominator > 0, use power */
66 /* of 2 */
67 b,n LREF(neg_denom)
68LSYM(pow2)
69 comb,>,n 0,arg0,LREF(neg_num) /* is numerator < 0 ? */
70 and arg0,tmp,retreg /* get the result */
71 MILLIRETN
72LSYM(neg_num)
73 subi 0,arg0,arg0 /* negate numerator */
74 and arg0,tmp,retreg /* get the result */
75 subi 0,retreg,retreg /* negate result */
76 MILLIRETN
77LSYM(neg_denom)
78 addi,< 0,arg1,r0 /* if arg1 >= 0, it's not power */
79 /* of 2 */
80 b,n LREF(regular_seq)
81 sub r0,arg1,tmp /* make denominator positive */
82 comb,=,n arg1,tmp,LREF(regular_seq) /* test against 0x80000000 and 0 */
83 ldo -1(tmp),retreg /* is there at most one bit set ? */
84 and,= tmp,retreg,r0 /* if not, go to regular_seq */
85 b,n LREF(regular_seq)
86 comb,>,n 0,arg0,LREF(neg_num_2) /* if arg0 < 0, negate it */
87 and arg0,retreg,retreg
88 MILLIRETN
89LSYM(neg_num_2)
90 subi 0,arg0,tmp /* test against 0x80000000 */
91 and tmp,retreg,retreg
92 subi 0,retreg,retreg
93 MILLIRETN
94LSYM(regular_seq)
95 addit,= 0,arg1,0 /* trap if div by zero */
96 add,>= 0,arg0,retreg /* move dividend, if retreg < 0, */
97 sub 0,retreg,retreg /* make it positive */
98 sub 0,arg1, tmp /* clear carry, */
99 /* negate the divisor */
100 ds 0, tmp,0 /* set V-bit to the comple- */
101 /* ment of the divisor sign */
102 or 0,0, tmp /* clear tmp */
103 add retreg,retreg,retreg /* shift msb bit into carry */
104 ds tmp,arg1, tmp /* 1st divide step, if no carry */
105 /* out, msb of quotient = 0 */
106 addc retreg,retreg,retreg /* shift retreg with/into carry */
107LSYM(t1)
108 ds tmp,arg1, tmp /* 2nd divide step */
109 addc retreg,retreg,retreg /* shift retreg with/into carry */
110 ds tmp,arg1, tmp /* 3rd divide step */
111 addc retreg,retreg,retreg /* shift retreg with/into carry */
112 ds tmp,arg1, tmp /* 4th divide step */
113 addc retreg,retreg,retreg /* shift retreg with/into carry */
114 ds tmp,arg1, tmp /* 5th divide step */
115 addc retreg,retreg,retreg /* shift retreg with/into carry */
116 ds tmp,arg1, tmp /* 6th divide step */
117 addc retreg,retreg,retreg /* shift retreg with/into carry */
118 ds tmp,arg1, tmp /* 7th divide step */
119 addc retreg,retreg,retreg /* shift retreg with/into carry */
120 ds tmp,arg1, tmp /* 8th divide step */
121 addc retreg,retreg,retreg /* shift retreg with/into carry */
122 ds tmp,arg1, tmp /* 9th divide step */
123 addc retreg,retreg,retreg /* shift retreg with/into carry */
124 ds tmp,arg1, tmp /* 10th divide step */
125 addc retreg,retreg,retreg /* shift retreg with/into carry */
126 ds tmp,arg1, tmp /* 11th divide step */
127 addc retreg,retreg,retreg /* shift retreg with/into carry */
128 ds tmp,arg1, tmp /* 12th divide step */
129 addc retreg,retreg,retreg /* shift retreg with/into carry */
130 ds tmp,arg1, tmp /* 13th divide step */
131 addc retreg,retreg,retreg /* shift retreg with/into carry */
132 ds tmp,arg1, tmp /* 14th divide step */
133 addc retreg,retreg,retreg /* shift retreg with/into carry */
134 ds tmp,arg1, tmp /* 15th divide step */
135 addc retreg,retreg,retreg /* shift retreg with/into carry */
136 ds tmp,arg1, tmp /* 16th divide step */
137 addc retreg,retreg,retreg /* shift retreg with/into carry */
138 ds tmp,arg1, tmp /* 17th divide step */
139 addc retreg,retreg,retreg /* shift retreg with/into carry */
140 ds tmp,arg1, tmp /* 18th divide step */
141 addc retreg,retreg,retreg /* shift retreg with/into carry */
142 ds tmp,arg1, tmp /* 19th divide step */
143 addc retreg,retreg,retreg /* shift retreg with/into carry */
144 ds tmp,arg1, tmp /* 20th divide step */
145 addc retreg,retreg,retreg /* shift retreg with/into carry */
146 ds tmp,arg1, tmp /* 21st divide step */
147 addc retreg,retreg,retreg /* shift retreg with/into carry */
148 ds tmp,arg1, tmp /* 22nd divide step */
149 addc retreg,retreg,retreg /* shift retreg with/into carry */
150 ds tmp,arg1, tmp /* 23rd divide step */
151 addc retreg,retreg,retreg /* shift retreg with/into carry */
152 ds tmp,arg1, tmp /* 24th divide step */
153 addc retreg,retreg,retreg /* shift retreg with/into carry */
154 ds tmp,arg1, tmp /* 25th divide step */
155 addc retreg,retreg,retreg /* shift retreg with/into carry */
156 ds tmp,arg1, tmp /* 26th divide step */
157 addc retreg,retreg,retreg /* shift retreg with/into carry */
158 ds tmp,arg1, tmp /* 27th divide step */
159 addc retreg,retreg,retreg /* shift retreg with/into carry */
160 ds tmp,arg1, tmp /* 28th divide step */
161 addc retreg,retreg,retreg /* shift retreg with/into carry */
162 ds tmp,arg1, tmp /* 29th divide step */
163 addc retreg,retreg,retreg /* shift retreg with/into carry */
164 ds tmp,arg1, tmp /* 30th divide step */
165 addc retreg,retreg,retreg /* shift retreg with/into carry */
166 ds tmp,arg1, tmp /* 31st divide step */
167 addc retreg,retreg,retreg /* shift retreg with/into carry */
168 ds tmp,arg1, tmp /* 32nd divide step, */
169 addc retreg,retreg,retreg /* shift last bit into retreg */
170 movb,>=,n tmp,retreg,LREF(finish) /* branch if pos. tmp */
171 add,< arg1,0,0 /* if arg1 > 0, add arg1 */
172 add,tr tmp,arg1,retreg /* for correcting remainder tmp */
173 sub tmp,arg1,retreg /* else add absolute value arg1 */
174LSYM(finish)
175 add,>= arg0,0,0 /* set sign of remainder */
176 sub 0,retreg,retreg /* to sign of dividend */
177 MILLIRET
178 nop
179 .exit
180 .procend
181#ifdef milliext
182 .origin 0x00000200
183#endif
184 .end
185#endif
diff --git a/arch/parisc/lib/milli/remU.S b/arch/parisc/lib/milli/remU.S
new file mode 100644
index 000000000000..c0a2d6e247c3
--- /dev/null
+++ b/arch/parisc/lib/milli/remU.S
@@ -0,0 +1,148 @@
1/* 32 and 64-bit millicode, original author Hewlett-Packard
2 adapted for gcc by Paul Bame <bame@debian.org>
3 and Alan Modra <alan@linuxcare.com.au>.
4
5 Copyright 2001, 2002, 2003 Free Software Foundation, Inc.
6
7 This file is part of GCC and is released under the terms of
8 of the GNU General Public License as published by the Free Software
9 Foundation; either version 2, or (at your option) any later version.
10 See the file COPYING in the top-level GCC source directory for a copy
11 of the license. */
12
13#include "milli.h"
14
15#ifdef L_remU
16/* ROUTINE: $$remU
17 . Single precision divide for remainder with unsigned binary integers.
18 .
19 . The remainder must be dividend-(dividend/divisor)*divisor.
20 . Divide by zero is trapped.
21
22 INPUT REGISTERS:
23 . arg0 == dividend
24 . arg1 == divisor
25 . mrp == return pc
26 . sr0 == return space when called externally
27
28 OUTPUT REGISTERS:
29 . arg0 = undefined
30 . arg1 = undefined
31 . ret1 = remainder
32
33 OTHER REGISTERS AFFECTED:
34 . r1 = undefined
35
36 SIDE EFFECTS:
37 . Causes a trap under the following conditions: DIVIDE BY ZERO
38 . Changes memory at the following places: NONE
39
40 PERMISSIBLE CONTEXT:
41 . Unwindable.
42 . Does not create a stack frame.
43 . Suitable for internal or external millicode.
44 . Assumes the special millicode register conventions.
45
46 DISCUSSION:
47 . Calls other millicode routines using mrp: NONE
48 . Calls other millicode routines: NONE */
49
50
51RDEFINE(temp,r1)
52RDEFINE(rmndr,ret1) /* r29 */
53 SUBSPA_MILLI
54 ATTR_MILLI
55 .export $$remU,millicode
56 .proc
57 .callinfo millicode
58 .entry
59GSYM($$remU)
60 ldo -1(arg1),temp /* is there at most one bit set ? */
61 and,= arg1,temp,r0 /* if not, don't use power of 2 */
62 b LREF(regular_seq)
63 addit,= 0,arg1,r0 /* trap on div by zero */
64 and arg0,temp,rmndr /* get the result for power of 2 */
65 MILLIRETN
66LSYM(regular_seq)
67 comib,>=,n 0,arg1,LREF(special_case)
68 subi 0,arg1,rmndr /* clear carry, negate the divisor */
69 ds r0,rmndr,r0 /* set V-bit to 1 */
70 add arg0,arg0,temp /* shift msb bit into carry */
71 ds r0,arg1,rmndr /* 1st divide step, if no carry */
72 addc temp,temp,temp /* shift temp with/into carry */
73 ds rmndr,arg1,rmndr /* 2nd divide step */
74 addc temp,temp,temp /* shift temp with/into carry */
75 ds rmndr,arg1,rmndr /* 3rd divide step */
76 addc temp,temp,temp /* shift temp with/into carry */
77 ds rmndr,arg1,rmndr /* 4th divide step */
78 addc temp,temp,temp /* shift temp with/into carry */
79 ds rmndr,arg1,rmndr /* 5th divide step */
80 addc temp,temp,temp /* shift temp with/into carry */
81 ds rmndr,arg1,rmndr /* 6th divide step */
82 addc temp,temp,temp /* shift temp with/into carry */
83 ds rmndr,arg1,rmndr /* 7th divide step */
84 addc temp,temp,temp /* shift temp with/into carry */
85 ds rmndr,arg1,rmndr /* 8th divide step */
86 addc temp,temp,temp /* shift temp with/into carry */
87 ds rmndr,arg1,rmndr /* 9th divide step */
88 addc temp,temp,temp /* shift temp with/into carry */
89 ds rmndr,arg1,rmndr /* 10th divide step */
90 addc temp,temp,temp /* shift temp with/into carry */
91 ds rmndr,arg1,rmndr /* 11th divide step */
92 addc temp,temp,temp /* shift temp with/into carry */
93 ds rmndr,arg1,rmndr /* 12th divide step */
94 addc temp,temp,temp /* shift temp with/into carry */
95 ds rmndr,arg1,rmndr /* 13th divide step */
96 addc temp,temp,temp /* shift temp with/into carry */
97 ds rmndr,arg1,rmndr /* 14th divide step */
98 addc temp,temp,temp /* shift temp with/into carry */
99 ds rmndr,arg1,rmndr /* 15th divide step */
100 addc temp,temp,temp /* shift temp with/into carry */
101 ds rmndr,arg1,rmndr /* 16th divide step */
102 addc temp,temp,temp /* shift temp with/into carry */
103 ds rmndr,arg1,rmndr /* 17th divide step */
104 addc temp,temp,temp /* shift temp with/into carry */
105 ds rmndr,arg1,rmndr /* 18th divide step */
106 addc temp,temp,temp /* shift temp with/into carry */
107 ds rmndr,arg1,rmndr /* 19th divide step */
108 addc temp,temp,temp /* shift temp with/into carry */
109 ds rmndr,arg1,rmndr /* 20th divide step */
110 addc temp,temp,temp /* shift temp with/into carry */
111 ds rmndr,arg1,rmndr /* 21st divide step */
112 addc temp,temp,temp /* shift temp with/into carry */
113 ds rmndr,arg1,rmndr /* 22nd divide step */
114 addc temp,temp,temp /* shift temp with/into carry */
115 ds rmndr,arg1,rmndr /* 23rd divide step */
116 addc temp,temp,temp /* shift temp with/into carry */
117 ds rmndr,arg1,rmndr /* 24th divide step */
118 addc temp,temp,temp /* shift temp with/into carry */
119 ds rmndr,arg1,rmndr /* 25th divide step */
120 addc temp,temp,temp /* shift temp with/into carry */
121 ds rmndr,arg1,rmndr /* 26th divide step */
122 addc temp,temp,temp /* shift temp with/into carry */
123 ds rmndr,arg1,rmndr /* 27th divide step */
124 addc temp,temp,temp /* shift temp with/into carry */
125 ds rmndr,arg1,rmndr /* 28th divide step */
126 addc temp,temp,temp /* shift temp with/into carry */
127 ds rmndr,arg1,rmndr /* 29th divide step */
128 addc temp,temp,temp /* shift temp with/into carry */
129 ds rmndr,arg1,rmndr /* 30th divide step */
130 addc temp,temp,temp /* shift temp with/into carry */
131 ds rmndr,arg1,rmndr /* 31st divide step */
132 addc temp,temp,temp /* shift temp with/into carry */
133 ds rmndr,arg1,rmndr /* 32nd divide step, */
134 comiclr,<= 0,rmndr,r0
135 add rmndr,arg1,rmndr /* correction */
136 MILLIRETN
137 nop
138
139/* Putting >= on the last DS and deleting COMICLR does not work! */
140LSYM(special_case)
141 sub,>>= arg0,arg1,rmndr
142 copy arg0,rmndr
143 MILLIRETN
144 nop
145 .exit
146 .procend
147 .end
148#endif
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c
index e724b362c49a..aa875fa43488 100644
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@ -607,7 +607,7 @@ void show_mem(void)
607 607
608 printk("Zone list for zone %d on node %d: ", j, i); 608 printk("Zone list for zone %d on node %d: ", j, i);
609 for (k = 0; zl->zones[k] != NULL; k++) 609 for (k = 0; zl->zones[k] != NULL; k++)
610 printk("[%ld/%s] ", zone_to_nid(zl->zones[k]), zl->zones[k]->name); 610 printk("[%d/%s] ", zone_to_nid(zl->zones[k]), zl->zones[k]->name);
611 printk("\n"); 611 printk("\n");
612 } 612 }
613 } 613 }
diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c
index 5b86ee5c1eeb..5eace9e66e14 100644
--- a/drivers/parisc/lba_pci.c
+++ b/drivers/parisc/lba_pci.c
@@ -557,44 +557,6 @@ lba_bios_init(void)
557#ifdef CONFIG_64BIT 557#ifdef CONFIG_64BIT
558 558
559/* 559/*
560** Determine if a device is already configured.
561** If so, reserve it resources.
562**
563** Read PCI cfg command register and see if I/O or MMIO is enabled.
564** PAT has to enable the devices it's using.
565**
566** Note: resources are fixed up before we try to claim them.
567*/
568static void
569lba_claim_dev_resources(struct pci_dev *dev)
570{
571 u16 cmd;
572 int i, srch_flags;
573
574 (void) pci_read_config_word(dev, PCI_COMMAND, &cmd);
575
576 srch_flags = (cmd & PCI_COMMAND_IO) ? IORESOURCE_IO : 0;
577 if (cmd & PCI_COMMAND_MEMORY)
578 srch_flags |= IORESOURCE_MEM;
579
580 if (!srch_flags)
581 return;
582
583 for (i = 0; i <= PCI_ROM_RESOURCE; i++) {
584 if (dev->resource[i].flags & srch_flags) {
585 pci_claim_resource(dev, i);
586 DBG(" claimed %s %d [%lx,%lx]/%lx\n",
587 pci_name(dev), i,
588 dev->resource[i].start,
589 dev->resource[i].end,
590 dev->resource[i].flags
591 );
592 }
593 }
594}
595
596
597/*
598 * truncate_pat_collision: Deal with overlaps or outright collisions 560 * truncate_pat_collision: Deal with overlaps or outright collisions
599 * between PAT PDC reported ranges. 561 * between PAT PDC reported ranges.
600 * 562 *
@@ -653,7 +615,6 @@ truncate_pat_collision(struct resource *root, struct resource *new)
653} 615}
654 616
655#else 617#else
656#define lba_claim_dev_resources(dev) do { } while (0)
657#define truncate_pat_collision(r,n) (0) 618#define truncate_pat_collision(r,n) (0)
658#endif 619#endif
659 620
@@ -684,8 +645,12 @@ lba_fixup_bus(struct pci_bus *bus)
684 ** pci_alloc_primary_bus() mangles this. 645 ** pci_alloc_primary_bus() mangles this.
685 */ 646 */
686 if (bus->self) { 647 if (bus->self) {
648 int i;
687 /* PCI-PCI Bridge */ 649 /* PCI-PCI Bridge */
688 pci_read_bridge_bases(bus); 650 pci_read_bridge_bases(bus);
651 for (i = PCI_BRIDGE_RESOURCES; i < PCI_NUM_RESOURCES; i++) {
652 pci_claim_resource(bus->self, i);
653 }
689 } else { 654 } else {
690 /* Host-PCI Bridge */ 655 /* Host-PCI Bridge */
691 int err, i; 656 int err, i;
@@ -803,6 +768,9 @@ lba_fixup_bus(struct pci_bus *bus)
803 DBG("lba_fixup_bus() WTF? 0x%lx [%lx/%lx] XXX", 768 DBG("lba_fixup_bus() WTF? 0x%lx [%lx/%lx] XXX",
804 res->flags, res->start, res->end); 769 res->flags, res->start, res->end);
805 } 770 }
771 if ((i != PCI_ROM_RESOURCE) ||
772 (res->flags & IORESOURCE_ROM_ENABLE))
773 pci_claim_resource(dev, i);
806 } 774 }
807 775
808#ifdef FBB_SUPPORT 776#ifdef FBB_SUPPORT
@@ -814,11 +782,6 @@ lba_fixup_bus(struct pci_bus *bus)
814 bus->bridge_ctl &= ~(status & PCI_STATUS_FAST_BACK); 782 bus->bridge_ctl &= ~(status & PCI_STATUS_FAST_BACK);
815#endif 783#endif
816 784
817 if (is_pdc_pat()) {
818 /* Claim resources for PDC's devices */
819 lba_claim_dev_resources(dev);
820 }
821
822 /* 785 /*
823 ** P2PB's have no IRQs. ignore them. 786 ** P2PB's have no IRQs. ignore them.
824 */ 787 */
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c
index fc4bde259dc7..ebb09e98d215 100644
--- a/drivers/parisc/pdc_stable.c
+++ b/drivers/parisc/pdc_stable.c
@@ -282,6 +282,7 @@ pdcspath_hwpath_write(struct pdcspath_entry *entry, const char *buf, size_t coun
282 unsigned short i; 282 unsigned short i;
283 char in[count+1], *temp; 283 char in[count+1], *temp;
284 struct device *dev; 284 struct device *dev;
285 int ret;
285 286
286 if (!entry || !buf || !count) 287 if (!entry || !buf || !count)
287 return -EINVAL; 288 return -EINVAL;
@@ -333,7 +334,9 @@ pdcspath_hwpath_write(struct pdcspath_entry *entry, const char *buf, size_t coun
333 334
334 /* Update the symlink to the real device */ 335 /* Update the symlink to the real device */
335 sysfs_remove_link(&entry->kobj, "device"); 336 sysfs_remove_link(&entry->kobj, "device");
336 sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device"); 337 ret = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device");
338 WARN_ON(ret);
339
337 write_unlock(&entry->rw_lock); 340 write_unlock(&entry->rw_lock);
338 341
339 printk(KERN_INFO PDCS_PREFIX ": changed \"%s\" path to \"%s\"\n", 342 printk(KERN_INFO PDCS_PREFIX ": changed \"%s\" path to \"%s\"\n",
@@ -1003,8 +1006,10 @@ pdcs_register_pathentries(void)
1003 entry->ready = 2; 1006 entry->ready = 2;
1004 1007
1005 /* Add a nice symlink to the real device */ 1008 /* Add a nice symlink to the real device */
1006 if (entry->dev) 1009 if (entry->dev) {
1007 sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device"); 1010 err = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device");
1011 WARN_ON(err);
1012 }
1008 1013
1009 write_unlock(&entry->rw_lock); 1014 write_unlock(&entry->rw_lock);
1010 } 1015 }
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index d044c48323e6..e5c323936eae 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -1909,8 +1909,8 @@ sba_driver_callback(struct parisc_device *dev)
1909 global_ioc_cnt *= 2; 1909 global_ioc_cnt *= 2;
1910 } 1910 }
1911 1911
1912 printk(KERN_INFO "%s found %s at 0x%lx\n", 1912 printk(KERN_INFO "%s found %s at 0x%llx\n",
1913 MODULE_NAME, version, dev->hpa.start); 1913 MODULE_NAME, version, (unsigned long long)dev->hpa.start);
1914 1914
1915 sba_dev = kzalloc(sizeof(struct sba_device), GFP_KERNEL); 1915 sba_dev = kzalloc(sizeof(struct sba_device), GFP_KERNEL);
1916 if (!sba_dev) { 1916 if (!sba_dev) {
diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c
index 38cdf9fa36a7..1e8d2d17f04c 100644
--- a/drivers/parisc/superio.c
+++ b/drivers/parisc/superio.c
@@ -155,6 +155,7 @@ superio_init(struct pci_dev *pcidev)
155 struct superio_device *sio = &sio_dev; 155 struct superio_device *sio = &sio_dev;
156 struct pci_dev *pdev = sio->lio_pdev; 156 struct pci_dev *pdev = sio->lio_pdev;
157 u16 word; 157 u16 word;
158 int ret;
158 159
159 if (sio->suckyio_irq_enabled) 160 if (sio->suckyio_irq_enabled)
160 return; 161 return;
@@ -200,7 +201,8 @@ superio_init(struct pci_dev *pcidev)
200 pci_write_config_word (pdev, PCI_COMMAND, word); 201 pci_write_config_word (pdev, PCI_COMMAND, word);
201 202
202 pci_set_master (pdev); 203 pci_set_master (pdev);
203 pci_enable_device(pdev); 204 ret = pci_enable_device(pdev);
205 BUG_ON(ret < 0); /* not too much we can do about this... */
204 206
205 /* 207 /*
206 * Next project is programming the onboard interrupt controllers. 208 * Next project is programming the onboard interrupt controllers.
diff --git a/include/asm-parisc/Kbuild b/include/asm-parisc/Kbuild
index c68e1680da01..f88b252e419c 100644
--- a/include/asm-parisc/Kbuild
+++ b/include/asm-parisc/Kbuild
@@ -1 +1,3 @@
1include include/asm-generic/Kbuild.asm 1include include/asm-generic/Kbuild.asm
2
3unifdef-y += pdc.h
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h
index 95f00e11c7b4..55ddb1842107 100644
--- a/include/asm-parisc/io.h
+++ b/include/asm-parisc/io.h
@@ -138,7 +138,7 @@ extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsign
138/* Most machines react poorly to I/O-space being cacheable... Instead let's 138/* Most machines react poorly to I/O-space being cacheable... Instead let's
139 * define ioremap() in terms of ioremap_nocache(). 139 * define ioremap() in terms of ioremap_nocache().
140 */ 140 */
141extern inline void __iomem * ioremap(unsigned long offset, unsigned long size) 141static inline void __iomem * ioremap(unsigned long offset, unsigned long size)
142{ 142{
143 return __ioremap(offset, size, _PAGE_NO_CACHE); 143 return __ioremap(offset, size, _PAGE_NO_CACHE);
144} 144}
diff --git a/include/asm-parisc/page.h b/include/asm-parisc/page.h
index f6bba4c13664..b59a1504fc7a 100644
--- a/include/asm-parisc/page.h
+++ b/include/asm-parisc/page.h
@@ -3,6 +3,8 @@
3 3
4#ifdef __KERNEL__ 4#ifdef __KERNEL__
5 5
6#include <linux/const.h>
7
6#if defined(CONFIG_PARISC_PAGE_SIZE_4KB) 8#if defined(CONFIG_PARISC_PAGE_SIZE_4KB)
7# define PAGE_SHIFT 12 9# define PAGE_SHIFT 12
8#elif defined(CONFIG_PARISC_PAGE_SIZE_16KB) 10#elif defined(CONFIG_PARISC_PAGE_SIZE_16KB)
@@ -12,7 +14,7 @@
12#else 14#else
13# error "unknown default kernel page size" 15# error "unknown default kernel page size"
14#endif 16#endif
15#define PAGE_SIZE (1UL << PAGE_SHIFT) 17#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
16#define PAGE_MASK (~(PAGE_SIZE-1)) 18#define PAGE_MASK (~(PAGE_SIZE-1))
17 19
18 20
diff --git a/include/asm-parisc/pci.h b/include/asm-parisc/pci.h
index 61fbd57a8323..4ba868f44a5e 100644
--- a/include/asm-parisc/pci.h
+++ b/include/asm-parisc/pci.h
@@ -207,7 +207,7 @@ extern struct pci_bios_ops *pci_bios;
207extern void pcibios_register_hba(struct pci_hba_data *); 207extern void pcibios_register_hba(struct pci_hba_data *);
208extern void pcibios_set_master(struct pci_dev *); 208extern void pcibios_set_master(struct pci_dev *);
209#else 209#else
210extern inline void pcibios_register_hba(struct pci_hba_data *x) 210static inline void pcibios_register_hba(struct pci_hba_data *x)
211{ 211{
212} 212}
213#endif 213#endif
diff --git a/include/asm-parisc/pdc.h b/include/asm-parisc/pdc.h
index 876fd8116d4a..5e0c3ca5450b 100644
--- a/include/asm-parisc/pdc.h
+++ b/include/asm-parisc/pdc.h
@@ -1,7 +1,6 @@
1#ifndef _PARISC_PDC_H 1#ifndef _PARISC_PDC_H
2#define _PARISC_PDC_H 2#define _PARISC_PDC_H
3 3
4
5/* 4/*
6 * PDC return values ... 5 * PDC return values ...
7 * All PDC calls return a subset of these errors. 6 * All PDC calls return a subset of these errors.
@@ -20,7 +19,6 @@
20#define PDC_BUS_POW_WARN -12 /* Call could not complete in allowed power budget */ 19#define PDC_BUS_POW_WARN -12 /* Call could not complete in allowed power budget */
21#define PDC_NOT_NARROW -17 /* Narrow mode not supported */ 20#define PDC_NOT_NARROW -17 /* Narrow mode not supported */
22 21
23
24/* 22/*
25 * PDC entry points... 23 * PDC entry points...
26 */ 24 */
@@ -50,6 +48,12 @@
50#define PDC_MODEL_DISPEC 5 /* disable specific option */ 48#define PDC_MODEL_DISPEC 5 /* disable specific option */
51#define PDC_MODEL_CPU_ID 6 /* returns cpu-id (only newer machines!) */ 49#define PDC_MODEL_CPU_ID 6 /* returns cpu-id (only newer machines!) */
52#define PDC_MODEL_CAPABILITIES 7 /* returns OS32/OS64-flags */ 50#define PDC_MODEL_CAPABILITIES 7 /* returns OS32/OS64-flags */
51/* Values for PDC_MODEL_CAPABILITIES non-equivalent virtual aliasing support */
52#define PDC_MODEL_IOPDIR_FDC (1 << 2)
53#define PDC_MODEL_NVA_MASK (3 << 4)
54#define PDC_MODEL_NVA_SUPPORTED (0 << 4)
55#define PDC_MODEL_NVA_SLOW (1 << 4)
56#define PDC_MODEL_NVA_UNSUPPORTED (3 << 4)
53#define PDC_MODEL_GET_BOOT__OP 8 /* returns boot test options */ 57#define PDC_MODEL_GET_BOOT__OP 8 /* returns boot test options */
54#define PDC_MODEL_SET_BOOT__OP 9 /* set boot test options */ 58#define PDC_MODEL_SET_BOOT__OP 9 /* set boot test options */
55 59
@@ -91,7 +95,7 @@
91#define PDC_TOD 9 /* time-of-day clock (TOD) */ 95#define PDC_TOD 9 /* time-of-day clock (TOD) */
92#define PDC_TOD_READ 0 /* read TOD */ 96#define PDC_TOD_READ 0 /* read TOD */
93#define PDC_TOD_WRITE 1 /* write TOD */ 97#define PDC_TOD_WRITE 1 /* write TOD */
94#define PDC_TOD_ITIMER 2 /* calibrate Interval Timer (CR16) */ 98
95 99
96#define PDC_STABLE 10 /* stable storage (sprockets) */ 100#define PDC_STABLE 10 /* stable storage (sprockets) */
97#define PDC_STABLE_READ 0 101#define PDC_STABLE_READ 0
@@ -143,15 +147,6 @@
143#define PDC_MEM_RET_PDT_FULL -11 147#define PDC_MEM_RET_PDT_FULL -11
144#define PDC_MEM_RET_INVALID_PHYSICAL_LOCATION ~0ULL 148#define PDC_MEM_RET_INVALID_PHYSICAL_LOCATION ~0ULL
145 149
146#ifndef __ASSEMBLY__
147typedef struct {
148 unsigned long long baseAddr;
149 unsigned int pages;
150 unsigned int reserved;
151} MemAddrTable_t;
152#endif
153
154
155#define PDC_PSW 21 /* Get/Set default System Mask */ 150#define PDC_PSW 21 /* Get/Set default System Mask */
156#define PDC_PSW_MASK 0 /* Return mask */ 151#define PDC_PSW_MASK 0 /* Return mask */
157#define PDC_PSW_GET_DEFAULTS 1 /* Return defaults */ 152#define PDC_PSW_GET_DEFAULTS 1 /* Return defaults */
@@ -274,6 +269,43 @@ typedef struct {
274#define PDC_LINK_PCI_ENTRY_POINTS 0 /* list (Arg1) = 0 */ 269#define PDC_LINK_PCI_ENTRY_POINTS 0 /* list (Arg1) = 0 */
275#define PDC_LINK_USB_ENTRY_POINTS 1 /* list (Arg1) = 1 */ 270#define PDC_LINK_USB_ENTRY_POINTS 1 /* list (Arg1) = 1 */
276 271
272/* cl_class
273 * page 3-33 of IO-Firmware ARS
274 * IODC ENTRY_INIT(Search first) RET[1]
275 */
276#define CL_NULL 0 /* invalid */
277#define CL_RANDOM 1 /* random access (as disk) */
278#define CL_SEQU 2 /* sequential access (as tape) */
279#define CL_DUPLEX 7 /* full-duplex point-to-point (RS-232, Net) */
280#define CL_KEYBD 8 /* half-duplex console (HIL Keyboard) */
281#define CL_DISPL 9 /* half-duplex console (display) */
282#define CL_FC 10 /* FiberChannel access media */
283
284/* IODC ENTRY_INIT() */
285#define ENTRY_INIT_SRCH_FRST 2
286#define ENTRY_INIT_SRCH_NEXT 3
287#define ENTRY_INIT_MOD_DEV 4
288#define ENTRY_INIT_DEV 5
289#define ENTRY_INIT_MOD 6
290#define ENTRY_INIT_MSG 9
291
292/* IODC ENTRY_IO() */
293#define ENTRY_IO_BOOTIN 0
294#define ENTRY_IO_BOOTOUT 1
295#define ENTRY_IO_CIN 2
296#define ENTRY_IO_COUT 3
297#define ENTRY_IO_CLOSE 4
298#define ENTRY_IO_GETMSG 9
299#define ENTRY_IO_BBLOCK_IN 16
300#define ENTRY_IO_BBLOCK_OUT 17
301
302/* IODC ENTRY_SPA() */
303
304/* IODC ENTRY_CONFIG() */
305
306/* IODC ENTRY_TEST() */
307
308/* IODC ENTRY_TLB() */
277 309
278/* constants for OS (NVM...) */ 310/* constants for OS (NVM...) */
279#define OS_ID_NONE 0 /* Undefined OS ID */ 311#define OS_ID_NONE 0 /* Undefined OS ID */
@@ -295,7 +327,13 @@ typedef struct {
295#define OSTAT_RUN 6 327#define OSTAT_RUN 6
296#define OSTAT_ON 7 328#define OSTAT_ON 7
297 329
298#ifndef __ASSEMBLY__ 330/* Page Zero constant offsets used by the HPMC handler */
331#define BOOT_CONSOLE_HPA_OFFSET 0x3c0
332#define BOOT_CONSOLE_SPA_OFFSET 0x3c4
333#define BOOT_CONSOLE_PATH_OFFSET 0x3a8
334
335#if !defined(__ASSEMBLY__)
336#ifdef __KERNEL__
299 337
300#include <linux/types.h> 338#include <linux/types.h>
301 339
@@ -331,14 +369,6 @@ struct pdc_model { /* for PDC_MODEL */
331 unsigned long curr_key; 369 unsigned long curr_key;
332}; 370};
333 371
334/* Values for PDC_MODEL_CAPABILITIES non-equivalent virtual aliasing support */
335
336#define PDC_MODEL_IOPDIR_FDC (1 << 2) /* see sba_iommu.c */
337#define PDC_MODEL_NVA_MASK (3 << 4)
338#define PDC_MODEL_NVA_SUPPORTED (0 << 4)
339#define PDC_MODEL_NVA_SLOW (1 << 4)
340#define PDC_MODEL_NVA_UNSUPPORTED (3 << 4)
341
342struct pdc_cache_cf { /* for PDC_CACHE (I/D-caches) */ 372struct pdc_cache_cf { /* for PDC_CACHE (I/D-caches) */
343 unsigned long 373 unsigned long
344#ifdef CONFIG_64BIT 374#ifdef CONFIG_64BIT
@@ -558,15 +588,97 @@ struct pdc_hpmc_pim_20 { /* PDC_PIM */
558 __u64 fr[32]; 588 __u64 fr[32];
559}; 589};
560 590
561#endif /* __ASSEMBLY__ */ 591void pdc_console_init(void); /* in pdc_console.c */
592void pdc_console_restart(void);
593
594void setup_pdc(void); /* in inventory.c */
595
596/* wrapper-functions from pdc.c */
597
598int pdc_add_valid(unsigned long address);
599int pdc_chassis_info(struct pdc_chassis_info *chassis_info, void *led_info, unsigned long len);
600int pdc_chassis_disp(unsigned long disp);
601int pdc_chassis_warn(unsigned long *warn);
602int pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info);
603int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index,
604 void *iodc_data, unsigned int iodc_data_size);
605int pdc_system_map_find_mods(struct pdc_system_map_mod_info *pdc_mod_info,
606 struct pdc_module_path *mod_path, long mod_index);
607int pdc_system_map_find_addrs(struct pdc_system_map_addr_info *pdc_addr_info,
608 long mod_index, long addr_index);
609int pdc_model_info(struct pdc_model *model);
610int pdc_model_sysmodel(char *name);
611int pdc_model_cpuid(unsigned long *cpu_id);
612int pdc_model_versions(unsigned long *versions, int id);
613int pdc_model_capabilities(unsigned long *capabilities);
614int pdc_cache_info(struct pdc_cache_info *cache);
615int pdc_spaceid_bits(unsigned long *space_bits);
616#ifndef CONFIG_PA20
617int pdc_btlb_info(struct pdc_btlb_info *btlb);
618int pdc_mem_map_hpa(struct pdc_memory_map *r_addr, struct pdc_module_path *mod_path);
619#endif /* !CONFIG_PA20 */
620int pdc_lan_station_id(char *lan_addr, unsigned long net_hpa);
621
622int pdc_stable_read(unsigned long staddr, void *memaddr, unsigned long count);
623int pdc_stable_write(unsigned long staddr, void *memaddr, unsigned long count);
624int pdc_stable_get_size(unsigned long *size);
625int pdc_stable_verify_contents(void);
626int pdc_stable_initialize(void);
627
628int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa);
629int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl);
630
631int pdc_get_initiator(struct hardware_path *, struct pdc_initiator *);
632int pdc_tod_read(struct pdc_tod *tod);
633int pdc_tod_set(unsigned long sec, unsigned long usec);
634
635#ifdef CONFIG_64BIT
636int pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr,
637 struct pdc_memory_table *tbl, unsigned long entries);
638#endif
639
640void set_firmware_width(void);
641int pdc_do_firm_test_reset(unsigned long ftc_bitmap);
642int pdc_do_reset(void);
643int pdc_soft_power_info(unsigned long *power_reg);
644int pdc_soft_power_button(int sw_control);
645void pdc_io_reset(void);
646void pdc_io_reset_devices(void);
647int pdc_iodc_getc(void);
648void pdc_iodc_putc(unsigned char c);
649void pdc_iodc_outc(unsigned char c);
650void pdc_printf(const char *fmt, ...);
651
652void pdc_emergency_unlock(void);
653int pdc_sti_call(unsigned long func, unsigned long flags,
654 unsigned long inptr, unsigned long outputr,
655 unsigned long glob_cfg);
656
657static inline char * os_id_to_string(u16 os_id) {
658 switch(os_id) {
659 case OS_ID_NONE: return "No OS";
660 case OS_ID_HPUX: return "HP-UX";
661 case OS_ID_MPEXL: return "MPE-iX";
662 case OS_ID_OSF: return "OSF";
663 case OS_ID_HPRT: return "HP-RT";
664 case OS_ID_NOVEL: return "Novell Netware";
665 case OS_ID_LINUX: return "Linux";
666 default: return "Unknown";
667 }
668}
669
670#endif /* __KERNEL__ */
671
672#define PAGE0 ((struct zeropage *)__PAGE_OFFSET)
673
674/* DEFINITION OF THE ZERO-PAGE (PAG0) */
675/* based on work by Jason Eckhardt (jason@equator.com) */
562 676
563/* flags of the device_path (see below) */ 677/* flags of the device_path */
564#define PF_AUTOBOOT 0x80 678#define PF_AUTOBOOT 0x80
565#define PF_AUTOSEARCH 0x40 679#define PF_AUTOSEARCH 0x40
566#define PF_TIMER 0x0F 680#define PF_TIMER 0x0F
567 681
568#ifndef __ASSEMBLY__
569
570struct device_path { /* page 1-69 */ 682struct device_path { /* page 1-69 */
571 unsigned char flags; /* flags see above! */ 683 unsigned char flags; /* flags see above! */
572 unsigned char bc[6]; /* bus converter routing info */ 684 unsigned char bc[6]; /* bus converter routing info */
@@ -586,63 +698,6 @@ struct pz_device {
586 unsigned short cl_class;/* see below */ 698 unsigned short cl_class;/* see below */
587} __attribute__((aligned(8))) ; 699} __attribute__((aligned(8))) ;
588 700
589#endif /* __ASSEMBLY__ */
590
591/* cl_class
592 * page 3-33 of IO-Firmware ARS
593 * IODC ENTRY_INIT(Search first) RET[1]
594 */
595#define CL_NULL 0 /* invalid */
596#define CL_RANDOM 1 /* random access (as disk) */
597#define CL_SEQU 2 /* sequential access (as tape) */
598#define CL_DUPLEX 7 /* full-duplex point-to-point (RS-232, Net) */
599#define CL_KEYBD 8 /* half-duplex console (HIL Keyboard) */
600#define CL_DISPL 9 /* half-duplex console (display) */
601#define CL_FC 10 /* FiberChannel access media */
602
603#if 0
604/* FIXME: DEVCLASS_* duplicates CL_* (above). Delete DEVCLASS_*? */
605#define DEVCLASS_RANDOM 1
606#define DEVCLASS_SEQU 2
607#define DEVCLASS_DUPLEX 7
608#define DEVCLASS_KEYBD 8
609#define DEVCLASS_DISP 9
610#endif
611
612/* IODC ENTRY_INIT() */
613#define ENTRY_INIT_SRCH_FRST 2
614#define ENTRY_INIT_SRCH_NEXT 3
615#define ENTRY_INIT_MOD_DEV 4
616#define ENTRY_INIT_DEV 5
617#define ENTRY_INIT_MOD 6
618#define ENTRY_INIT_MSG 9
619
620/* IODC ENTRY_IO() */
621#define ENTRY_IO_BOOTIN 0
622#define ENTRY_IO_BOOTOUT 1
623#define ENTRY_IO_CIN 2
624#define ENTRY_IO_COUT 3
625#define ENTRY_IO_CLOSE 4
626#define ENTRY_IO_GETMSG 9
627#define ENTRY_IO_BBLOCK_IN 16
628#define ENTRY_IO_BBLOCK_OUT 17
629
630/* IODC ENTRY_SPA() */
631
632/* IODC ENTRY_CONFIG() */
633
634/* IODC ENTRY_TEST() */
635
636/* IODC ENTRY_TLB() */
637
638
639/* DEFINITION OF THE ZERO-PAGE (PAG0) */
640/* based on work by Jason Eckhardt (jason@equator.com) */
641
642#ifndef __ASSEMBLY__
643
644#define PAGE0 ((struct zeropage *)__PAGE_OFFSET)
645
646struct zeropage { 701struct zeropage {
647 /* [0x000] initialize vectors (VEC) */ 702 /* [0x000] initialize vectors (VEC) */
648 unsigned int vec_special; /* must be zero */ 703 unsigned int vec_special; /* must be zero */
@@ -699,93 +754,6 @@ struct zeropage {
699 __u32 pad608[126]; 754 __u32 pad608[126];
700}; 755};
701 756
702#endif /* __ASSEMBLY__ */ 757#endif /* !defined(__ASSEMBLY__) */
703
704/* Page Zero constant offsets used by the HPMC handler */
705
706#define BOOT_CONSOLE_HPA_OFFSET 0x3c0
707#define BOOT_CONSOLE_SPA_OFFSET 0x3c4
708#define BOOT_CONSOLE_PATH_OFFSET 0x3a8
709
710#ifndef __ASSEMBLY__
711void pdc_console_init(void); /* in pdc_console.c */
712void pdc_console_restart(void);
713
714void setup_pdc(void); /* in inventory.c */
715
716/* wrapper-functions from pdc.c */
717
718int pdc_add_valid(unsigned long address);
719int pdc_chassis_info(struct pdc_chassis_info *chassis_info, void *led_info, unsigned long len);
720int pdc_chassis_disp(unsigned long disp);
721int pdc_chassis_warn(unsigned long *warn);
722int pdc_coproc_cfg(struct pdc_coproc_cfg *pdc_coproc_info);
723int pdc_iodc_read(unsigned long *actcnt, unsigned long hpa, unsigned int index,
724 void *iodc_data, unsigned int iodc_data_size);
725int pdc_system_map_find_mods(struct pdc_system_map_mod_info *pdc_mod_info,
726 struct pdc_module_path *mod_path, long mod_index);
727int pdc_system_map_find_addrs(struct pdc_system_map_addr_info *pdc_addr_info,
728 long mod_index, long addr_index);
729int pdc_model_info(struct pdc_model *model);
730int pdc_model_sysmodel(char *name);
731int pdc_model_cpuid(unsigned long *cpu_id);
732int pdc_model_versions(unsigned long *versions, int id);
733int pdc_model_capabilities(unsigned long *capabilities);
734int pdc_cache_info(struct pdc_cache_info *cache);
735int pdc_spaceid_bits(unsigned long *space_bits);
736#ifndef CONFIG_PA20
737int pdc_btlb_info(struct pdc_btlb_info *btlb);
738int pdc_mem_map_hpa(struct pdc_memory_map *r_addr, struct pdc_module_path *mod_path);
739#endif /* !CONFIG_PA20 */
740int pdc_lan_station_id(char *lan_addr, unsigned long net_hpa);
741
742int pdc_stable_read(unsigned long staddr, void *memaddr, unsigned long count);
743int pdc_stable_write(unsigned long staddr, void *memaddr, unsigned long count);
744int pdc_stable_get_size(unsigned long *size);
745int pdc_stable_verify_contents(void);
746int pdc_stable_initialize(void);
747
748int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa);
749int pdc_pci_irt(unsigned long num_entries, unsigned long hpa, void *tbl);
750
751int pdc_get_initiator(struct hardware_path *, struct pdc_initiator *);
752int pdc_tod_read(struct pdc_tod *tod);
753int pdc_tod_set(unsigned long sec, unsigned long usec);
754
755#ifdef CONFIG_64BIT
756int pdc_mem_mem_table(struct pdc_memory_table_raddr *r_addr,
757 struct pdc_memory_table *tbl, unsigned long entries);
758#endif
759
760void set_firmware_width(void);
761int pdc_do_firm_test_reset(unsigned long ftc_bitmap);
762int pdc_do_reset(void);
763int pdc_soft_power_info(unsigned long *power_reg);
764int pdc_soft_power_button(int sw_control);
765void pdc_io_reset(void);
766void pdc_io_reset_devices(void);
767int pdc_iodc_getc(void);
768void pdc_iodc_putc(unsigned char c);
769void pdc_iodc_outc(unsigned char c);
770void pdc_printf(const char *fmt, ...);
771
772void pdc_emergency_unlock(void);
773int pdc_sti_call(unsigned long func, unsigned long flags,
774 unsigned long inptr, unsigned long outputr,
775 unsigned long glob_cfg);
776
777static inline char * os_id_to_string(u16 os_id) {
778 switch(os_id) {
779 case OS_ID_NONE: return "No OS";
780 case OS_ID_HPUX: return "HP-UX";
781 case OS_ID_MPEXL: return "MPE-iX";
782 case OS_ID_OSF: return "OSF";
783 case OS_ID_HPRT: return "HP-RT";
784 case OS_ID_NOVEL: return "Novell Netware";
785 case OS_ID_LINUX: return "Linux";
786 default: return "Unknown";
787 }
788}
789#endif /* __ASSEMBLY__ */
790 758
791#endif /* _PARISC_PDC_H */ 759#endif /* _PARISC_PDC_H */
diff --git a/include/asm-parisc/pgtable.h b/include/asm-parisc/pgtable.h
index 9ab79c8e5a41..cd0fa4f73320 100644
--- a/include/asm-parisc/pgtable.h
+++ b/include/asm-parisc/pgtable.h
@@ -49,14 +49,6 @@
49#define pgd_ERROR(e) \ 49#define pgd_ERROR(e) \
50 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e)) 50 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, (unsigned long)pgd_val(e))
51 51
52 /* Note: If you change ISTACK_SIZE, you need to change the corresponding
53 * values in vmlinux.lds and vmlinux64.lds (init_istack section). Also,
54 * the "order" and size need to agree.
55 */
56
57#define ISTACK_SIZE 32768 /* Interrupt Stack Size */
58#define ISTACK_ORDER 3
59
60/* This is the size of the initially mapped kernel memory */ 52/* This is the size of the initially mapped kernel memory */
61#ifdef CONFIG_64BIT 53#ifdef CONFIG_64BIT
62#define KERNEL_INITIAL_ORDER 24 /* 0 to 1<<24 = 16MB */ 54#define KERNEL_INITIAL_ORDER 24 /* 0 to 1<<24 = 16MB */
@@ -325,27 +317,27 @@ static inline void pgd_clear(pgd_t *pgd) {
325 * setup: the pgd is never bad, and a pmd always exists (as it's folded 317 * setup: the pgd is never bad, and a pmd always exists (as it's folded
326 * into the pgd entry) 318 * into the pgd entry)
327 */ 319 */
328extern inline int pgd_none(pgd_t pgd) { return 0; } 320static inline int pgd_none(pgd_t pgd) { return 0; }
329extern inline int pgd_bad(pgd_t pgd) { return 0; } 321static inline int pgd_bad(pgd_t pgd) { return 0; }
330extern inline int pgd_present(pgd_t pgd) { return 1; } 322static inline int pgd_present(pgd_t pgd) { return 1; }
331extern inline void pgd_clear(pgd_t * pgdp) { } 323static inline void pgd_clear(pgd_t * pgdp) { }
332#endif 324#endif
333 325
334/* 326/*
335 * The following only work if pte_present() is true. 327 * The following only work if pte_present() is true.
336 * Undefined behaviour if not.. 328 * Undefined behaviour if not..
337 */ 329 */
338extern inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } 330static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; }
339extern inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } 331static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; }
340extern inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } 332static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; }
341extern inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } 333static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; }
342 334
343extern inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } 335static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; }
344extern inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } 336static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; }
345extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } 337static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; }
346extern inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } 338static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; }
347extern inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } 339static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; }
348extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_WRITE; return pte; } 340static inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) |= _PAGE_WRITE; return pte; }
349 341
350/* 342/*
351 * Conversion functions: convert a page and protection to a page entry, 343 * Conversion functions: convert a page and protection to a page entry,
@@ -369,7 +361,7 @@ static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
369 return pte; 361 return pte;
370} 362}
371 363
372extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 364static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
373{ pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } 365{ pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; }
374 366
375/* Permanent address of a page. On parisc we don't have highmem. */ 367/* Permanent address of a page. On parisc we don't have highmem. */
diff --git a/include/asm-parisc/prefetch.h b/include/asm-parisc/prefetch.h
index 5d021726fa33..c5edc60c059f 100644
--- a/include/asm-parisc/prefetch.h
+++ b/include/asm-parisc/prefetch.h
@@ -19,7 +19,7 @@
19#ifdef CONFIG_PREFETCH 19#ifdef CONFIG_PREFETCH
20 20
21#define ARCH_HAS_PREFETCH 21#define ARCH_HAS_PREFETCH
22extern inline void prefetch(const void *addr) 22static inline void prefetch(const void *addr)
23{ 23{
24 __asm__("ldw 0(%0), %%r0" : : "r" (addr)); 24 __asm__("ldw 0(%0), %%r0" : : "r" (addr));
25} 25}
@@ -27,7 +27,7 @@ extern inline void prefetch(const void *addr)
27/* LDD is a PA2.0 addition. */ 27/* LDD is a PA2.0 addition. */
28#ifdef CONFIG_PA20 28#ifdef CONFIG_PA20
29#define ARCH_HAS_PREFETCHW 29#define ARCH_HAS_PREFETCHW
30extern inline void prefetchw(const void *addr) 30static inline void prefetchw(const void *addr)
31{ 31{
32 __asm__("ldd 0(%0), %%r0" : : "r" (addr)); 32 __asm__("ldd 0(%0), %%r0" : : "r" (addr));
33} 33}
diff --git a/include/asm-parisc/rtc.h b/include/asm-parisc/rtc.h
index f4ebff11dcbd..099d641a42c2 100644
--- a/include/asm-parisc/rtc.h
+++ b/include/asm-parisc/rtc.h
@@ -50,10 +50,10 @@ static inline unsigned int get_rtc_time(struct rtc_time *wtime)
50 long int days, rem, y; 50 long int days, rem, y;
51 const unsigned short int *ip; 51 const unsigned short int *ip;
52 52
53 if(pdc_tod_read(&tod_data) < 0) 53 memset(wtime, 0, sizeof(*wtime));
54 if (pdc_tod_read(&tod_data) < 0)
54 return RTC_24H | RTC_BATT_BAD; 55 return RTC_24H | RTC_BATT_BAD;
55 56
56
57 // most of the remainder of this function is: 57 // most of the remainder of this function is:
58// Copyright (C) 1991, 1993, 1997, 1998 Free Software Foundation, Inc. 58// Copyright (C) 1991, 1993, 1997, 1998 Free Software Foundation, Inc.
59// This was originally a part of the GNU C Library. 59// This was originally a part of the GNU C Library.
diff --git a/include/asm-parisc/semaphore.h b/include/asm-parisc/semaphore.h
index b771dcfcfdd1..a16271cdc748 100644
--- a/include/asm-parisc/semaphore.h
+++ b/include/asm-parisc/semaphore.h
@@ -54,7 +54,7 @@ struct semaphore {
54 54
55#define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name,1) 55#define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name,1)
56 56
57extern inline void sema_init (struct semaphore *sem, int val) 57static inline void sema_init (struct semaphore *sem, int val)
58{ 58{
59 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 59 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val);
60} 60}
@@ -82,7 +82,7 @@ asmlinkage void __up(struct semaphore * sem);
82 * interrupts while we're messing with the semaphore. Sorry. 82 * interrupts while we're messing with the semaphore. Sorry.
83 */ 83 */
84 84
85extern __inline__ void down(struct semaphore * sem) 85static inline void down(struct semaphore * sem)
86{ 86{
87 might_sleep(); 87 might_sleep();
88 spin_lock_irq(&sem->sentry); 88 spin_lock_irq(&sem->sentry);
@@ -94,7 +94,7 @@ extern __inline__ void down(struct semaphore * sem)
94 spin_unlock_irq(&sem->sentry); 94 spin_unlock_irq(&sem->sentry);
95} 95}
96 96
97extern __inline__ int down_interruptible(struct semaphore * sem) 97static inline int down_interruptible(struct semaphore * sem)
98{ 98{
99 int ret = 0; 99 int ret = 0;
100 might_sleep(); 100 might_sleep();
@@ -112,7 +112,7 @@ extern __inline__ int down_interruptible(struct semaphore * sem)
112 * down_trylock returns 0 on success, 1 if we failed to get the lock. 112 * down_trylock returns 0 on success, 1 if we failed to get the lock.
113 * May not sleep, but must preserve irq state 113 * May not sleep, but must preserve irq state
114 */ 114 */
115extern __inline__ int down_trylock(struct semaphore * sem) 115static inline int down_trylock(struct semaphore * sem)
116{ 116{
117 unsigned long flags; 117 unsigned long flags;
118 int count; 118 int count;
@@ -129,7 +129,7 @@ extern __inline__ int down_trylock(struct semaphore * sem)
129 * Note! This is subtle. We jump to wake people up only if 129 * Note! This is subtle. We jump to wake people up only if
130 * the semaphore was negative (== somebody was waiting on it). 130 * the semaphore was negative (== somebody was waiting on it).
131 */ 131 */
132extern __inline__ void up(struct semaphore * sem) 132static inline void up(struct semaphore * sem)
133{ 133{
134 unsigned long flags; 134 unsigned long flags;
135 135
diff --git a/include/asm-parisc/unistd.h b/include/asm-parisc/unistd.h
index f74099bdca3c..081b4ae61866 100644
--- a/include/asm-parisc/unistd.h
+++ b/include/asm-parisc/unistd.h
@@ -797,8 +797,9 @@
797#define __NR_signalfd (__NR_Linux + 302) 797#define __NR_signalfd (__NR_Linux + 302)
798#define __NR_timerfd (__NR_Linux + 303) 798#define __NR_timerfd (__NR_Linux + 303)
799#define __NR_eventfd (__NR_Linux + 304) 799#define __NR_eventfd (__NR_Linux + 304)
800#define __NR_fallocate (__NR_Linux + 305)
800 801
801#define __NR_Linux_syscalls (__NR_eventfd + 1) 802#define __NR_Linux_syscalls (__NR_fallocate + 1)
802 803
803 804
804#define __IGNORE_select /* newselect */ 805#define __IGNORE_select /* newselect */
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index 28e480c8100f..d716b76098bb 100755
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -13,6 +13,7 @@
13# Random bits by Matt Mackall <mpm@selenic.com> 13# Random bits by Matt Mackall <mpm@selenic.com>
14# M68k port by Geert Uytterhoeven and Andreas Schwab 14# M68k port by Geert Uytterhoeven and Andreas Schwab
15# AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com> 15# AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com>
16# PARISC port by Kyle McMartin <kyle@parisc-linux.org>
16# 17#
17# Usage: 18# Usage:
18# objdump -d vmlinux | scripts/checkstack.pl [arch] 19# objdump -d vmlinux | scripts/checkstack.pl [arch]
@@ -61,6 +62,8 @@ my (@stack, $re, $x, $xs);
61 } elsif ($arch eq 'mips') { 62 } elsif ($arch eq 'mips') {
62 #88003254: 27bdffe0 addiu sp,sp,-32 63 #88003254: 27bdffe0 addiu sp,sp,-32
63 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o; 64 $re = qr/.*addiu.*sp,sp,-(([0-9]{2}|[3-9])[0-9]{2})/o;
65 } elsif ($arch eq 'parisc' || $arch eq 'parisc64') {
66 $re = qr/.*ldo ($x{1,8})\(sp\),sp/o;
64 } elsif ($arch eq 'ppc') { 67 } elsif ($arch eq 'ppc') {
65 #c00029f4: 94 21 ff 30 stwu r1,-208(r1) 68 #c00029f4: 94 21 ff 30 stwu r1,-208(r1)
66 $re = qr/.*stwu.*r1,-($x{1,8})\(r1\)/o; 69 $re = qr/.*stwu.*r1,-($x{1,8})\(r1\)/o;