summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sparc: Add OF archdata propagation helper.David S. Miller2008-08-293-0/+46
| | | | | | | Add a helper function that, given a bus of_device node, propagates all iommu, stc, and host_controller values down to the child nodes. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill sbus_arch_preinit().David S. Miller2008-08-293-17/+3
| | | | | | | 32-bit sparc just needed it to register the ioport procfs bits, do this via an arch_initcall() instead. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Kill sbus_is_slave().David S. Miller2008-08-291-7/+0
| | | | | | Unused. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill OBP property members of sbus_dev and sbus_busDavid S. Miller2008-08-293-30/+1
| | | | | | Unused. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill sbus_devaddr() and sbus_dev_slot().David S. Miller2008-08-292-36/+0
| | | | | | Unused. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill sbus_ioremap() and sbus_iounmap().David S. Miller2008-08-294-39/+0
| | | | | | No more users. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Convert remaining sbus_ioremap() and sbus_iounmap() users.David S. Miller2008-08-296-14/+23
| | | | | | Use of_ioremap() and of_iounmap() instead. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Remove dinky old-style SBUS probing facilities.David S. Miller2008-08-295-42/+0
| | | | | | | No drivers or code uses this stuff any more, every driver has been converted over to OF device probing. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Remove SBUS layer resource and irq handling.David S. Miller2008-08-295-185/+1
| | | | | | | All the drivers use OF device objects now for this information. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill SBUS layer IRQ hooks.David S. Miller2008-08-298-148/+0
| | | | | | IRQs are obtained by drivers from the of_device struct. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Convert sun4d IRQ code to use generic device tree probing.David S. Miller2008-08-291-35/+48
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Convert pmc to OF driver.David S. Miller2008-08-291-29/+28
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Convert apc to OF driver.David S. Miller2008-08-291-34/+38
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Make mmu_map_dma_area and mmu_unmap_dma_area take a device pointer.David S. Miller2008-08-295-23/+19
| | | | | | | This lets us kill this "map it in every IOMMU" crazy code, and also some of the final references to sbus_root. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Kill mmu_translate_dvma and implementations.David S. Miller2008-08-294-34/+0
| | | | | | No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Kill mmu_translate_dvma() usage.David S. Miller2008-08-291-35/+1
| | | | | | | | Just simply use virt_to_page() on the provided virtual address pointer. Kill #if 0'd code. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert SBUS floppy probing to use OF device objects.David S. Miller2008-08-291-18/+27
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Convert uctrl driver to OF driver.David S. Miller2008-08-292-97/+121
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Convert flash driver to OF device probing.David S. Miller2008-08-291-80/+50
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* fore200e: Convert over to pure OF driver.David S. Miller2008-08-292-232/+189
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* cs4231: Convert SBUS side to OF driver.David S. Miller2008-08-291-28/+50
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* alsa: Remove special SBUS dma support code.David S. Miller2008-08-294-56/+2
| | | | | | No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
* cs4231: Use SNDRV_DMA_TYPE_DEV instead of SNDRV_DMA_TYPE_SBUS.David S. Miller2008-08-291-3/+3
| | | | | | | SBUS layer now uses dma_*() interfaces, no need for special DMA code any longer. Signed-off-by: David S. Miller <davem@davemloft.net>
* dbri: Convert to pure OF driver.David S. Miller2008-08-291-32/+27
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* amd7930: Convert to pure OF driver.David S. Miller2008-08-291-63/+20
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* qlogicpti: Convert to pure OF driver.David S. Miller2008-08-292-54/+56
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sun_esp: Convert to pure OF driver.David S. Miller2008-08-291-72/+64
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* parport_sunbpp: Convert to pure OF driver.David S. Miller2008-08-291-27/+20
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sunqe: Convert to pure OF driver.David S. Miller2008-08-292-80/+71
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sunlance: Convert to pure OF driver.David S. Miller2008-08-291-47/+40
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sunhme: Convert to pure OF driver.David S. Miller2008-08-292-154/+97
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sunbmac: Convert to pure OF driver.David S. Miller2008-08-292-88/+70
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* myri_sbus: Convert to pure OF driver.David S. Miller2008-08-292-89/+69
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move SBUS DMA attribute interfaces out of asm/sbus.hDavid S. Miller2008-08-2912-26/+54
| | | | | | | | | This is in preparation for the subsequent asm/sbus.h removal. Also, make these routines take a "struct device" or no arguments, as appropriate. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Convert all SBUS drivers to dma_*() interfaces.David S. Miller2008-08-2914-310/+206
| | | | | | | | | And all the SBUS dma interfaces are deleted. A private implementation remains inside of the 32-bit sparc port which exists only for the sake of the implementation of dma_*(). Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Implement more generic dma_*() interfaces.David S. Miller2008-08-295-6/+298
| | | | | | | | | These dispatch to either PCI or SBUS routines based upon the device bus type. This will allow us to let SBUS drivers call these routines. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Make mmu_{get,release}_*() take a struct device pointer.David S. Miller2008-08-294-53/+47
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Make SBUS DMA interfaces take struct device.David S. Miller2008-08-2916-156/+167
| | | | | | | This is the first step in converting all the SBUS drivers over to generic dma_*(). Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Propagate SBUS iommu archdata into real of_device objects.David S. Miller2008-08-291-4/+20
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Make IOMMU and IO-UNIT init work with device nodes.David S. Miller2008-08-295-40/+45
| | | | | | | | | | | And stick the iommu archdata pointer into the generic OF device tree of_device struct as well. We still have to pass the sbus_bus object down into the routines so that the SBUS bus objects get the iommu cookies set properly. After drivers get converted to being pure OF drivers, that can go away. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill SBUS DVMA layer.David S. Miller2008-08-2912-717/+246
| | | | | | | | | | | | | This thing was completely pointless. Just find the OF device in the parent of drivers that want to program this device, and map the DMA regs inside such drivers too. This also moves the dummy claim_dma_lock() and release_dma_lock() implementation to floppy_32.h, which makes it handle this issue just like floppy_64.h does. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill videopix SBUS driver.David S. Miller2008-08-298-1356/+0
| | | | | | | This has been marked BROKEN for a long time and it's more likely to get rewritten from scratch than to be fixed up and made usable. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Delete bare sbus char bpp driver, obsoleted by parport_sunbppDavid S. Miller2008-08-298-1141/+0
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Fix irq_of_parse_and_map() and irq_dispose_mapping().David S. Miller2008-08-253-6/+8
| | | | | | | | | | | | | | | Stephen Rothwell noticed that I committed an earlier version of the patch that didn't have two things fixed: 1) irq_of_parse_and_map() should return "unsigned int" not "int" and it should return zero for "no irq" 2) irq_dispose_mapping() should be an inline function, not a macro, for type checking With feedback and suggestions from Anton Vorontsov. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use the cond_syscall()s in kernel/sys_ni.c instead of home-grown copy.David S. Miller2008-08-252-20/+2
| | | | | | | This also allows arch/sparc64/kernel/pci.c to be properly CONFIG_PCI conditional compiled in the Makefile. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Add JBUS UltraSPARC-IIIi support to memory controller driver.David S. Miller2008-08-251-83/+453
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Allow chmc to be built as a module.David S. Miller2008-08-244-2/+17
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Add generic interface for registering a dimm printing handler.David S. Miller2008-08-243-13/+79
| | | | | | | | | | | | | The way to do this varies by platform type and the exact memory controller the cpu uses. For Spitfire cpus we currently just use prom_getunumber() and hope that works. For Cheetah cpus we have a memory controller driver that can compute this information. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use consistent chmc_ prefix in variables, types, and functions.David S. Miller2008-08-241-117/+120
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert UltraSPARC-III memory controller driver to OF driver probing.David S. Miller2008-08-241-41/+78
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud