linux/arch/powerpc/sysdev
Michael Ellerman 83f34df4e7 Add dcr_host_t.base in dcr_read()/dcr_write()
Now that all users of dcr_read()/dcr_write() add the dcr_host_t.base, we
can save them the trouble and do it in dcr_read()/dcr_write().

As some background to why we just went through all this jiggery-pokery,
benh sayeth:

 Initially the goal of the dcr_read/dcr_write routines was to operate like
 mfdcr/mtdcr which take absolute DCR numbers. The reason is that on 4xx
 hardware, indirect DCR access is a pain (goes through a table of
 instructions) and it's useful to have the compiler resolve an absolute DCR
 inline.

 We decided that wasn't worth the API bastardisation since most places
 where absolute DCR values are used are low level 4xx-only code which may
 as well continue using mfdcr/mtdcr, while the new API is designed for
 device "instances" that can exist on 4xx and Axon type platforms and may
 be located at variable DCR offsets.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-15 14:29:49 -04:00
..
qe_lib [POWERPC] QE: pario - support for MPC85xx layout 2007-10-08 08:39:01 -05:00
axonram.c missed bio_endio() in axonram 2007-10-11 23:04:25 -07:00
commproc.c [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
commproc.h [POWERPC] 8xx: Infrastructure code cleanup. 2007-10-03 20:36:35 -05:00
cpm2_common.c [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
cpm2_pic.c [POWERPC] cpm2: Infrastructure code cleanup. 2007-10-04 11:02:04 -05:00
cpm2_pic.h [POWERPC] cpm2: CPM2 interrupt controller fix 2007-02-07 14:03:20 +11:00
cpm_common.c [POWERPC] cpm: Describe multi-user ram in its own device node. 2007-10-04 15:47:05 -05:00
dart_iommu.c [POWERPC] Fix section mismatch in dart_iommu.c 2007-08-17 11:02:06 +10:00
dart.h [POWERPC] Use 4kB iommu pages even on 64kB-page systems 2006-11-01 14:52:48 +11:00
dcr-low.S [POWERPC] Generic DCR infrastructure 2006-12-04 16:08:25 +11:00
dcr.c [POWERPC] Store the base address in dcr_host_t 2007-10-03 13:25:27 +10:00
fsl_pci.c [POWERPC] FSL: Access PCIe LTSSM register with correct size 2007-10-08 08:38:37 -05:00
fsl_pci.h [POWERPC] Fixup resources on pci_bus for PCIe PHB when no device is connected 2007-07-23 10:27:08 -05:00
fsl_soc.c [POWERPC] spi: Support non-QE processors 2007-10-08 09:05:30 -05:00
fsl_soc.h [POWERPC] 85xx/86xx: refactor RSTCR reset code 2007-10-08 08:38:47 -05:00
grackle.c [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
i8259.c [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
indirect_pci.c [POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci 2007-10-12 14:05:17 +10:00
ipic.c [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
ipic.h [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
Makefile [POWERPC] Don't build arch/powerpc/sysdev/dcr.c for ARCH=ppc kernels 2007-10-10 09:14:35 -06:00
micropatch.c [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
mmio_nvram.c [POWERPC] Fix cell's mmio nvram to properly parse device tree 2007-01-22 21:27:35 +11:00
mpc8xx_pic.c [POWERPC] 8xx: Infrastructure code cleanup. 2007-10-03 20:36:35 -05:00
mpc8xx_pic.h [POWERPC] 8xx: mpc885ads pcmcia support 2007-07-10 00:33:51 -05:00
mpic_msi.c [POWERPC] Fix section mismatch in PCI code 2007-09-19 15:25:34 +10:00
mpic_u3msi.c [POWERPC] Inline u3msi_compose_msi_msg() 2007-10-03 09:11:42 +10:00
mpic.c Add dcr_host_t.base in dcr_read()/dcr_write() 2007-10-15 14:29:49 -04:00
mpic.h [POWERPC] Support setting affinity for U3/U4 MSI sources 2007-09-22 14:49:22 +10:00
mv64x60_dev.c [WATCHDOG] mv64x60_wdt: Add arch/powerpc platform support 2007-07-24 21:16:02 +00:00
mv64x60_pci.c [POWERPC] Make endianess of cfg_addr for indirect pci ops runtime 2007-07-23 22:29:09 -05:00
mv64x60_pic.c [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
mv64x60_udbg.c [POWERPC] Add Marvell mv64x60 udbg putc/getc functions 2007-09-22 14:49:21 +10:00
mv64x60.h [POWERPC] Add Marvell mv64x60 udbg putc/getc functions 2007-09-22 14:49:21 +10:00
pmi.c [POWERPC] Move of_platform_driver initialisations: arch/powerpc 2007-10-11 20:40:49 +10:00
rtc_cmos_setup.c [POWERPC] Add interrupt resource for RTC CMOS driver 2007-08-17 13:18:58 -05:00
tsi108_dev.c [POWERPC] Fix problems with device tree representation of TSI-1xx bridges 2007-06-14 22:30:17 +10:00
tsi108_pci.c [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
uic.c [POWERPC] Provide a default irq_host match, which matches on an exact of_node 2007-09-14 01:33:20 +10:00
xilinx_intc.c [POWERPC] Virtex: add xilinx interrupt controller driver 2007-10-03 07:23:14 -05:00