]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b18951ef4f4fc741191c6b0691eeafae10f8825
tree25a8ac89d09f7b8f2cd3e4a33068d309cfdbc76f
parent4061ec53c013210b6f56a2a1b03af62626481290
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