From owner-freebsd-current Sun Aug 12 11: 8:19 2001 Delivered-To: freebsd-current@freebsd.org Received: from zircon.seattle.wa.us (sense-sea-CovadSub-0-228.oz.net [216.39.147.228]) by hub.freebsd.org (Postfix) with SMTP id C629137B406 for ; Sun, 12 Aug 2001 11:08:16 -0700 (PDT) (envelope-from joe@zircon.seattle.wa.us) Received: (qmail 21376 invoked by uid 1001); 12 Aug 2001 18:11:24 -0000 From: Joe Kelsey MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15222.50892.75406.972475@zircon.zircon.seattle.wa.us> Date: Sun, 12 Aug 2001 11:11:24 -0700 To: Kazutaka YOKOTA , current@freebsd.org Subject: Re: FreeBSD's aggressive keyboard probe/attach In-Reply-To: <200108120813.RAA26578@zodiac.mech.utsunomiya-u.ac.jp> References: <200108120813.RAA26578@zodiac.mech.utsunomiya-u.ac.jp> X-Mailer: VM 6.92 under Emacs 20.7.1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thank you very much for the clear and cogent explanation of your philosophy of the psm code. Could I suggest that you copy the aforementioned e-mail directly into the psm.c file for everyone to see in posterity? Also, I have a fundamental problem with device flags. I believe that every situation which uses device flags should instead use sysctl variables, allowing easy manipulation at run-time. Of course, there are no doubt situations not addressable at run-time, but these should be the rare special cases where a driver flag is used. I also second Terry's comment about 0x800. There is no reason to add yet more driver flags in order to "do the right thing". The "do the right thing" case should always be default and a flag (sysctl variable, etc) should be used for those who want "the wrong thing". Thank you for your hard work and for taking the time to explain the design issues involved. Please place the design documentation in the code. /Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message