Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb burst_cap is always set now - remove the conditi...



details:   https://anonhg.NetBSD.org/src/rev/0aa68586dab9
branches:  trunk
changeset: 329791:0aa68586dab9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jun 09 15:48:36 2014 +0000

description:
burst_cap is always set now - remove the conditional.

diffstat:

 sys/dev/usb/if_smsc.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 40ad96c7f014 -r 0aa68586dab9 sys/dev/usb/if_smsc.c
--- a/sys/dev/usb/if_smsc.c     Mon Jun 09 14:44:48 2014 +0000
+++ b/sys/dev/usb/if_smsc.c     Mon Jun 09 15:48:36 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_smsc.c,v 1.13 2014/06/09 14:18:28 mlelstv Exp $     */
+/*     $NetBSD: if_smsc.c,v 1.14 2014/06/09 15:48:36 skrll Exp $       */
 
 /*     $OpenBSD: if_smsc.c,v 1.4 2012/09/27 12:38:11 jsg Exp $ */
 /* $FreeBSD: src/sys/dev/usb/net/if_smsc.c,v 1.1 2012/08/15 04:03:55 gonzo Exp $ */
@@ -835,8 +835,7 @@
         * The following settings are used for 'turbo mode', a.k.a multiple
         * frames per Rx transaction (again info taken form Linux driver).
         */
-       if (burst_cap)
-               reg_val |= (SMSC_HW_CFG_MEF | SMSC_HW_CFG_BCE);
+       reg_val |= (SMSC_HW_CFG_MEF | SMSC_HW_CFG_BCE);
 
        /*               
         * set Rx data offset to ETHER_ALIGN which will make the IP header



Home | Main Index | Thread Index | Old Index