From owner-freebsd-current Sat Jan 3 11:39:40 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA28486 for current-outgoing; Sat, 3 Jan 1998 11:39:40 -0800 (PST) (envelope-from owner-freebsd-current) Received: from proxy-bsb.gns.com.br (9V9uN1icrEQCqh0PjaJYjJwC3Ctt86dA@srv1-bsb.GNS.com.br [200.239.56.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id LAA28082 for ; Sat, 3 Jan 1998 11:33:11 -0800 (PST) (envelope-from dcs@gns.com.br) Received: (qmail 22514 invoked from network); 3 Jan 1998 19:30:50 -0000 Received: from unknown (HELO srv1-bsb.gns.com.br) (unknown) by unknown with SMTP; 3 Jan 1998 19:30:50 -0000 Received: (from mail@localhost) by srv1-bsb.gns.com.br (8.8.8/8.8.8) id RAA22506; Sat, 3 Jan 1998 17:30:50 -0200 (EDT) Received: from dl0235-bsb.gns.com.br(200.239.56.235) by srv1-bsb.gns.com.br via smap (V2.0) id xma022500; Sat, 3 Jan 98 17:30:47 -0200 Received: (from dcs@localhost) by daniel.sobral (8.8.8/8.8.6) id RAA00527; Sat, 3 Jan 1998 17:11:26 -0200 (EDT) From: "Daniel C. Sobral" Message-Id: <199801031911.RAA00527@daniel.sobral> Subject: Creating a Device Driver To: current@freebsd.org Date: Sat, 3 Jan 1998 17:11:25 -0200 (EDT) Disclaimer: Klaatu Barada Nikto! X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ok, more questions. I'm still figuring out how this device driver thing works :-) through the prove and tested UTSL method. Examining the joy device driver (no pun intended), I noticed the ex-select, now-poll, function there is "seltrue". I'd like to know if "seltrue" will be replaced in the near future with "polltrue". Second question, the include files on /usr/include/machine and /usr/src/sys/i386/include... On my computer both directories have the same number of files, and all files I have examined exist in both. Now, since my system has been upgraded through cvsup for quite a long time, that doesn't mean much... Where should I create my IOCTLs include file? /usr/src/sys/i386/include? Does this file get installed on /usr/include/machine during make world? Thanks for any help. BTW, anyone have suggestions on drivers to examine in my Search For Knowledge? -- Daniel C. Sobral (8-DCS) dcs@gns.com.br The longer the title, the less important the job.