Module Name: src
Committed By: msaitoh
Date: Thu May 10 03:41:00 UTC 2018
Modified Files:
src/sys/dev/pci: ehci_pci.c uhci_pci.c
Log Message:
KNF. No binary change.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pci/ehci_pci.c
cvs rdiff -u -r1.62 -r1.63 src/sys/dev/pci/uhci_pci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/ehci_pci.c
diff -u src/sys/dev/pci/ehci_pci.c:1.66 src/sys/dev/pci/ehci_pci.c:1.67
--- src/sys/dev/pci/ehci_pci.c:1.66 Mon Apr 9 16:21:10 2018
+++ src/sys/dev/pci/ehci_pci.c Thu May 10 03:41:00 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci_pci.c,v 1.66 2018/04/09 16:21:10 jakllsch Exp $ */
+/* $NetBSD: ehci_pci.c,v 1.67 2018/05/10 03:41:00 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.66 2018/04/09 16:21:10 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci_pci.c,v 1.67 2018/05/10 03:41:00 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -191,7 +191,7 @@ ehci_pci_attach(device_t parent, device_
}
aprint_normal_dev(self, "interrupting at %s\n", intrstr);
- switch(pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
+ switch (pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
case PCI_USBREV_PRE_1_0:
case PCI_USBREV_1_0:
case PCI_USBREV_1_1:
Index: src/sys/dev/pci/uhci_pci.c
diff -u src/sys/dev/pci/uhci_pci.c:1.62 src/sys/dev/pci/uhci_pci.c:1.63
--- src/sys/dev/pci/uhci_pci.c:1.62 Mon Apr 9 16:21:10 2018
+++ src/sys/dev/pci/uhci_pci.c Thu May 10 03:41:00 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci_pci.c,v 1.62 2018/04/09 16:21:10 jakllsch Exp $ */
+/* $NetBSD: uhci_pci.c,v 1.63 2018/05/10 03:41:00 msaitoh Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci_pci.c,v 1.62 2018/04/09 16:21:10 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci_pci.c,v 1.63 2018/05/10 03:41:00 msaitoh Exp $");
#include "ehci.h"
@@ -154,7 +154,7 @@ uhci_pci_attach(device_t parent, device_
bus_space_read_2(sc->sc.iot, sc->sc.ioh, UHCI_STS));
splx(s);
- switch(pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
+ switch (pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
case PCI_USBREV_PRE_1_0:
sc->sc.sc_bus.ub_revision = USBREV_PRE_1_0;
break;