Module Name:    src
Committed By:   matt
Date:           Sun Feb 24 06:20:24 UTC 2013

Modified Files:
        src/sys/sys: tty.h

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/sys/tty.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/tty.h
diff -u src/sys/sys/tty.h:1.90 src/sys/sys/tty.h:1.91
--- src/sys/sys/tty.h:1.90	Sat Sep 24 00:05:38 2011
+++ src/sys/sys/tty.h	Sun Feb 24 06:20:24 2013
@@ -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 @@ struct tty {
 	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

Reply via email to