Module Name: src Committed By: dholland Date: Sun Jan 24 19:56:26 UTC 2010
Modified Files: src/sys/kern: tty_pty.c Log Message: Amplify comment about ultrix bits. To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/sys/kern/tty_pty.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/tty_pty.c diff -u src/sys/kern/tty_pty.c:1.120 src/sys/kern/tty_pty.c:1.121 --- src/sys/kern/tty_pty.c:1.120 Sun Dec 20 19:06:44 2009 +++ src/sys/kern/tty_pty.c Sun Jan 24 19:56:26 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: tty_pty.c,v 1.120 2009/12/20 19:06:44 pooka Exp $ */ +/* $NetBSD: tty_pty.c,v 1.121 2010/01/24 19:56:26 dholland Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1993 @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.120 2009/12/20 19:06:44 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.121 2010/01/24 19:56:26 dholland Exp $"); #include "opt_ptm.h" @@ -119,7 +119,11 @@ }; #if defined(pmax) -/* see arch/pmax/conf/majors.pmax */ +/* + * Used by arch/pmax/conf/majors.pmax, which needs a second copy as it + * needs to map this stuff to two pairs of majors. + */ + const struct cdevsw ptc_ultrix_cdevsw = { ptcopen, ptcclose, ptcread, ptcwrite, ptyioctl, nullstop, ptytty, ptcpoll, nommap, ptckqfilter, D_TTY