Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!elroy!mahendo!jplgodo!wlbr!scgvaxd!trwrb!ucla-an!remsit!stb!michael From: michael@stb.UUCP (Michael) Newsgroups: comp.sys.amiga Subject: Re: One more modem Please! Message-ID: <10019@stb.UUCP> Date: 2 Jan 88 20:03:49 GMT References: <6327@jade.BERKELEY.EDU> Reply-To: michael@stb.UUCP (Michael) Organization: STB BBS, La, Ca, USA, 90402 Lines: 22 Keywords: Help me! [Someone was asking how you can hook up a second modem. One person replied that you'd have to either re-write serial.device, or add a new driver. In either case you have to worry about preferences and programs that hard code the old name.] Another suggestion: Replace serial.device with serial.interface and serial.hardware. A call to open serial.interface specifies a default device to use (such as myterm.hardware). If it exists, great--use it. If not, default to serial. hardware. A dummy serial.device would be added that opens serial.interface specifying serial.hardware. Add the ability to "alias" exec nodes, so that myterm.hardware could be aliased to "ethernet.interface" or "uw5.interface" (5th channel of the uw protocol), or something else. Then supporting a new serial port is as simple as creating a mydev.hardware (which wouldn't need to do much more than character I/O and uart i initialization). -- : Michael Gersten ihnp4!hermix!ucla-an!remsit!stb!michael : sdcrdcf!trwrb!scgvaxd!stb!michael : "A hacker lives forever, but not so his free time"