From owner-cvs-all@FreeBSD.ORG Fri Aug 15 13:15:53 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10CF4106567C; Fri, 15 Aug 2008 13:15:53 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E1BD88FC19; Fri, 15 Aug 2008 13:15:52 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.2/8.14.2) with ESMTP id m7FDFqpP090827; Fri, 15 Aug 2008 13:15:52 GMT (envelope-from ed@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m7FDFqnA090826; Fri, 15 Aug 2008 13:15:52 GMT (envelope-from ed@repoman.freebsd.org) Message-Id: <200808151315.m7FDFqnA090826@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ed@repoman.freebsd.org using -f From: Ed Schouten Date: Fri, 15 Aug 2008 13:07:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/share/man/man4 snp.4 src/sys/dev/snp snp.c src/usr.sbin/watch watch.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 13:15:53 -0000 ed 2008-08-15 13:07:07 UTC FreeBSD src repository Modified files: share/man/man4 snp.4 sys/dev/snp snp.c usr.sbin/watch watch.c Log: SVN rev 181755 on 2008-08-15 13:07:07Z by ed Convert the snp(4) driver to use cdevpriv. Now we have a single /dev/snp device node, which can be opened by watch(8) multiple times. Even though snp(4) will be dead as of next week, it's nice having this in SVN, because: - We may want to MFC it to RELENG_7. - By the time we fix snp(4) again, it's already there, existing watch(8) binaries should already work. Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary compatible. Revision Changes Path 1.28 +2 -2 src/share/man/man4/snp.4 1.109 +46 -66 src/sys/dev/snp/snp.c 1.36 +7 -16 src/usr.sbin/watch/watch.c