From owner-cvs-all Mon Jun 26 15:29:44 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B199B37BCE9; Mon, 26 Jun 2000 15:29:34 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id QAA70720; Mon, 26 Jun 2000 16:29:33 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA28257; Mon, 26 Jun 2000 16:27:42 -0600 (MDT) Message-Id: <200006262227.QAA28257@harmony.village.org> To: Peter Wemm Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/rndcontrol Makefile random.4 rndcontrol.8 rndcontrol.c Cc: Mark Murray , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Mon, 26 Jun 2000 14:04:16 PDT." <20000626210416.324691CD7@overcee.netplex.com.au> References: <20000626210416.324691CD7@overcee.netplex.com.au> Date: Mon, 26 Jun 2000 16:27:41 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20000626210416.324691CD7@overcee.netplex.com.au> Peter Wemm writes: : Err.. why? We now have a generic place to hook into at the nexus if the : driver approves. For shared irqs, we can check that all handlers are OK : with it. We have flags available.. Even without flags, we can make a simple kobj_true() and kobj_false(). The genertic nexus thing could then ask the drivers "Can I use your IRQ for entropty?" with some method (device_irq_random, say) and the driver would default to using the kobj_true method (return 1;) for this, but those drivers that don't think their interrupts will be random enough, can implemetne device_irq_random as kobj_false. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message