Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Make MUE_[TR]X_LIST_CNT configurable for debugging.



details:   https://anonhg.NetBSD.org/src/rev/b4eaf3430a3e
branches:  trunk
changeset: 996398:b4eaf3430a3e
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Jan 31 05:25:07 2019 +0000

description:
Make MUE_[TR]X_LIST_CNT configurable for debugging.

diffstat:

 sys/dev/usb/if_muevar.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 5bd077b9622f -r b4eaf3430a3e sys/dev/usb/if_muevar.h
--- a/sys/dev/usb/if_muevar.h   Thu Jan 31 05:20:49 2019 +0000
+++ b/sys/dev/usb/if_muevar.h   Thu Jan 31 05:25:07 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_muevar.h,v 1.4 2019/01/05 07:56:07 mlelstv Exp $    */
+/*     $NetBSD: if_muevar.h,v 1.5 2019/01/31 05:25:07 rin Exp $        */
 /*     $OpenBSD: if_muereg.h,v 1.1 2018/08/03 01:50:15 kevlo Exp $     */
 
 /*
@@ -31,9 +31,13 @@
 };
 
 struct mue_cdata {
+#ifndef MUE_TX_LIST_CNT
 #define MUE_TX_LIST_CNT        4
+#endif
        struct mue_chain        mue_tx_chain[MUE_TX_LIST_CNT];
+#ifndef MUE_RX_LIST_CNT
 #define MUE_RX_LIST_CNT        4
+#endif
        struct mue_chain        mue_rx_chain[MUE_RX_LIST_CNT];
        int                     mue_tx_prod;
        int                     mue_tx_cons;



Home | Main Index | Thread Index | Old Index