RTC: use fallback IRQ if PNP tables don't provide one
authorMatthew Garrett <mjg59@srcf.ucam.org>
Fri, 1 Jun 2007 07:46:51 +0000 (00:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 1 Jun 2007 15:18:29 +0000 (08:18 -0700)
commit6cd8fa87fbf31b2ab77b8aaec497e7f6a3757578
tree25a8ac89d09f7b8f2cd3e4a33068d309cfdbc76f
parent926b28984da035ac407e6b8f22ee8b4f94f51cf1
RTC: use fallback IRQ if PNP tables don't provide one

Intel Macs (and possibly other machines) provide a PNP entry for the RTC,
but provide no IRQ.  As a result the rtc-cmos driver doesn't allow wakeup
alarms.  If the RTC is located at the legacy ioport range, assume that it's
on IRQ 8 unless the tables say otherwise.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-cmos.c