linux/arch/powerpc/platforms/powermac
Marc Zyngier 98b14d6b29 powerpc/powermac: Make auto-loading of therm_pm72 possible
The therm_pm72 driver, used on the PowerMac G5 range, cannot be
auto-loaded, since the driver itself creates both the device node
and the driver instance.

Moving the device node creation to the platform setup code and
adding the necessary MODULE_DEVICE_TABLE() information allows the
driver to be automatically loaded by udev on any semi-modern
distribution.

It "fixes" a major source of problem on G5 machines where the
driver wasn't explicitely loaded by default, and the system
would automatically shutdown under load.

Tested on an Xserve G5.

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-12-09 15:36:30 +11:00
..
Kconfig
Makefile
backlight.c
bootx_init.c
cache.S
cpufreq_32.c powerpc: Clean up obsolete code relating to decrementer and timebase 2010-07-09 11:26:16 +10:00
cpufreq_64.c
feature.c powerpc/powermac: Drop unnecessary null test 2010-08-24 15:26:28 +10:00
low_i2c.c powerpc: Use IRQF_NO_SUSPEND not IRQF_TIMER for non-timer interrupts 2010-07-29 13:24:57 +02:00
nvram.c
pci.c powerpc/powermac: Drop unnecessary of_node_put 2010-08-24 15:26:28 +10:00
pfunc_base.c
pfunc_core.c powerpc/powermac/pfunc_core.c: Add of_node_put to avoid memory leak 2010-09-02 14:07:33 +10:00
pic.c of/powerpc: Move Powermac irq quirk code into powermac pic driver code 2010-07-05 16:14:25 -06:00
pic.h
pmac.h powerpc: Use common cpu_die (fixes SMP+SUSPEND build) 2010-05-21 17:31:08 +10:00
setup.c powerpc/powermac: Make auto-loading of therm_pm72 possible 2010-12-09 15:36:30 +11:00
sleep.S
smp.c powerpc: Use common cpu_die (fixes SMP+SUSPEND build) 2010-05-21 17:31:08 +10:00
time.c
udbg_adb.c
udbg_scc.c