From 2f9088c66c46330f1e7e62bfa1a371ea7173c663 Mon Sep 17 00:00:00 2001 From: Marc Balmer Date: Thu, 1 Jun 2006 20:10:29 +0000 Subject: Add basic NMEA0183 support as a tty line discipline. The line discipline decodes NMEA messages completely transparent to userland applications, i.e. userland can still use the NMEA stream and talk to the device. If data is received, a timedelta sensor suitable for ntpd is created. The timestamp is not very precise at the moment, use of this is experimental at best. "get it in or we see how well the swiss people can swim" deraadt@ --- sys/conf/files | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/conf/files') diff --git a/sys/conf/files b/sys/conf/files index 1ce78a06430..07e885ed356 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.374 2006/05/28 17:21:14 uwe Exp $ +# $OpenBSD: files,v 1.375 2006/06/01 20:10:28 mbalmer Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -935,3 +935,7 @@ file net/pfkey.c key | ipsec | tcp_signature file net/pfkeyv2.c key | ipsec | tcp_signature file net/pfkeyv2_parsemessage.c key | ipsec | tcp_signature file net/pfkeyv2_convert.c key | ipsec | tcp_signature + +# NMEA0183 support +pseudo-device nmea: tty +file kern/tty_nmea.c nmea needs-flag -- cgit v1.2.3