summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/auixp.c12
-rw-r--r--sys/dev/pci/drm/i915/i915_driver.c2
-rw-r--r--sys/dev/pci/maestro.c4
-rw-r--r--sys/dev/pci/vmwpvs.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c
index 9cd54932dbc..74db46167f3 100644
--- a/sys/dev/pci/auixp.c
+++ b/sys/dev/pci/auixp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auixp.c,v 1.54 2024/08/18 14:42:56 deraadt Exp $ */
+/* $OpenBSD: auixp.c,v 1.55 2024/09/20 02:00:46 jsg Exp $ */
/* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */
/*
@@ -145,7 +145,7 @@ void auixp_dma_update(struct auixp_softc *, struct auixp_dma *);
void auixp_update_busbusy(struct auixp_softc *);
#ifdef DEBUG_AUIXP
-#define DPRINTF(x) printf x;
+#define DPRINTF(x) printf x
#else
#define DPRINTF(x)
#endif
@@ -1383,7 +1383,7 @@ auixp_reset_aclink(struct auixp_softc *sc)
/* have to wait at least 10 usec for it to initialise */
DELAY(20);
- };
+ }
printf("%s: soft resetting aclink\n", sc->sc_dev.dv_xname);
@@ -1427,15 +1427,15 @@ auixp_reset_aclink(struct auixp_softc *sc)
timeout--;
if (timeout == 0) break;
- };
+ }
if (timeout == 0) {
printf("%s: giving up aclink reset\n", sc->sc_dev.dv_xname);
- };
+ }
if (timeout != 10) {
printf("%s: aclink hardware reset successful\n",
sc->sc_dev.dv_xname);
- };
+ }
/* assert reset and sync for safety */
value = bus_space_read_4(iot, ioh, ATI_REG_CMD);
diff --git a/sys/dev/pci/drm/i915/i915_driver.c b/sys/dev/pci/drm/i915/i915_driver.c
index 00ab1ef519b..5e3629934d6 100644
--- a/sys/dev/pci/drm/i915/i915_driver.c
+++ b/sys/dev/pci/drm/i915/i915_driver.c
@@ -2274,7 +2274,7 @@ inteldrm_attach(struct device *parent, struct device *self, void *aux)
& (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE))
== (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE)) {
dev_priv->primary = 1;
- dev_priv->console = vga_is_console(pa->pa_iot, -1);;
+ dev_priv->console = vga_is_console(pa->pa_iot, -1);
vga_console_attached = 1;
}
diff --git a/sys/dev/pci/maestro.c b/sys/dev/pci/maestro.c
index f87067e5e56..865f5743330 100644
--- a/sys/dev/pci/maestro.c
+++ b/sys/dev/pci/maestro.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: maestro.c,v 1.55 2024/09/04 07:54:52 mglocker Exp $ */
+/* $OpenBSD: maestro.c,v 1.56 2024/09/20 02:00:46 jsg Exp $ */
/* $FreeBSD: /c/ncvs/src/sys/dev/sound/pci/maestro.c,v 1.3 2000/11/21 12:22:11 julian Exp $ */
/*
* FreeBSD's ESS Agogo/Maestro driver
@@ -627,7 +627,7 @@ maestro_attach(struct device *parent, struct device *self, void *aux)
0, &sc->iot, &sc->ioh, NULL, NULL, 0)) != 0) {
printf(", can't map i/o space\n");
goto bad;
- };
+ }
/* Allocate fixed DMA segment :-( */
sc->dmasize = MAESTRO_BUFSIZ * 16;
diff --git a/sys/dev/pci/vmwpvs.c b/sys/dev/pci/vmwpvs.c
index 6ac67d1db4a..84d0a0d85d6 100644
--- a/sys/dev/pci/vmwpvs.c
+++ b/sys/dev/pci/vmwpvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmwpvs.c,v 1.29 2024/09/04 07:54:52 mglocker Exp $ */
+/* $OpenBSD: vmwpvs.c,v 1.30 2024/09/20 02:00:46 jsg Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
@@ -799,7 +799,7 @@ vmwpvs_msg_task(void *xsc)
printf("%s: error probing target %d lun %d\n",
DEVNAME(sc), letoh32(dvmsg->target),
dvmsg->lun[1]);
- };
+ }
break;
case VMWPVS_MSG_T_REMOVED:
@@ -817,7 +817,7 @@ vmwpvs_msg_task(void *xsc)
printf("%s: error detaching target %d lun %d\n",
DEVNAME(sc), letoh32(dvmsg->target),
dvmsg->lun[1]);
- };
+ }
break;
default: