How can I access the serial port from kernel space ? (from a driver)
From user space it's just like fd=open("/dev/ttyS0", ... )
But from kernel space it seems more difficult. I had a look at the Axis bluetooth implementation and they use
a whole complex thingy called ttys (via termios.h) ?
Can someone explain why tty's are used ?
What I want to do is not far from the Axis solution i.e.
ppp over my_driver out on the serial port for further processing. The problem is that I do not understand the while tty concept, neighter can I find any doc about it.
BTW this is my very first driver :)