Skip to content

: Rewrite central driver

David Miller sparclinux 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2: leds: Add driver for Sunfire UltraSPARC server LEDs.drivers/leds/Kconfig drivers/leds/Makefile drivers/leds/leds-sunfire.c+282 -00 replies
2/2: sparc64: Rewrite central driver.arch/sparc/include/asm/fhc.h arch/sparc64/kernel/central.c arch/sparc64/kernel/sbus.c +1 more+214 -4490 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2]: Rewrite central driver

The sparc64 central driver for SUNW,Ultra-Enterprise starfire servers was doing several things, some of which are now unnecessary:

1) IRQ register initialization, which is now handled entirely in the IRQ controller mini-driver in arch/sparc64/kernel/of_device.c

2) Basic programming of per-board registers, such as setting the "I exist" bit in non-central FHC controllers, clearing the firmware semaphore, and clearing the power state bits.

3) LED blink

#1 can be deleted, and #2 and #3 can be simplified and cleaned up massively.

What happens now is that there is a new LED layer driver for the sunfire LEDs. Then a top-level FHC/clock-board driver programs the chips and creates the platform_device objects which will get used by the LED driver.