On 08/31/2018, 09:45 AM, Michal Kubecek wrote:
Actually the best thing would probably be to enhance that driver to only create devices for ports, that are actually available. But then I think only very brave (and bored) people would really dare to touch this code ;-)
That's what some people suggested in those earlier discussions. But nobody took the challenge. Can't say I'm surprised, though... :-)
Heh :D. I wrote and rewrote a lot of pieces in there. And the reason why we create ports which are not "available" is quite simple. You can use setserial on those /dev nodes to actually configure the port and make it available immediately... So if you demand NR_UARTS via config, we create NR_UARTS for you – as simple as that. thanks, -- js suse labs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org