Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/imx enet(4): fix refactoring accident. Spotted...



details:   https://anonhg.NetBSD.org/src/rev/5746f01b25f4
branches:  trunk
changeset: 948758:5746f01b25f4
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Dec 31 02:16:14 2020 +0000

description:
enet(4): fix refactoring accident.  Spotted by mrg@.

diffstat:

 sys/arch/arm/imx/if_enet.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3603cb6b1bcb -r 5746f01b25f4 sys/arch/arm/imx/if_enet.c
--- a/sys/arch/arm/imx/if_enet.c        Wed Dec 30 14:50:08 2020 +0000
+++ b/sys/arch/arm/imx/if_enet.c        Thu Dec 31 02:16:14 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_enet.c,v 1.32 2020/05/14 08:34:19 msaitoh Exp $     */
+/*     $NetBSD: if_enet.c,v 1.33 2020/12/31 02:16:14 uwe Exp $ */
 
 /*
  * Copyright (c) 2014 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet.c,v 1.32 2020/05/14 08:34:19 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet.c,v 1.33 2020/12/31 02:16:14 uwe Exp $");
 
 #include "vlan.h"
 
@@ -1844,7 +1844,7 @@
            sc->sc_rxdesc_dmamap->dm_mapsize, BUS_DMASYNC_PREWRITE);
 
        /* enable interrupts */
-       val = ENET_EIMR | ENET_EIR_TXF | ENET_EIR_RXF | ENET_EIR_EBERR;
+       val = ENET_EIR_TXF | ENET_EIR_RXF | ENET_EIR_EBERR;
        if (sc->sc_imxtype == 7)
                val |= ENET_EIR_TXF2 | ENET_EIR_RXF2 | ENET_EIR_TXF1 |
                    ENET_EIR_RXF1;



Home | Main Index | Thread Index | Old Index