linux/drivers/rtc
Bjorn Helgaas 72f22b1eb6 rtc-cmos: look for PNP RTC first, then for platform RTC
We shouldn't rely on "pnp_platform_devices" to tell us whether there
is a PNP RTC device.

I introduced "pnp_platform_devices", but I think it was a mistake.
All it tells us is whether we found any PNPBIOS or PNPACPI devices.
Many machines have some PNP devices, but do not describe the RTC
via PNP.  On those machines, we need to do the platform driver probe
to find the RTC.

We should just register the PNP driver and see whether it claims anything.
If we don't find a PNP RTC, fall back to the platform driver probe.

This (in conjunction with the arch/x86/kernel/rtc.c patch to add
a platform RTC device when PNP doesn't have one) should resolve
these issues:

    http://bugzilla.kernel.org/show_bug.cgi?id=11580
    https://bugzilla.redhat.com/show_bug.cgi?id=451188

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Reported-by: Rik Theys <rik.theys@esat.kuleuven.be>
Reported-by: shr_msn@yahoo.com.tw
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-14 16:30:14 -07:00
..
class.c
hctosys.c
interface.c
Kconfig drivers/rtc/Kconfig: don't build rtc-cmos.o on sparc32 2008-09-22 21:40:04 -07:00
Makefile rtc: Add Starfire platform RTC driver. 2008-08-29 14:16:52 -07:00
rtc-at32ap700x.c
rtc-at91rm9200.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
rtc-at91sam9.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
rtc-bfin.c Blackfin RTC Driver: dont let RTC programming in bootloaders randomly cause ~5 second boot delays 2008-08-20 15:40:30 -07:00
rtc-bq4802.c rtc-bq4802: Fix sparse warnings. 2008-09-09 19:50:04 -07:00
rtc-cmos.c rtc-cmos: look for PNP RTC first, then for platform RTC 2008-10-14 16:30:14 -07:00
rtc-core.h
rtc-dev.c rtc: fix kernel panic on second use of SIGIO nofitication 2008-10-03 18:22:17 -07:00
rtc-ds1216.c
rtc-ds1302.c
rtc-ds1305.c
rtc-ds1307.c
rtc-ds1374.c rtc: rtc-ds1374: fix 'no irq' case handling 2008-08-20 15:40:32 -07:00
rtc-ds1511.c
rtc-ds1553.c
rtc-ds1672.c
rtc-ds1742.c
rtc-ep93xx.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
rtc-fm3130.c
rtc-isl1208.c rtc-isl1208: fix double removal of a sysfs entry 2008-08-12 16:07:28 -07:00
rtc-lib.c rtc_time_to_tm: fix signed/unsigned arithmetic 2008-09-02 19:21:40 -07:00
rtc-m41t80.c
rtc-m41t94.c
rtc-m48t59.c rtc-m48t59: Only check century bits on m48t59 chips. 2008-09-09 19:38:17 -07:00
rtc-m48t86.c
rtc-max6900.c
rtc-max6902.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
rtc-omap.c
rtc-pcf8563.c
rtc-pcf8583.c
rtc-pl030.c
rtc-pl031.c
rtc-ppc.c
rtc-proc.c
rtc-r9701.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
rtc-rs5c313.c
rtc-rs5c348.c
rtc-rs5c372.c
rtc-s3c.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
rtc-s35390a.c
rtc-sa1100.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
rtc-sh.c
rtc-starfire.c rtc: Add Starfire platform RTC driver. 2008-08-29 14:16:52 -07:00
rtc-stk17ta8.c
rtc-sun4v.c rtc: Add Sun4V hypervisor RTC driver. 2008-08-29 14:16:50 -07:00
rtc-sysfs.c
rtc-test.c
rtc-v3020.c
rtc-vr41xx.c
rtc-x1205.c