I am struggling with a specialized driver. I have created a modified char driver that looks like a tty. I have used segments from tty_io.c and tty_ioctl.c. My driver needs to work with PPP. I have gotten past the termio and other ioctls but am having problem with how to create the line discipline and channel correctly. When PPP tries to connect to my channel it fails. I have been hacking at my code but can not find any good sample code anywhere. I am using modifications of the tty_set_ldisc and tty_register_ldisc code in the char directory. Clearly there is something I am missing or something missing from this code. Any help will be greatly appreciated.
mark.felton@echostar.com