Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb urndis_attach: change "sc->sc_bulkout_no" to "un...



details:   https://anonhg.NetBSD.org/src/rev/ce811c95a81b
branches:  trunk
changeset: 458812:ce811c95a81b
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sun Aug 11 13:16:10 2019 +0000

description:
urndis_attach: change "sc->sc_bulkout_no" to "un->un_ed[USBNET_ENDPT_TX]"
in DPRINTF().

Kernels ALL/amd64 and ALL/i386 compile again.

diffstat:

 sys/dev/usb/if_urndis.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e87fc3caab0b -r ce811c95a81b sys/dev/usb/if_urndis.c
--- a/sys/dev/usb/if_urndis.c   Sun Aug 11 12:16:59 2019 +0000
+++ b/sys/dev/usb/if_urndis.c   Sun Aug 11 13:16:10 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urndis.c,v 1.27 2019/08/10 02:17:36 mrg Exp $ */
+/*     $NetBSD: if_urndis.c,v 1.28 2019/08/11 13:16:10 hannken Exp $ */
 /*     $OpenBSD: if_urndis.c,v 1.31 2011/07/03 15:47:17 matthew Exp $ */
 
 /*
@@ -21,7 +21,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.27 2019/08/10 02:17:36 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.28 2019/08/11 13:16:10 hannken Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1032,7 +1032,7 @@
                        DPRINTF(("%s: in=0x%x, out=0x%x\n",
                            DEVNAME(un),
                            un->un_ed[USBNET_ENDPT_RX],
-                           sc->sc_bulkout_no));
+                           un->un_ed[USBNET_ENDPT_TX]));
                        break;
                }
        }



Home | Main Index | Thread Index | Old Index