From owner-cvs-src@FreeBSD.ORG Sat Sep 27 05:53:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A341116A4C0; Sat, 27 Sep 2003 05:53:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 022C944027; Sat, 27 Sep 2003 05:53:34 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h8RCrXXJ032486; Sat, 27 Sep 2003 05:53:33 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h8RCrXWa032485; Sat, 27 Sep 2003 05:53:33 -0700 (PDT) (envelope-from phk) Message-Id: <200309271253.h8RCrXWa032485@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sat, 27 Sep 2003 05:53:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/kern kern_conf.c subr_xxx.c sys_generic.c vfs_default.c src/sys/sys conf.h systm.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2003 12:53:34 -0000 phk 2003/09/27 05:53:33 PDT FreeBSD src repository Modified files: sys/conf files sys/kern kern_conf.c sys_generic.c vfs_default.c sys/sys conf.h systm.h Removed files: sys/kern subr_xxx.c Log: Introduce no_poll() default method for device drivers. Have it do exactly the same as vop_nopoll() for consistency and put a comment in the two pointing at each other. Retire seltrue() in favour of no_poll(). Create private default functions in kern_conf.c instead of public ones. Change default strategy to return the bio with ENODEV instead of doing nothing which would lead the bio stranded. Retire public nullopen() and nullclose() as well as the entire band of public no{read,write,ioctl,mmap,kqfilter,strategy,poll,dump} funtions, they are the default actions now. Move the final two trivial functions from subr_xxx.c to kern_conf.c and retire the now empty subr_xxx.c Revision Changes Path 1.827 +0 -1 src/sys/conf/files 1.136 +75 -14 src/sys/kern/kern_conf.c 1.26 +0 -185 src/sys/kern/subr_xxx.c (dead) 1.125 +0 -11 src/sys/kern/sys_generic.c 1.87 +1 -0 src/sys/kern/vfs_default.c 1.175 +0 -12 src/sys/sys/conf.h 1.198 +0 -1 src/sys/sys/systm.h