android_kernel_xiaomi_sm8350/arch/powerpc/kernel
Olaf Hering 556ecf9be6 [POWERPC] Advertise correct IDE mode on Pegasos2
The built-in IDE controller is configured in legacy mode, but the PCI
registers advertise native mode.  Force the PCI class into legacy
mode. This allows pata_via to access two drives.

The Pegasos specific irq enforcement in the via82cxxx driver must stay
because there is apparently no generic way to setup irq per channel.

Tested on Pegasos2 with firmware version 20040810, and two IDE disks.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-08-22 15:21:46 +10:00
..
vdso32 [POWERPC] Fix VDSO gettimeofday() when called with NULL struct timeval 2007-06-26 14:41:19 +10:00
vdso64 Fix VDSO gettimeofday() when called with NULL struct timeval. 2007-06-29 21:27:00 -07:00
align.c [POWERPC] Handle alignment faults on new FP load/store instructions 2007-08-17 11:01:55 +10:00
asm-offsets.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-05-09 12:56:01 -07:00
audit.c [PATCH] audit signal recipients 2007-05-11 05:38:25 -04:00
binfmt_elf32.c
btext.c [POWERPC] Clean out a bunch of duplicate includes 2007-08-17 11:01:51 +10:00
compat_audit.c [PATCH] add SIGNAL syscall class (v3) 2007-05-11 05:38:25 -04:00
cpu_setup_6xx.S
cpu_setup_pa6t.S
cpu_setup_ppc970.S
cputable.c [POWERPC] Oprofile support for Power 5++ 2007-07-11 13:21:46 +10:00
crash_dump.c [POWERPC] Fix section mismatch in crash_dump.c 2007-08-17 11:02:06 +10:00
crash.c [POWERPC] Clean out a bunch of duplicate includes 2007-08-17 11:01:51 +10:00
dma_64.c
entry_32.S [POWERPC] Fix COMMON symbol warnings 2007-05-17 21:10:15 +10:00
entry_64.S [POWERPC] Fixes for the SLB shadow buffer code 2007-08-03 19:36:01 +10:00
firmware.c
fpu.S
head_8xx.S
head_32.S [POWERPC] Remove the dregs of APUS support from arch/powerpc 2007-06-14 22:30:15 +10:00
head_40x.S [POWERPC] Fix 40x build 2007-08-20 07:29:36 -05:00
head_44x.S
head_64.S [POWERPC] Fix more section mismatches in head_64.S 2007-08-10 21:04:41 +10:00
head_booke.h
head_fsl_booke.S
ibmebus.c
idle_6xx.S
idle_power4.S
idle.c
init_task.c
io.c [POWERPC] Move inline asm eieio to using eieio inline function 2007-07-10 00:33:14 -05:00
iomap.c [POWERPC] Make pci_iounmap actually unmap things 2007-07-26 16:17:48 +10:00
iommu.c [POWERPC] Clean out a bunch of duplicate includes 2007-08-17 11:01:51 +10:00
irq.c [POWREPC] Fixup a number of modpost warnings on ppc32 2007-07-26 00:16:21 -05:00
isa-bridge.c [POWERPC] Rewrite IO allocation & mapping on powerpc64 2007-06-14 22:29:56 +10:00
kprobes.c jprobes: make jprobes a little safer for users 2007-07-19 10:04:44 -07:00
l2cr_6xx.S
legacy_serial.c
lparcfg.c some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
lparmap.c [POWERPC] iSeries: suppress build warning in lparmap.c 2007-05-09 16:34:59 +10:00
machine_kexec_32.c
machine_kexec_64.c
machine_kexec.c
Makefile [POWERPC] Rename 4xx paths to 40x 2007-08-20 07:27:07 -05:00
misc_32.S [POWERPC] Fix small race in 44x tlbie function 2007-08-15 15:12:50 +10:00
misc_64.S [POWERPC] kexec: Send slaves to new kernel earlier 2007-06-25 16:55:16 +10:00
misc.S
module_32.c
module_64.c
msi.c
nvram_64.c [POWERPC] pseries: Eliminate global error_log_cnt variable 2007-08-17 11:01:52 +10:00
of_device.c Begin to consolidate of_device.c 2007-07-20 13:39:59 +10:00
of_platform.c Create drivers/of/platform.c 2007-07-20 14:25:51 +10:00
paca.c
pci_32.c [POWERPC] null_pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
pci_64.c [POWERPC] Fix initialization and usage of dma_mask 2007-08-10 21:04:42 +10:00
pci_dn.c
pci-common.c Merge branch 'fixes-2.6.23' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into merge 2007-07-26 16:43:24 +10:00
pmc.c [POWERPC] Fix typo: MMCR0_PMA0 != MMCR0_PMAO 2007-05-22 20:20:56 +10:00
ppc32.h
ppc_ksyms.c [POWERPC] Fix 40x build 2007-08-20 07:29:36 -05:00
proc_ppc64.c
process.c [POWERPC] Fix register labels on show_regs() message for 4xx/Book-E 2007-07-26 00:46:15 -05:00
prom_init.c [POWERPC] Advertise correct IDE mode on Pegasos2 2007-08-22 15:21:46 +10:00
prom_parse.c Revert "[POWERPC] Don't complain if size-cells == 0 in prom_parse()" 2007-07-26 13:44:36 +10:00
prom.c [POWERPC] Clean out a bunch of duplicate includes 2007-08-17 11:01:51 +10:00
ptrace32.c [POWERPC] ptrace shouldn't touch FP exec mode 2007-06-14 22:29:57 +10:00
ptrace.c PTRACE_POKEDATA consolidation 2007-07-17 10:23:03 -07:00
rtas_flash.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
rtas_pci.c [POWERPC] rtas_pci_ops: Use named structure member initializers 2007-08-17 11:01:53 +10:00
rtas-proc.c [POWERPC] Fix ppc_rtas_progress_show() 2007-05-17 21:11:15 +10:00
rtas-rtc.c
rtas.c
semaphore.c
setup_32.c [POWERPC] Merge CPU features pertaining to icache coherency 2007-06-14 22:30:16 +10:00
setup_64.c Revert "[POWERPC] Do firmware feature fixups after features are initialised" 2007-07-18 10:17:39 -07:00
setup-common.c [POWERPC] Fix Pegasos keyboard detection 2007-07-26 16:17:45 +10:00
setup.h
signal_32.c [POWERPC] Merge creation of signal frame 2007-06-14 22:29:58 +10:00
signal_64.c Merge branch 'for-2.6.23' into merge 2007-07-11 13:28:26 +10:00
signal.c [POWERPC] Less ifdef's in signal.c/signal.h 2007-06-14 22:29:58 +10:00
signal.h [POWERPC] Less ifdef's in signal.c/signal.h 2007-06-14 22:29:58 +10:00
smp-tbsync.c
smp.c [POWERPC] Fix num_cpus calculation in smp_call_function_map() 2007-08-03 19:36:00 +10:00
suspend.c
swsusp_32.S
swsusp_64.c
swsusp_asm64.S
swsusp.c powerpc: fixup hard_irq_disable semantics 2007-05-11 08:29:34 -07:00
sys_ppc32.c sys_fallocate() implementation on i386, x86_64 and powerpc 2007-07-17 21:42:44 -04:00
syscalls.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
sysfs.c [POWERPC] arch/powerpc/kernel/sysfs.c: Move NUMA exports 2007-07-10 22:00:57 +10:00
systbl.S
tau_6xx.c
time.c [POWERPC] 40x decrementer fixes 2007-08-20 07:29:11 -05:00
traps.c Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
udbg_16550.c
udbg.c [POWREPC] Fixup a number of modpost warnings on ppc32 2007-07-26 00:16:21 -05:00
vdso.c [POWERPC] Fix VDSO compile warning 2007-06-14 22:29:55 +10:00
vecemu.c
vector.S
vio.c
vmlinux.lds.S Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2007-07-19 14:28:19 -07:00