*BSD News Article 14603


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!cactus.org!wixer!pug
From: pug@wixer.bga.com (Pug)
Subject: Re: COM ports?
Message-ID: <1993Apr16.133110.27778@wixer.bga.com>
Organization: Pug's Pub and Pleasure Palace
References: <1993Apr14.182343.1130@88open.org> <1993Apr15.185109.4338@cunews.carleton.ca>
Date: Fri, 16 Apr 1993 13:31:10 GMT
Lines: 27

In article <1993Apr15.185109.4338@cunews.carleton.ca> ebx@scs.carleton.ca writes:
>In article 1130@88open.org, ferg@88open.org (John Ferguson) writes:
>> Why are only com1 and com2 available?  I need to access com3, as well.
>The basic bariar is that com1 and com3 share a common interrupt, so do 
>com2 and com4. You have a choice of choosing either one from each pair, 
>but not both. If you HAVE TO use com3 or com4, you should rebuild the 
>kernel. Of course, after some modifications to the source.

But, what if I have them on different interrupts? I'm curious about this
since I am planning on installing 386BSD, but I wanna be able to use my
modem and mouse. Mouse on Com1 standard IRQ and modem on Com3 IRQ 5.

>Step 2) Edit /sys/i386/isa/isa.h and add a line that looks like
>#define COM_x 0x...
>Step 3) Add a line to your config file in /sys/i386/conf/... which
>calls out the new port and interupt.

From this it looks like I should be able to have whatever com ports I
want. If I follow this, will it allow com1-4 without a problem?

Ciao,

-- 
Richard Bainter          Mundanely     |    System Analyst        - OMG/CSD
Pug                      Generally     |    Applied Research Labs - U.Texas
    bainter@csdsun1a.arlut.utexas.edu  |    pug@wixer.bga.com
Note: The views may not reflect my employers, or even my own for that matter.