*BSD News Article 6710


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!caen!batcomputer!cornell!cchase
From: cchase@cs.cornell.edu (Craig Chase)
Subject: Re: How do I enable COM3 and COM4?
Message-ID: <1992Oct19.032151.29724@cs.cornell.edu>
Organization: Electrical Engineering, Cornell University, Ithaca NY
References: <1992Oct15.014800.729@skitzo.dseg.ti.com> <1992Oct15.162922.24566@fcom.cc.utah.edu>
Date: Mon, 19 Oct 1992 03:21:51 GMT
Lines: 28

In article <1992Oct15.162922.24566@fcom.cc.utah.edu> terry@cs.weber.edu (A Wizard of Earth C) writes:
>In article <1992Oct15.014800.729@skitzo.dseg.ti.com> dittman@skitzo.dseg.ti.com (Eric Dittman) writes:
>>How do I enable COM3 and COM4 in the binary distribution of 386BSD 0.1
>>from agate.berkeley.edu?  Or do I have to do this from the source?
>
>You have to modify the configuration file, config, and rebuild the kernel.
>Amacio Hasty (I believe) has put together a "minimum required sources"
>tar archive on agate and elsewhere for the rebuilding of kernels for those
>with only 40Meg of disk.
>
>
You might also want to edit isa.h to add
#define IO_COM4 0x2e8
#define IO_COM3 0x3e8

and then use in the config file
device com2 at isa? port "IO_COM3" tty irq 4 vector comintr
device com3 at isa? port "IO_COM4" tty irq 3 vector comintr

Craig

p.s. mknod /dev/com2 c 8 2 ; mknod /dev/com3 c 8 3

-- 
"They [La Prensa] accused us of suppressing freedom of
 expression.  This was a lie and we could not let them
 publish it."
 - Nelba Blandon, Interior Ministry Director of Censorship, quoted in