Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 1996 21:53:07 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        msmith@atrad.adelaide.edu.au, mdz@netrail.net, freebsd-questions@freebsd.org
Subject:   Re: Serial console?
Message-ID:  <199603091123.VAA12952@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199603090814.JAA25649@uriah.heep.sax.de> from "J Wunsch" at Mar 9, 96 09:14:25 am

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch stands accused of saying:
> 
> > options COMCONSOLE in your kernel config, rebuild, reboot.
> 
> 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)

 *      $Id: sio.c,v 1.134 1996/01/25 07:21:36 phk Exp $
...
void
siocnprobe(cp)
        struct consdev  *cp;
{
        int     unit;

        /* XXX: ick */
        unit = DEV_TO_UNIT(CONUNIT);
        siocniobase = CONADDR;

        /* make sure hardware exists?  XXX */

        /* 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?

> joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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