From owner-freebsd-hackers Sat Oct 4 01:04:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA05253 for hackers-outgoing; Sat, 4 Oct 1997 01:04:26 -0700 (PDT) Received: from word.smith.net.au (ppp20.portal.net.au [202.12.71.120]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA05246 for ; Sat, 4 Oct 1997 01:04:21 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id RAA00530; Sat, 4 Oct 1997 17:31:20 +0930 (CST) Message-Id: <199710040801.RAA00530@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: mdean cc: Julian Elischer , freebsd-hackers@freebsd.org Subject: Re: devfs / cdevsw In-reply-to: Your message of "Fri, 03 Oct 1997 19:17:46 MST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Oct 1997 17:31:19 +0930 From: Mike Smith Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > These are shell script that will write a driver for you and put > > it in the sources in /usr/src and compile a kernel with your > > new driver.. the driver is a skelaton driver that does nothing, > > but then you can fill out the function. > > I have these, it talks about conf.c in there. > > What does __P() do to a function declaration? I see it in the lkm examples. > And also in .h files for c library calls apparently (pointing?) to the > kernel syscalls. It's archaic junk left over from the days of pre-ANSI compilers. Use it if you are adding to an existing source file (ie. maintain consistency), but do not use it in new code. mike