Date: Sat, 27 Sep 2003 05:53:33 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200309271253.h8RCrXWa032485@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309271253.h8RCrXWa032485>