Module Name:    src
Committed By:   flxd
Date:           Sat Jun 10 12:03:30 UTC 2017

Modified Files:
        src/sys/dev/tc: tc.c

Log Message:
Fix missing TC bus speed.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 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.55 src/sys/dev/tc/tc.c:1.56
--- src/sys/dev/tc/tc.c:1.55	Fri Jun  9 17:55:18 2017
+++ src/sys/dev/tc/tc.c	Sat Jun 10 12:03:30 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: tc.c,v 1.55 2017/06/09 17:55:18 flxd Exp $	*/
+/*	$NetBSD: tc.c,v 1.56 2017/06/10 12:03:30 flxd Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tc.c,v 1.55 2017/06/09 17:55:18 flxd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tc.c,v 1.56 2017/06/10 12:03:30 flxd 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