From owner-cvs-sys Wed Jun 3 05:31:00 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA03021 for cvs-sys-outgoing; Wed, 3 Jun 1998 05:31:00 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA02973; Wed, 3 Jun 1998 05:30:51 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id FAA21708; Wed, 3 Jun 1998 05:30:11 -0700 (PDT) Date: Wed, 3 Jun 1998 05:30:11 -0700 (PDT) Message-Id: <199806031230.FAA21708@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa sio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/06/03 05:30:11 PDT Modified files: sys/i386/isa sio.c Log: Force success of the probe (after doing it as before except in one miscconfigured case) if the port is the console. This fixes several bugs: - if all sioprobe()s failed, then the console driver followed null pointers in cdevsw[]. - if the sioprobe() for the console failed but another sioprobe() succeeded, then init hung early when the console couldn't be opened. - it was silly for the console to not be there after printing boot messages on it. Bugs introduced by this are hopefully no worse than old ones caused by forcing the success of the `cn' level probe. Revision Changes Path 1.205 +5 -4 src/sys/i386/isa/sio.c