[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130323175915.GA3036@netboy.at.omicron.at>
Date: Sat, 23 Mar 2013 18:59:15 +0100
From: Richard Cochran <richardcochran@...il.com>
To: David Miller <davem@...emloft.net>
Cc: jbenc@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ptp: increase the maximum number of clocks
On Thu, Mar 21, 2013 at 05:20:17PM -0400, David Miller wrote:
>
> This really needs to be dynamic, and it shows what a bad idea it was
> to use character drivers for this which introduces arbitrary device
> arity limitations.
If a clock is not a character device, what then should it be? Network
interface? Block device? sysfs apparition?
IIRC, the RTCs appear as char devices. In any case, we are better off
with char devices than with an enumeration of SYSV clock IDs.
> I want to see a better solution to this problem than just bumping this
> limit arbitrarily every once in a while.
Jiri, do you want to work on making the number of clocks essentially
unlimited? If not, I can take a look at this, but not right away.
Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists