Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/arm/allwinner Revert previous; wrong branch



details:   https://anonhg.NetBSD.org/src/rev/3267190653d8
branches:  netbsd-8
changeset: 850781:3267190653d8
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Jul 02 15:08:29 2017 +0000

description:
Revert previous; wrong branch

diffstat:

 sys/arch/arm/allwinner/awin_can.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 3f8e255d5597 -r 3267190653d8 sys/arch/arm/allwinner/awin_can.c
--- a/sys/arch/arm/allwinner/awin_can.c Sun Jul 02 15:07:13 2017 +0000
+++ b/sys/arch/arm/allwinner/awin_can.c Sun Jul 02 15:08:29 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: awin_can.c,v 1.2.2.1 2017/07/02 15:07:13 bouyer Exp $  */
+/*     $NetBSD: awin_can.c,v 1.2.2.2 2017/07/02 15:08:29 bouyer Exp $  */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_can.c,v 1.2.2.1 2017/07/02 15:07:13 bouyer Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_can.c,v 1.2.2.2 2017/07/02 15:08:29 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -239,14 +239,12 @@
 
        if (dlc > CAN_MAX_DLC) {
                ifp->if_ierrors++;
-               awin_can_write(sc, AWIN_CAN_CMD_REG, AWIN_CAN_CMD_REL_RX_BUF);
                return;
        }
                
        m = m_gethdr(M_NOWAIT, MT_HEADER);
        if (m == NULL) {
                ifp->if_ierrors++;
-               awin_can_write(sc, AWIN_CAN_CMD_REG, AWIN_CAN_CMD_REL_RX_BUF);
                return;
        }
        cf = mtod(m, struct can_frame *);



Home | Main Index | Thread Index | Old Index