linux/arch/powerpc/kernel
Benjamin Herrenschmidt 441cbd8dac [POWERPC] Fix various offb issues
This patch fixes a few issues in offb:

 - A test was inverted causing the palette hack to never work
(no device node was passed down to the init function)

 - Some cards seem to have their assigned-addresses property in a random
order, thus we need to try using of_get_pci_address() first, which will
fail if it's not a PCI device, and fallback to of_get_address() in that
case. of_get_pci_address() properly parsees assigned-addresses to test
the BAR number and thus will get it right whatever the order is.

 - Some cards (like GXT4500) provide a linebytes of 0xffffffff in the
device-tree which does no good. This patch handles that by using the
screen width when that happens. (Also fixes btext.c while at it).

 - Add detection of the GXT4500 in addition to the GXT2000 for the
palette hacks (we use the same hack, palette is linear in register space
at offset 0x6000).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-11-01 14:52:48 +11:00
..
vdso32 [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
vdso64 [POWERPC] Cell timebase bug workaround 2006-10-25 11:54:18 +10:00
align.c
asm-offsets.c
audit.c
binfmt_elf32.c
btext.c [POWERPC] Fix various offb issues 2006-11-01 14:52:48 +11:00
compat_audit.c
cpu_setup_6xx.S
cpu_setup_ppc970.S
cputable.c [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
crash_dump.c
crash.c
dma_64.c
entry_32.S
entry_64.S [POWERPC] implement BEGIN/END_FW_FTR_SECTION 2006-10-03 16:50:21 +10:00
firmware.c
fpu.S
head_4xx.S
head_8xx.S
head_32.S
head_44x.S
head_64.S [POWERPC] Make sure __cpu_preinit_ppc970 gets called on 970GX processors 2006-10-26 09:20:07 +10:00
head_booke.h
head_fsl_booke.S
ibmebus.c IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
idle_6xx.S
idle_power4.S
idle.c
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
io.c
iomap.c
iommu.c [POWERPC] Fix harmless typo 2006-10-06 21:10:40 +10:00
irq.c [PATCH] extern doesn't make sense on a definition of function... 2006-10-09 14:19:07 -07:00
kprobes.c [PATCH] kretprobe spinlock deadlock patch 2006-10-02 07:57:16 -07:00
l2cr_6xx.S
legacy_serial.c
lparcfg.c
lparmap.c
machine_kexec_32.c
machine_kexec_64.c
machine_kexec.c
Makefile
misc_32.S [POWERPC] Consolidate feature fixup code 2006-10-25 11:42:10 +10:00
misc_64.S [POWERPC] Consolidate feature fixup code 2006-10-25 11:42:10 +10:00
misc.S
module_32.c [POWERPC] Support feature fixups in modules 2006-10-25 11:54:13 +10:00
module_64.c [POWERPC] Support feature fixups in modules 2006-10-25 11:54:13 +10:00
nvram_64.c
of_device.c
paca.c
pci_32.c [POWERPC] Fix IO Window Updates on P2P bridges. 2006-10-16 15:53:30 +10:00
pci_64.c [POWERPC] Check for offline nodes in pci NUMA code 2006-10-16 15:53:30 +10:00
pci_direct_iommu.c
pci_dn.c
pci_iommu.c
perfmon_fsl_booke.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pmc.c
ppc32.h
ppc_ksyms.c
proc_ppc64.c
process.c [POWERPC] Better check in show_instructions 2006-10-16 15:53:30 +10:00
prom_init.c
prom_parse.c Revert "[POWERPC] Don't get PCI IRQ from OF for devices with no IRQ" 2006-10-08 15:38:22 -07:00
prom.c [POWERPC] Fix device_is_compatible() const warning 2006-10-25 11:54:24 +10:00
ptrace32.c
ptrace-common.h
ptrace.c
rtas_flash.c
rtas_pci.c
rtas-proc.c
rtas-rtc.c
rtas.c
semaphore.c
setup_32.c [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
setup_64.c [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
setup-common.c [POWERPC] Fix xmon=off and cleanup xmon initialisation 2006-10-04 14:52:22 +10:00
setup.h
signal_32.c
signal_64.c
smp-tbsync.c
smp.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
swsusp_32.S [PATCH] Change the name of pagedir_nosave 2006-09-26 08:49:01 -07:00
sys_ppc32.c [PATCH] VFS: Make filldir_t and struct kstat deal in 64-bit inode numbers 2006-10-03 08:03:40 -07:00
syscalls.c [PATCH] namespaces: utsname: switch to using uts namespaces 2006-10-02 07:57:21 -07:00
sysfs.c
systbl.S
tau_6xx.c
time.c [POWERPC] Simplify stolen time calculation 2006-10-23 18:20:12 +10:00
traps.c [POWERPC] Never panic when taking altivec exceptions from userspace 2006-10-16 15:53:30 +10:00
udbg_16550.c
udbg.c
vdso.c [POWERPC] Support feature fixups in vdso's 2006-10-25 11:54:07 +10:00
vecemu.c
vector.S
vio.c
vmlinux.lds.S [PATCH] vmlinux.lds: consolidate initcall sections 2006-10-27 15:34:51 -07:00