Module Name:    src
Committed By:   snj
Date:           Sat Jul  1 08:41:23 UTC 2017

Modified Files:
        src/sys/dev/tc [netbsd-8]: tc.c

Log Message:
Pull up following revision(s) (requested by flxd in ticket #66):
        sys/dev/tc/tc.c: revision 1.56
Fix missing TC bus speed.


To generate a diff of this commit:
cvs rdiff -u -r1.54.8.1 -r1.54.8.2 src/sys/dev/tc/tc.c

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

Modified files:

Index: src/sys/dev/tc/tc.c
diff -u src/sys/dev/tc/tc.c:1.54.8.1 src/sys/dev/tc/tc.c:1.54.8.2
--- src/sys/dev/tc/tc.c:1.54.8.1	Sat Jul  1 08:39:21 2017
+++ src/sys/dev/tc/tc.c	Sat Jul  1 08:41:23 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: tc.c,v 1.54.8.1 2017/07/01 08:39:21 snj Exp $	*/
+/*	$NetBSD: tc.c,v 1.54.8.2 2017/07/01 08:41:23 snj Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tc.c,v 1.54.8.1 2017/07/01 08:39:21 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tc.c,v 1.54.8.2 2017/07/01 08:41:23 snj Exp $");
 
 #include "opt_tcverbose.h"
 
@@ -168,6 +168,7 @@ tcattach(device_t parent, device_t self,
 		ta.ta_offset = 0;
 		ta.ta_addr = tcaddr;
 		ta.ta_cookie = slot->tcs_cookie;
+		ta.ta_busspeed = sc->sc_speed;
 
 		/*
 		 * Mark the slot as used.

Reply via email to