Re: [PATCH 0/2][RFC] Try to handle hctosys w/ rtc modules

From: Alessandro Zummo
Date: Mon Jun 30 2014 - 15:37:24 EST


On Sat, 28 Jun 2014 20:54:33 +0200
Marc Dietrich <marvin24@xxxxxx> wrote:

> > Besides that the current hctosys-mechanism doesn't really work with
> > hot-plugable devices at all. Guess what N will be when you unplug and
> > plug in such a RTC again.
>
> We have a patch in the kernel which binds the rtc number to the
> hw device, so this even works for hotpluggable devices (at least on
> systems supporting device-tree). Not sure what your needs are.

I'm still not sure about how to solve this, maybe it would be better to
identify the hctosys device that should be used at boot with
a different identifier than rtcX (and move the option to the kernel command line)

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, 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/