Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Use #if 0 / #endif instead of comment for d...
details: https://anonhg.NetBSD.org/src/rev/446444099375
branches: nick-nhusb
changeset: 334286:446444099375
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 24 15:21:51 2015 +0000
description:
Use #if 0 / #endif instead of comment for disabling code
diffstat:
sys/dev/usb/ehci.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 8a0b0eabafc4 -r 446444099375 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Sat Oct 24 10:37:22 2015 +0000
+++ b/sys/dev/usb/ehci.c Sat Oct 24 15:21:51 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.234.2.58 2015/10/20 15:31:21 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.234.2.59 2015/10/24 15:21:51 skrll Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.58 2015/10/20 15:31:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.59 2015/10/24 15:21:51 skrll Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -4175,12 +4175,13 @@
huba = dev->ud_myhsport->up_parent->ud_addr;
-/* if (sc->sc_flags & EHCIF_FREESCALE) {
+#if 0
+ if (sc->sc_flags & EHCIF_FREESCALE) {
// Set hub address to 0 if embedded TT is used.
if (huba == sc->sc_addr)
huba = 0;
}
-*/
+#endif
k = epipe->pipe.up_endpoint->ue_edesc->bEndpointAddress;
dir = UE_GET_DIR(k) ? 1 : 0;
Home |
Main Index |
Thread Index |
Old Index