From owner-cvs-all@FreeBSD.ORG Thu Sep 11 14:05:12 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 C356416A4BF; Thu, 11 Sep 2003 14:05:12 -0700 (PDT) Received: from critter.freebsd.dk (p26.n-sfpop02.stsn.com [199.107.153.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BEAE44001; Thu, 11 Sep 2003 14:05:11 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h8BL5AQW002114; Thu, 11 Sep 2003 23:05:11 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Bruce Evans From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 12 Sep 2003 06:56:08 +1000." <20030912063325.A1562@gamplex.bde.org> Date: Thu, 11 Sep 2003 23:05:10 +0200 Message-ID: <2113.1063314310@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/etc.sparc64 ttys 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: Thu, 11 Sep 2003 21:05:12 -0000 In message <20030912063325.A1562@gamplex.bde.org>, Bruce Evans writes: >Other uart(4) bugs in this area: >- the cua* devices are named uart*. I think ps(1), etc. strip off the > first 3 characters of device names, so uart0 becomes t0. Yes, this is an ancient and bogus convention which will wreck havoc in a number of surprising ports of broken. >The initial state devices or equivalent functionalty are more important >than the cua devices IMO. If it is possible to set cua behaviour using stty (on the initial state device) cua devices would be unnecessary and should probably be avoided. >Appart from this, all devices on device driver foo should be named >foo, and no driver names should be longer than "foo". While 17576 device drivers would be enough for some time, I am not sure we have the necessary mechanics to control or enforce them being unique and I resist having to come up with a bogus TLA name for a device in the cases where the vendor has already established a perfectly good bogus name of a diffrent length for their device. See for instance sys/dev/musycc -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.