[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 2 Feb 2008 09:49:22 -0800
From: David Brownell <david-b@...bell.net>
To: Ingo Molnar <mingo@...e.hu>
Cc: Pavel Machek <pavel@....cz>, linux-pm@...ts.linux-foundation.org,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [linux-pm] sleepy linux self-test
On Saturday 02 February 2008, Ingo Molnar wrote:
>
> i'd really love to have a /dev/rtc device compatibility APIs, both
> inside and outside the kernel.
Unfortunately the /dev/rtc code became a legacy API for good reasons.
Like not recognizing that all the world's not a PC, with a single RTC
that clones a long-obsolete chip from Motorola ... and not having been
specified in a hardware-neutral manner. Oh, and of course not all
systems actually used the same RTC driver anyway; it's not like there
was just *one* such programming interface to worry about.
> I really dont know why the new RTC code
> does not do it - why does it put up artificial anti-adoption barriers to
> make it harder to migrate to the new code?
What "anti-adoption" barriers would those be? Pavel's immediate
problem was easy to solve, though he didn't know it.
>From the perspective of almost anyone not using a PC, all the
adoption barriers were on the side of the /dev/rtc code.
- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists