Either return back to the user mode and then ivoke the UART module through filesystem or directly use global API's provided by the UART module. ----- Original Message ----- From: Hansen Martin <DKDD0MAR@Danfoss.com> Date: Wednesday, March 13, 2002 9:11 pm Subject: using serial interface > How can I access the serial interface from within my module. > I don't want to write a new driver for the uart. I just need to > send and > receive things from the serial interface. and have my module > independent of > the uart. > > equivalent user space actions would bee > cat /dev/ttyS1 > echo 123 > /dev/ttyS1 > > > -- > Martin Hansen > Student at SDU Sønderborg. www.sdu.dk > Writing final project at Danfoss drives. www.danfossdrives.com > > Tlf: 74 88 54 62 > -- > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > >
begin:vcard n:Agarwal;Sumit fn:Sumit Agarwal tel;cell:+919845205210 tel;fax:+91-80-5732696 tel;home:+919845205210 tel;work:+91-805732296 / 93 extn. 5243 url:www.wipro.com org:Wipro Technologies;SIDC, Embedded and Internet Division adr:;;Wipro Technologies, Chamundi Complex, No.26, Hosur Main Road, Bommanahalli;Bangalore;Karnataka;560068;INDIA version:2.1 email;internet:sumit.agarwal@wipro.com title:Senior Software Engineer end:vcard
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ********************************************************************