Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add a t_softc member to struct tty in which a driver...
details: https://anonhg.NetBSD.org/src/rev/f6e0d940c52e
branches: trunk
changeset: 785117:f6e0d940c52e
user: matt <matt%NetBSD.org@localhost>
date: Sun Feb 24 06:20:24 2013 +0000
description:
Add a t_softc member to struct tty in which a driver can store a pointer
to its softc. (analogous to if_softc in struct ifnet).
diffstat:
sys/sys/tty.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 19564196a043 -r f6e0d940c52e sys/sys/tty.h
--- a/sys/sys/tty.h Sun Feb 24 03:12:59 2013 +0000
+++ b/sys/sys/tty.h Sun Feb 24 06:20:24 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty.h,v 1.90 2011/09/24 00:05:38 christos Exp $ */
+/* $NetBSD: tty.h,v 1.91 2013/02/24 06:20:24 matt Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -148,6 +148,7 @@
sigset_t t_sigs[TTYSIG_COUNT]; /* Pending signals */
int t_sigcount; /* # pending signals */
TAILQ_ENTRY(tty) t_sigqueue; /* entry on pending signal list */
+ void *t_softc; /* pointer to driver's softc. */
};
#define t_cc t_termios.c_cc
Home |
Main Index |
Thread Index |
Old Index