Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/dec Remove some duplicate/confusing lines.
details: https://anonhg.NetBSD.org/src/rev/7de568b1d341
branches: trunk
changeset: 536556:7de568b1d341
user: ad <ad%NetBSD.org@localhost>
date: Wed Sep 18 17:06:07 2002 +0000
description:
Remove some duplicate/confusing lines.
diffstat:
sys/dev/dec/dz.c | 12 ++----------
sys/dev/dec/dzvar.h | 4 ++--
2 files changed, 4 insertions(+), 12 deletions(-)
diffs (51 lines):
diff -r f615204db7e7 -r 7de568b1d341 sys/dev/dec/dz.c
--- a/sys/dev/dec/dz.c Wed Sep 18 16:51:16 2002 +0000
+++ b/sys/dev/dec/dz.c Wed Sep 18 17:06:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dz.c,v 1.4 2002/09/18 16:51:16 ad Exp $ */
+/* $NetBSD: dz.c,v 1.5 2002/09/18 17:06:07 ad Exp $ */
/*
* Copyright (c) 1996 Ken C. Wellsch. All rights reserved.
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dz.c,v 1.4 2002/09/18 16:51:16 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dz.c,v 1.5 2002/09/18 17:06:07 ad Exp $");
#include "opt_ddb.h"
@@ -72,14 +72,6 @@
#include "ioconf.h"
-/* A DZ-11 has 8 ports while a DZV/DZQ-11 has only 4. We use 8 by default */
-
-#define NDZLINE 8
-
-#define DZ_C2I(c) ((c)<<3) /* convert controller # to index */
-#define DZ_I2C(c) ((c)>>3) /* convert minor to controller # */
-#define DZ_PORT(u) ((u)&07) /* extract the port # */
-
/* Flags used to monitor modem bits, make them understood outside driver */
#define DML_DTR TIOCM_DTR
diff -r f615204db7e7 -r 7de568b1d341 sys/dev/dec/dzvar.h
--- a/sys/dev/dec/dzvar.h Wed Sep 18 16:51:16 2002 +0000
+++ b/sys/dev/dec/dzvar.h Wed Sep 18 17:06:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dzvar.h,v 1.2 2002/09/18 16:51:16 ad Exp $ */
+/* $NetBSD: dzvar.h,v 1.3 2002/09/18 17:06:07 ad Exp $ */
/*
* Copyright (c) 1996 Ken C. Wellsch. All rights reserved.
* Copyright (c) 1992, 1993
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*/
-/* A DZ-11 has 8 ports while a DZV/DZQ-11 has only 4. We use 8 by default */
+/* A DZ-11 has 8 ports while a DZV/DZQ-11 has only 4. */
#define NDZLINE 8
Home |
Main Index |
Thread Index |
Old Index