Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 1996 15:12:13 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        mdz@netrail.net, freebsd-questions@freebsd.org, bde@kralizec.zeta.org.au (Bruce Evans)
Subject:   Re: Serial console?
Message-ID:  <199603091412.PAA01228@uriah.heep.sax.de>
In-Reply-To: <199603091123.VAA12952@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 9, 96 09:53:07 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Michael Smith wrote:

> > j@uriah 216% find /sys/i386 -name '*.c' | fgrep COMCONSOLE
> > j@uriah 217% 
> 
> That's very good; there's no file called 'COMCONSOLE' in there.
> Not really surprising 8)

Ick.  I forgot the `xargs'. :)

>  *      $Id: sio.c,v 1.134 1996/01/25 07:21:36 phk Exp $

>         /* initialize required fields */
>         cp->cn_dev = makedev(CDEV_MAJOR, unit);
> #ifdef COMCONSOLE
>         cp->cn_pri = CN_REMOTE;         /* Force a serial port console */
> #else
>         cp->cn_pri = (boothowto & RB_SERIAL) ? CN_REMOTE : CN_NORMAL;
> #endif
> }
> 
> ... now, I'm a little out of date here at home, but I was sure this still
> did it.  Has it been recently diked?

Well, it should go away, i think.  To the least, it might be renamed
into ``FORCE_COMCONSOLE'', to make the purpose obvious.

Bruce?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603091412.PAA01228>