Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!mcnc!gatech!galbp!bing From: bing@galbp.LBP.HARRIS.COM (Bing Bang) Newsgroups: comp.os.minix Subject: Re: a question about ar Message-ID: <328@galbp.LBP.HARRIS.COM> Date: Wed, 29-Jul-87 10:07:42 EDT Article-I.D.: galbp.328 Posted: Wed Jul 29 10:07:42 1987 Date-Received: Fri, 31-Jul-87 03:38:16 EDT References: <310@galbp.LBP.HARRIS.COM> <1542@botter.cs.vu.nl> Reply-To: bing@galbp.UUCP (Bing Bang) Organization: Harris/Lanier, Atlanta, GA Lines: 40 >to replace before 'module'. Any volunteers on this one? > >If you have a serial line driver that works, please post it. There will be >a lot of interest. One was posted earlier, but that one is not fully debugged. > >Andy Tanenbaum (ast@cs.vu.nl) I am about ready to post the serial tty drivers, however there are some points I'd like to discuss. First off, the driver is not very V7ish. Things like waiting for carrier detect and raising and lowering of DTR is done through specialized ioctl calls, instead of them being implied by openning and closing the device. How acceptable is this? Second, I made many changes to the way fs talks to the device drivers and the way messages are passed in general. Fs now assumes every driver sends back a SUSPEND message as soon as it receives a message. To do this with out causing a deadlock condition, I changed the message passing scheme so that the sender is never blocked. If the receiver is not waiting, a slot out of a system message buffer pool is allocated, the message copied in to it, then the buffer is queued to the receiver's que. This change results in a kernel that is much more multi-tasking. I can now X-OFF my console and the stuff on the background keeps running. Now, I can post all of these changes if there is enough interest, or I can post a fixed version of the tty driver that will work with the standard fs. Oh, I haven't had time to merge any of the 1.2 kernel changes yet, a task I am not looking forward to, since I want to preserve my own hack too... oh yea I am still looking for the source to login.c and part 7 (of 7) of the new sh diffs -- Bing H. Bang +-------------------+ Harris/Lanier |MSDOS: just say no.| Atlanta GA +-------------------+