Re: How do I choose an arbitrary minor number for my tty device?

From: Timur Tabi
Date: Thu Nov 18 2010 - 15:43:38 EST


Greg KH wrote:
>> > One last question. If I create multiple TTY devices, how do I tell the kernel
>> > which one should be used for the console?

> On the command line.

Is there a way to do it in the driver itself? Getting the boot loader to
identify the specific byte channel for stdout isn't trivial. It'd be nice if
the driver could tell the tty layer, "BTW, this use this for the default console".

--
Timur Tabi
Linux kernel developer at Freescale

--
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/