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/4672b0d47a93
branches:  trunk
changeset: 1002704:4672b0d47a93
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 fea202aea241 -r 4672b0d47a93 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