Re: RTC_DRV_CMOS can break userspace interface

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>, <linux-acpi@...>
Cc: <david-b@...>
Date: Sunday, May 27, 2007 - 7:39 pm

On Sun, May 27, 2007 at 08:03:51PM +0100, Matthew Garrett wrote:


Ah, no, it's because the ioports for the rtc-cmos driver are already 
claimed by the old driver from CONFIG_RTC. The following configuration 
is valid in Kconfig:

CONFIG_RTC=y
CONFIG_RTC_CMOS=m

but will disable /proc/acpi/wakeup. It'll also be impossible to load 
CONFIG_RTC_CMOS because CONFIG_RTC has grabbed the io ports, so it's not 
possible to use the new interface. This situation doesn't appear to be 
documented, which is less than ideal...

-- 
Matthew Garrett | mjg59@srcf.ucam.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RTC_DRV_CMOS can break userspace interface, Matthew Garrett, (Sun May 27, 3:03 pm)
Re: RTC_DRV_CMOS can break userspace interface, David Brownell, (Sun May 27, 9:36 pm)
Re: RTC_DRV_CMOS can break userspace interface, Matthew Garrett, (Sun May 27, 7:39 pm)
Re: RTC_DRV_CMOS can break userspace interface, Matthew Garrett, (Sun May 27, 8:38 pm)
Re: RTC_DRV_CMOS can break userspace interface, David Brownell, (Sun May 27, 9:44 pm)
Re: RTC_DRV_CMOS can break userspace interface, Matthew Garrett, (Sun May 27, 10:16 pm)