]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: pci_address_to_pio fix
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 15 Dec 2005 04:00:57 +0000 (15:00 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:05:56 +0000 (15:05 +1100)
commitf2c4583a381c584c8c025048071a120cc9562ded
tree53d6a1d30a3be72f021738c97853cff55a800070
parenta04c8780fd234aeeba5e87f7e37beffd05ef21ae
[PATCH] powerpc: pci_address_to_pio fix

This fixes pci_address_to_pio() to return an unsigned long (to be safe)
and fixes a bug in the implementation that caused it to return a bogus
IO port number

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_64.c
arch/powerpc/kernel/prom_parse.c
arch/ppc/kernel/pci.c
include/asm-powerpc/pci-bridge.h
include/asm-ppc/pci-bridge.h