From 5ff8dcf375bbef9df925a3c354cfc74b327aa0dc Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 14 Sep 2013 13:17:21 +0000 Subject: [PATCH] Put UREAD4 under UHCI_DEBUG --- sys/dev/usb/uhci.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 5fd8a4730564..fa939604f2f5 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $NetBSD: uhci.c,v 1.259 2013/09/08 06:37:23 skrll Exp $ */ +/* $NetBSD: uhci.c,v 1.260 2013/09/14 13:17:21 joerg Exp $ */ /* * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.259 2013/09/08 06:37:23 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.260 2013/09/14 13:17:21 joerg Exp $"); #include #include @@ -263,6 +263,7 @@ UREAD2(uhci_softc_t *sc, bus_size_t r) return bus_space_read_2(sc->iot, sc->ioh, r); } +#ifdef UHCI_DEBUG static __inline uint32_t UREAD4(uhci_softc_t *sc, bus_size_t r) { @@ -270,6 +271,7 @@ UREAD4(uhci_softc_t *sc, bus_size_t r) UBARR(sc); return bus_space_read_4(sc->iot, sc->ioh, r); } +#endif #define UHCICMD(sc, cmd) UWRITE2(sc, UHCI_CMD, cmd) #define UHCISTS(sc) UREAD2(sc, UHCI_STS)