Date: Sun, 12 Aug 2001 11:29:08 -0700 From: Julian Elischer <julian@elischer.org> To: Joe Kelsey <joe@zircon.seattle.wa.us> Cc: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>, current@freebsd.org Subject: Re: FreeBSD's aggressive keyboard probe/attach Message-ID: <3B76CAF4.BCA989DF@elischer.org> References: <200108120813.RAA26578@zodiac.mech.utsunomiya-u.ac.jp> <15222.50892.75406.972475@zircon.zircon.seattle.wa.us>
next in thread | previous in thread | raw e-mail | index | archive | help
Joe Kelsey wrote: > > 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. sysctl variables are "one per system" devices are "multiple per system" unless you make the driver export a sysclt for each instance it sees then there is a mismatch. certainly there is a mismatch for probing for dvices.. which unfound device do the sysctl variables corespond to? > 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 -- +------------------------------------+ ______ _ __ | __--_|\ Julian Elischer | \ U \/ / hard at work in | / \ julian@elischer.org +------>x USA \ a very strange | ( OZ ) \___ ___ | country ! +- X_.---._/ presently in San Francisco \_/ \\ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B76CAF4.BCA989DF>