[SPARC64] PCI: Consolidate PCI access code into pci_common.c
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 9 May 2007 09:35:27 +0000 (02:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 9 May 2007 09:35:27 +0000 (02:35 -0700)
commitca3dd88e411648c76e1911a729440e3763ba5049
treee874ed0c1e91269aa514a443358d4f3738bcb244
parentde372ecd80a42c4fb485c7232475301a18d05184
[SPARC64] PCI: Consolidate PCI access code into pci_common.c

All the sun4u controllers do the same thing to compute the physical
I/O address to poke, and we can move the sun4v code into this common
location too.

This one needs a bit of testing, in particular the Sabre code had some
funny stuff that would break up u16 and/or u32 accesses into pieces
and I didn't think that was needed any more.  If it is we need to find
out why and add back code to do it again.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_common.c
arch/sparc64/kernel/pci_fire.c
arch/sparc64/kernel/pci_impl.h
arch/sparc64/kernel/pci_psycho.c
arch/sparc64/kernel/pci_sabre.c
arch/sparc64/kernel/pci_schizo.c
arch/sparc64/kernel/pci_sun4v.c