Skip to contentSkip to conversation

: Rewrite central driver

PATCH New David Miller 1 participant 1 message Sep 1, 2008

lore
Share & tools
lore
#0 lore raw

cover : 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.