Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Initialize t_softc.



details:   https://anonhg.NetBSD.org/src/rev/0c4b3b43c5a8
branches:  trunk
changeset: 785118:0c4b3b43c5a8
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Feb 24 06:21:36 2013 +0000

description:
Initialize t_softc.

diffstat:

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

diffs (26 lines):

diff -r f6e0d940c52e -r 0c4b3b43c5a8 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c  Sun Feb 24 06:20:24 2013 +0000
+++ b/sys/dev/ic/com.c  Sun Feb 24 06:21:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.307 2013/01/10 17:38:10 macallan Exp $ */
+/* $NetBSD: com.c,v 1.308 2013/02/24 06:21:36 matt Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.307 2013/01/10 17:38:10 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.308 2013/02/24 06:21:36 matt Exp $");
 
 #include "opt_com.h"
 #include "opt_ddb.h"
@@ -515,6 +515,7 @@
        tp->t_oproc = comstart;
        tp->t_param = comparam;
        tp->t_hwiflow = comhwiflow;
+       tp->t_softc = sc;
 
        sc->sc_tty = tp;
        sc->sc_rbuf = malloc(com_rbuf_size << 1, M_DEVBUF, M_NOWAIT);



Home | Main Index | Thread Index | Old Index