*BSD News Article 3129


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!hp9000.csc.cuhk.hk!uakari.primate.wisc.edu!sdd.hp.com!cs.utexas.edu!rice!news.Rice.edu!rich
From: rich@Rice.edu (Richard Murphey)
Newsgroups: comp.unix.bsd
Subject: Re: More than 2 serial ports on 386BSD?
Message-ID: <RICH.92Aug5181007@kappa.Rice.edu>
Date: 6 Aug 92 00:10:07 GMT
References: <12149@jjmhome.UUCP>
Sender: news@rice.edu (News)
Reply-To: Rich@rice.edu
Organization: Department of Electrical and Computer Engineering, Rice
	University
Lines: 26
In-Reply-To: hunt@jjmhome.UUCP's message of 5 Aug 1992 20:21:58 GMT

In article <12149@jjmhome.UUCP> hunt@jjmhome.UUCP (Tad J. Hunt) writes:
   Is it possible to run 386BSD with 4 serial ports (each having its own IRQ
   line by using IRQ 2 and 5)?  What changes to the sources would be required?
   Any hints will be greatly appreciated...

You can do it without changing the sources by adding the device's i/o
port address and IRQ in your kernel config file.  For example:

cd /sys/i396/conf
cp GENERICISA FOO

edit FOO.  Add something like:

device		com3	at isa? port 0x3e8 tty irq 5 vector comintr

then generate the new kernel:

config FOO
cd /sys/compile/FOO
make depend
make
mv /386BSD /386BSD.alt
cp 386BSD /

Rich
--