summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rtc-m48t59: add support for M48T02 and M48T59 chipsKrzysztof Helt2008-09-033-30/+69
| | | | | | | | | | | | | | | | Add support for two compatible RTC: - M48T08 which does not have alarm part, - M48T08 which does not have alarm part and has only 2KB of NVRAM These types covers all Mostek's RTC used in Sun UltraSparc workstations. Tested on Sun Ultra60 with M48T59 RTC. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* rtc-m48t59: reduce structure m48t59_privateKrzysztof Helt2008-09-031-3/+1
| | | | | | | | | | Remove element size from the structure m48t59_private as it is used as local variable for storing temporary value. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Fix handling of LANCE and ESP parent nodes in of_device.cDavid S. Miller2008-09-032-5/+32
| | | | | | | | | | The device nodes that sit above 'esp' and 'le' on SBUS lack a 'ranges' property, but we should pass the translation up to the parent node so that the SBUS level ranges get applied. Based upon a bug report from Robert Reif. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Fix sun4c build warnings.David S. Miller2008-09-021-4/+4
| | | | | | Reported by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
* pci_sun4v: Use of_get_property().David S. Miller2008-09-021-14/+7
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* pci_schizo: Use of_get_property() and delete spurious local vars.David S. Miller2008-09-021-17/+8
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* pci_psycho: Use of_getintprop_default().David S. Miller2008-09-021-14/+3
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Implement SSTATE purely using notifiers and initcalls.David S. Miller2008-09-026-52/+45
| | | | | | | Don't clutter up the tree with sstate_blah() scattered all over the place. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Move reboot handling into seperate file and kill power reg programming.David S. Miller2008-09-025-77/+57
| | | | | | We should always use prom_power_off(). Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Pass proper parent device down into root pci_create_bus() call.David S. Miller2008-09-016-39/+45
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Kill the scan_bus function pointer in struct pci_pbm_info.David S. Miller2008-09-011-2/+2
| | | | | | No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use ENTRY/ENDPROC in PCI SUN4V asm.David S. Miller2008-09-011-49/+50
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use ENTRY/ENDPROC in hypervisor asm.David S. Miller2008-09-012-236/+119
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Apply const or __initdata to vio_device_id[]David S. Miller2008-09-013-6/+6
| | | | | | | | This mirrors the of_device_id[] changes done in fd098316ef533e8441576f020ead4beab93154ce ("sparc: Annotate of_device_id arrays with const or __initdata.") Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Clean up CPU chip type probing code.David S. Miller2008-08-314-104/+111
| | | | | | | | | | | | | Three main things: 1) Make prober an arch initcall instead of using hard-coded invocation from paging_init() 2) Shrink table size, the fpu ident stuff was never used. 3) Use named struct initialized in table. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: remove CONFIG_SUN4Adrian Bunk2008-08-3139-1068/+82
| | | | | | | | | | | | | | While doing some easy cleanups on the sparc code I noticed that the CONFIG_SUN4 code seems to be worse than the rest - there were some "I don't know how it should work, but the current code definitely cannot work." places. And while I have seen people running Linux on machines like a SPARCstation 5 a few years ago I don't recall having seen sun4 machines, even less ones running Linux. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Rewrite central driver.David S. Miller2008-08-314-451/+214
| | | | | | | | | | | This driver is now limited to just doing the basic clock board and FHC chip initialization and registering the platform devices for the per-board LEDs, which are driven by the new LEDS_STARFIRE driver. The IRQ register handling is already confined purely to the device tree code. Signed-off-by: David S. Miller <davem@davemloft.net>
* leds: Add driver for Sunfire UltraSPARC server LEDs.David S. Miller2008-08-313-0/+282
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Delete starfire_cpu_setup().David S. Miller2008-08-313-10/+1
| | | | | | It does nothing. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Simplify error handling in PCI controller probing.David S. Miller2008-08-315-62/+68
| | | | | | Based upon suggestions from Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Annotate of_device_id arrays with const or __initdata.David S. Miller2008-08-3150-53/+53
| | | | | | As suggested by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Stop setting NO_DMA.David S. Miller2008-08-301-3/+0
| | | | | | | | | | This fixes the build with PCI disabled, we do want the generic DMA facilities and interfaces even when just SBUS is enabled. Based upon a build failure report by Robert Reif. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert FIRE PCI controller driver into a real driver.David S. Miller2008-08-302-118/+58
| | | | | | And now all the by-hand PCI controller probing junk in pci.c can die too. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert SABRE PCI controller driver into a real driver.David S. Miller2008-08-302-45/+85
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert PSYCHO PCI controller driver into a real driver.David S. Miller2008-08-302-28/+70
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert SUN4V PCI controller driver into a real driver.David S. Miller2008-08-302-42/+83
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert SCHIZO PCI controller driver into a real driver.David S. Miller2008-08-302-48/+84
| | | | | | | | The idea is to convert all of the PCI controller drivers into genuine OF drivers, then we can get rid of this terrible probing table and infrastructure in arch/sparc64/kernel/pci.c Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Don't invoke power_init() from pcibios_init().David S. Miller2008-08-302-15/+5
| | | | | | That's just silly, use device_initcall() instead. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill ebus_bus_type.David S. Miller2008-08-303-22/+0
| | | | | | No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Kill EBUS driver layer.David S. Miller2008-08-3011-877/+6
| | | | | | | All that remains is the EBUS DMA programming library for sparc64. Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc32: Convert PC RTC probing to pure OF driver.David S. Miller2008-08-301-13/+17
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* cs4231: Convert to EBUS side to pure OF driver.David S. Miller2008-08-301-118/+54
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Convert EBUS floppy support to pure OF driver.David S. Miller2008-08-291-50/+36
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc: Move EBUS DMA interfaces into seperate header file.David S. Miller2008-08-296-32/+39
| | | | | | | | These have no dependencies on the EBUS probing layer, the clients setup the registers and all of those details. The EBUS DMA layer just programs and manages the DMA controller found in EBUS. Signed-off-by: David S. Miller <davem@davemloft.net>
* bbc_envctrl: Fix build errors from bbc_i2c OF conversion.David S. Miller2008-08-291-3/+3
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Propagate PCI device archdata into OF device tree for EBUS.David S. Miller2008-08-291-2/+6
| | | | | | | | | | In order to convert EBUS drivers doing DMA into pure OF drivers, we need the of_device->dev.archdata setup properly. EBUS instances that can provide DMA for device nodes sit on PCI, so detect and propagate the information there. Signed-off-by: David S. Miller <davem@davemloft.net>
* bbc_i2c: Convert to pure OF driver.David S. Miller2008-08-293-249/+214
| | | | | | | | | This thing was a mess, who wrote this junk? :) Luckily we'll soon have nice generic I2C layer drivers for this PCF based I2C stuff on sparc64. Signed-off-by: David S. Miller <davem@davemloft.net>
* envctrl: Convert to pure OF driver.David S. Miller2008-08-291-68/+79
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* display7seg: Convert to pure OF device driver.David S. Miller2008-08-291-105/+146
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sun_uflash: Convert to pure OF driver.David S. Miller2008-08-291-38/+35
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* cpwatchdog: Move to drivers/watchdog/cpwd.cDavid S. Miller2008-08-293-2/+2
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* cpwatchdog: Cleanup and convert to pure OF driver.David S. Miller2008-08-291-599/+436
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* riowd: Distinguish between driver name and OF device node name.David S. Miller2008-08-291-5/+5
| | | | | | | Driver messages should print the driver name, rather than the OF device node name. Signed-off-by: David S. Miller <davem@davemloft.net>
* riowatchdog: Move under drivers/watchdogDavid S. Miller2008-08-293-2/+3
| | | | | | The config stuff was already in drivers/watchdog/Kconfig Signed-off-by: David S. Miller <davem@davemloft.net>
* riowatchdog: Convert to pure OF driver.David S. Miller2008-08-291-135/+99
| | | | | | | | | | | | | | This also cleans up a lot of crud in this driver: 1) Don't touch the BBC regs, just leave the watchdog trigger behavior whatever the firmware programmed it to. 2) Use WATCHDOG_MINOR instead of hardcoded and not properly allocated RIOWD_MINOR. Hey, I haven't touched it since I wrote it years ago :-) Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use generic starfire RTC driver.David S. Miller2008-08-292-285/+9
| | | | | | Also, delete the mini RTC driver, no longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
* rtc: Add Starfire platform RTC driver.David S. Miller2008-08-293-0/+128
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use generic sun4v RTC driver.David S. Miller2008-08-292-75/+9
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* rtc: Add Sun4V hypervisor RTC driver.David S. Miller2008-08-293-0/+161
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
* sparc64: Use generic BQ4802 RTC driver.David S. Miller2008-08-292-190/+12
| | | | Signed-off-by: David S. Miller <davem@davemloft.net>
OpenPOWER on IntegriCloud