Xref: utzoo comp.unix.xenix:3708 comp.unix.wizards:11867 Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!arktouros!dyer From: dyer@arktouros.MIT.EDU (Steve Dyer) Newsgroups: comp.unix.xenix,comp.unix.wizards Subject: Re: Need help with serial line device driver Keywords: How to get data to another Driver ? Message-ID: <7581@bloom-beacon.MIT.EDU> Date: 20 Oct 88 17:37:56 GMT References: <385@ftp.COM> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: dyer@arktouros.MIT.EDU (Steve Dyer) Organization: MIT Project Athena, Cambridge MA 02139 Lines: 16 In article <385@ftp.COM> bill@ftp.COM (Bill Lampman) writes: >...I'm able to get SLIP packets from the serial ports via 'cat < /dev/tty1a', >but I need to have the data from the serial port available to the IP >kernel code for demultiplexing and checksumming, etc. Does anyone know >how I can access the serial line data without having a daemon running to >read the data and then write it back to the kernel ? This scheme would >cause way too much overhead. You want to define a new TTY line discipline which will make the bytes available to your IP input routine. This is what's done for SLIP under 4.xBSD, and there's no reason you shouldn't be able to do the same, if your IP layer is in the kernel. --- Steve Dyer dyer@arktouros.MIT.EDU dyer@spdcc.COM aka {harvard,husc6,ima,bbn,m2c,mipseast}!spdcc!dyer