summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-02-17 12:41:50 +0000
committerjoe <joe@FreeBSD.org>2002-02-17 12:41:50 +0000
commitdd1ff75f12c97ecf3e17b5ccd58c736288268e2d (patch)
tree298f495aa3db161cd4bd1f8bfc95ec4b21183119
parent11036ac6d3c61dbfc20ac1747e52b17a2d996c37 (diff)
downloadFreeBSD-src-dd1ff75f12c97ecf3e17b5ccd58c736288268e2d.zip
FreeBSD-src-dd1ff75f12c97ecf3e17b5ccd58c736288268e2d.tar.gz
Fix a formatting error.
-rw-r--r--sys/dev/usb/uhci_pci.c12
-rw-r--r--sys/pci/uhci_pci.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index 7bfb682..db3d5c6 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -347,12 +347,12 @@ uhci_pci_detach(device_t self)
we should call something like uhci_deinit
#endif
- /*
- * disable interrupts that might have been switched on in
- * uhci_init.
- */
- if (sc->iot && sc->ioh)
- bus_space_write_2(sc->iot, sc->ioh, UHCI_INTR, 0);
+ /*
+ * disable interrupts that might have been switched on in
+ * uhci_init.
+ */
+ if (sc->iot && sc->ioh)
+ bus_space_write_2(sc->iot, sc->ioh, UHCI_INTR, 0);
if (sc->irq_res && sc->ih) {
int err = bus_teardown_intr(self, sc->irq_res, sc->ih);
diff --git a/sys/pci/uhci_pci.c b/sys/pci/uhci_pci.c
index 7bfb682..db3d5c6 100644
--- a/sys/pci/uhci_pci.c
+++ b/sys/pci/uhci_pci.c
@@ -347,12 +347,12 @@ uhci_pci_detach(device_t self)
we should call something like uhci_deinit
#endif
- /*
- * disable interrupts that might have been switched on in
- * uhci_init.
- */
- if (sc->iot && sc->ioh)
- bus_space_write_2(sc->iot, sc->ioh, UHCI_INTR, 0);
+ /*
+ * disable interrupts that might have been switched on in
+ * uhci_init.
+ */
+ if (sc->iot && sc->ioh)
+ bus_space_write_2(sc->iot, sc->ioh, UHCI_INTR, 0);
if (sc->irq_res && sc->ih) {
int err = bus_teardown_intr(self, sc->irq_res, sc->ih);
OpenPOWER on IntegriCloud