Date: Mon, 18 Aug 2008 14:46:45 GMT From: Ed Schouten <ed@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 147726 for review Message-ID: <200808181446.m7IEkjDk054913@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=147726 Change 147726 by ed@ed_dull on 2008/08/18 14:46:04 Only set PTS_EXTERNAL when we're really to include the pty(4) driver. It makes pts(4) almost 10% smaller. Affected files ... .. //depot/projects/mpsafetty/sys/conf/options#5 edit .. //depot/projects/mpsafetty/sys/kern/tty_pts.c#11 edit Differences ... ==== //depot/projects/mpsafetty/sys/conf/options#5 (text+ko) ==== @@ -656,6 +656,7 @@ DEV_BPF opt_bpf.h DEV_MCA opt_mca.h DEV_CARP opt_carp.h +DEV_PTY opt_tty.h DEV_SPLASH opt_splash.h # EISA support ==== //depot/projects/mpsafetty/sys/kern/tty_pts.c#11 (text+ko) ==== @@ -30,10 +30,14 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); +#include "opt_tty.h" + /* Add compatibility bits for FreeBSD. */ #define PTS_COMPAT +#ifdef DEV_PTY /* Add /dev/ptyXX compat bits. */ #define PTS_EXTERNAL +#endif /* DEV_PTY */ /* Add bits to make Linux binaries work. */ #define PTS_LINUX
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808181446.m7IEkjDk054913>