Re: [RFC][PATCH 1/6] RTC subsystem, class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 26 Dec 2005 21:16:57 +0100
Pavel Machek <[email protected]> wrote:

> > > > +int rtc_set_alarm(struct class_device *class_dev, struct rtc_wkalrm*alrm)
> > > 
> > > Struct rtc_wake_alarm *alarm, those wovels are there for readability.
> > 
> >  I'm not the one who created this structure. It's defined
> >  in linux/rtc.h since a long time. I can only change alrm
> >  to alarm.
> 
> Sorry if you are not responsible... Yes, alarm would be better.
> 
> How does this relate to /proc/acpi/alarm, btw? Do they use same RTC
> alarm?

 Yes, they do. The ACPI subsystem does direct I/O on the cmos clock.

 Given the complexity of the ACPI code, when/if the x86 rtc driver
 will be ported to the RTC subsystem, it would be wise
 to disable the alarm part if ACPI is compiled in.

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux