Re: [patch 2.6.19-rc6 1/6] rtc class /proc/driver/rtc update

From: Alessandro Zummo
Date: Mon Nov 20 2006 - 18:14:19 EST


On Mon, 20 Nov 2006 10:17:19 -0800
David Brownell <david-b@xxxxxxxxxxx> wrote:

> Fix two minor botches in the procfs dumping of RTC alarm status:
>
> - Stop confusing "alarm enabled" with "wakeup enabled".
>
> - Don't display bogus "irq pending/un-acked" status; those are the rather
> pointless semantics EFI assigned to this (for a no-IRQs environment).

I wouldn't change that, the /proc interface to rtc is old
and should not be used anyhow. Here I'm trying to mimic
the behaviour of the original one.

sysfs provides a much better interface
(once we'll have all the attributes exported, of course :) )

I don't know if there's any user space tool relying on this.
If yes, then it should be fixed.

Any thoughts?

--

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/