From owner-cvs-all@FreeBSD.ORG Fri Sep 26 00:22:38 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC5B016A4B3; Fri, 26 Sep 2003 00:22:38 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A9FF43FFD; Fri, 26 Sep 2003 00:22:38 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8Q7McXJ081717; Fri, 26 Sep 2003 00:22:38 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8Q7McYh081716; Fri, 26 Sep 2003 00:22:38 -0700 (PDT) (envelope-from phk) Message-Id: <200309260722.h8Q7McYh081716@repoman.freebsd.org> From: Poul-Henning Kamp Date: Fri, 26 Sep 2003 00:22:38 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys cons.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 07:22:39 -0000 phk 2003/09/26 00:22:38 PDT FreeBSD src repository Modified files: sys/sys cons.h Log: Add a cn_unit and cn_name field to the consdev structure. Most of the actual use of the cn_dev field is merely to get the name, and most of the actual initializations are bogusly using makedev() because the probe/attach has not been completed. Instead we will migrate console drivers to fill in the name and if the driver needs it: the unit number, thereby avoiding the bogus calls to makedev(). Revision Changes Path 1.30 +2 -0 src/sys/sys/cons.h