Date: Mon, 26 Jun 2000 16:27:41 -0600 From: Warner Losh <imp@village.org> To: Peter Wemm <peter@netplex.com.au> Cc: Mark Murray <mark@grondar.za>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/rndcontrol Makefile random.4 rndcontrol.8 rndcontrol.c Message-ID: <200006262227.QAA28257@harmony.village.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006262227.QAA28257>