Subject: Re: Bluetooth module on com(4)
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 01/10/2007 10:30:54
On Jan 8, 2007, at 9:11 PM, KIYOHARA Takashi wrote:

> Index: sys/kern/tty_conf.c
> ===================================================================
> RCS file: /cvsroot/src/sys/kern/tty_conf.c,v
> retrieving revision 1.52
> diff -u -r1.52 tty_conf.c
> --- sys/kern/tty_conf.c	1 Nov 2006 10:17:59 -0000	1.52
> +++ sys/kern/tty_conf.c	6 Jan 2007 09:14:14 -0000
> @@ -276,6 +276,7 @@
>  		{ "ppp",		PPPDISC },
>  		{ "strip",		STRIPDISC },
>  		{ "hdlc",		HDLCDISC },
> +		{ "bth4",		BTH4DISC },
>  		{ NULL,			0 }
>  	};
>  	struct linesw *ldisc;

New line disciplines should NOT get a table entry or manifest  
constant; they should always be used by their name only.

-- thorpej