Re: [PATCH 1/2] drivers:staging:ti-st: move TI_ST from staging

Jiri Slaby
2010-10-07T18:26:14Z

On 10/07/2010 04:52 PM, Savoy, Pavan wrote:
> Per-system? I don't understand this.
> There can be ldisc for each individual TTY, so doesn't that make it per device?

No, you can have only up to NR_LDISCS ldiscs in the system and you have
to choose one of them to "handle" a particular tty.

IOW, you register an ldisc which is available for everybody then. And it
cannot have ->private_data since everybody would share this single
->private_data. Instead everybody comes with their devices as ttys which
have ->private_data for everybody's data and ->disc_data for you to note
anything about the (tty) device.

Am I missing something?

regards,
--
js