serial port multiplexing

2005-08-25 Thread Rahul Tank
Hello all, I am a newbee tryinging for serial port multiplexing. Currently my driver supports for one port (/dev/ttyS0). However i want to use the same physical port for 2 virtual ports.I am NOT sending two type of data simultaneously. I want to first reigister my driver for /dev/ttyS0. When

serial driver + ioctl

2005-08-02 Thread Rahul Tank
hello all, i am trying to write an ioctl for my serial driver. i am trying to implement a method which works like 'setserial' however i am unable to understand how to set the baud rate . any pointers thanx in advance regards, rahul

serial device driver

2005-07-27 Thread Rahul Tank
hello all, i am writing a serial device driver. After going thru few linux journals i have understood that serial ports get mapped at standard addrerss.We need to take these regions, register driver and talk to them (read,write). however i am unable to do the same. plz help me

serial driver help

2005-07-26 Thread Rahul Tank
hello all, i am a newbee trying to write a device driver for a serial port. i read the /driver/char/serial.c and have got the idea of how the gs_write works. however i am unable to understand how to read or write to a serial port. any pointers, plz help thanks in advance.