From owner-freebsd-hackers Mon Oct 6 23:51:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA02677 for hackers-outgoing; Mon, 6 Oct 1997 23:51:36 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from proxy3.ba.best.com (root@proxy3.ba.best.com [206.184.139.14]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA02670 for ; Mon, 6 Oct 1997 23:51:33 -0700 (PDT) (envelope-from mdean@shellx.best.com) Received: from shellx.best.com (shellx.best.com [206.86.0.11]) by proxy3.ba.best.com (8.8.7/8.8.BEST) with ESMTP id XAA18567 for ; Mon, 6 Oct 1997 23:49:56 -0700 (PDT) Received: from localhost (mdean@localhost) by shellx.best.com (8.8.6/8.8.3) with SMTP id XAA05955 for ; Mon, 6 Oct 1997 23:49:55 -0700 (PDT) Date: Mon, 6 Oct 1997 23:49:55 -0700 (PDT) From: mdean To: freebsd-hackers@freebsd.org Subject: Device Drivers Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I *Have* been reading some of the code and was wondering if someone could give me a brief explanation of what the following functions are for in struct cdevsw (this info is not in conf.h and I am new to this) d_stop d_reset d_devtotty d_strategy (I've seen this one in another unix book, I just can't remeber what it is actually used for) and why does d_maj=-1 in the driver when I would think you need to set it to the major of your device.