Reputation
Top tag
Next privilege 10 Rep.
Answer protected questions
Badges
2
Impact
~242 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Sep
24
awarded  Autobiographer
Sep
25
comment Changing default line discipline at kernel level
OK i will post my question in that site. Thanks for your comments.
Sep
25
comment Changing default line discipline at kernel level
I am implementing a custom line discipline in order to communicate with the peripheral connected to the serial port. So during kernel boot itself i want to assign the custom line discipline to serial port which is connected to the peripheral. When i walk through the kernel source, i come to know that by default all the serial port will be assigned n_tty line discipline with this function tty_ldisc_init(struct tty_struct *tty). Now how can i identify the particular serial port and assign custom line discipline?.
Sep
24
awarded  Student
Sep
24
asked Changing default line discipline at kernel level