Source-Changes-HG archive

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

[src/bouyer-socketcan]: src/sys/netcan Remove clt_clock_freq from user-suppli...



details:   https://anonhg.NetBSD.org/src/rev/cd4e92fa2e7f
branches:  bouyer-socketcan
changeset: 820880:cd4e92fa2e7f
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Tue Apr 18 20:36:27 2017 +0000

description:
Remove clt_clock_freq from user-supplied timing informations, it is defined
by the brp.

diffstat:

 sys/netcan/can_link.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r feea0addbca5 -r cd4e92fa2e7f sys/netcan/can_link.h
--- a/sys/netcan/can_link.h     Tue Apr 18 19:41:28 2017 +0000
+++ b/sys/netcan/can_link.h     Tue Apr 18 20:36:27 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: can_link.h,v 1.1.2.1 2017/04/17 20:32:27 bouyer Exp $  */
+/*     $NetBSD: can_link.h,v 1.1.2.2 2017/04/18 20:36:27 bouyer Exp $  */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -55,7 +55,6 @@
 
 /* get/set timing parameters */
 struct can_link_timings {
-       uint32_t clt_clock_freq; /* prescaler input clock, in hz */
        uint32_t clt_brp;       /* prescaler value */
        uint32_t clt_prop;      /* Propagation segment in tq */
        uint32_t clt_ps1;       /* Phase segment 1 in tq */



Home | Main Index | Thread Index | Old Index