Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic com(4): Note ttylock in comment, not tty_lock.



details:   https://anonhg.NetBSD.org/src/rev/3145867a390f
branches:  trunk
changeset: 374223:3145867a390f
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Apr 11 13:01:41 2023 +0000

description:
com(4): Note ttylock in comment, not tty_lock.

diffstat:

 sys/dev/ic/com.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r a3a944868c80 -r 3145867a390f sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Tue Apr 11 12:58:03 2023 +0000
+++ b/sys/dev/ic/com.c  Tue Apr 11 13:01:41 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.383 2023/04/11 12:55:59 riastradh Exp $ */
+/* $NetBSD: com.c,v 1.384 2023/04/11 13:01:41 riastradh Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -65,13 +65,13 @@
  * Supports automatic hardware flow control on StarTech ST16C650A UART
  *
  * Lock order:
- *     tty_lock (IPL_VM)
+ *     ttylock (IPL_VM)
  *     -> sc->sc_lock (IPL_HIGH)
  *     -> timecounter_lock (IPL_HIGH)
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.383 2023/04/11 12:55:59 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.384 2023/04/11 13:01:41 riastradh Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"



Home | Main Index | Thread Index | Old Index