From 3ad4051d1cf60db4c5cffe8291e17025ea6b5f52 Mon Sep 17 00:00:00 2001 From: aoyama Date: Thu, 2 May 2024 09:38:59 +0000 Subject: [PATCH] Delete extra spaces, change spaces to tab. No binary change. --- sys/arch/luna88k/cbus/i82365_cbus.c | 14 +++++++------- sys/arch/luna88k/cbus/if_ne_cbus.c | 6 +++--- sys/arch/luna88k/cbus/nec86hw.c | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/sys/arch/luna88k/cbus/i82365_cbus.c b/sys/arch/luna88k/cbus/i82365_cbus.c index 441fddd2da4..a69a143cefc 100644 --- a/sys/arch/luna88k/cbus/i82365_cbus.c +++ b/sys/arch/luna88k/cbus/i82365_cbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365_cbus.c,v 1.7 2022/04/06 18:59:26 naddy Exp $ */ +/* $OpenBSD: i82365_cbus.c,v 1.8 2024/05/02 09:38:59 aoyama Exp $ */ /* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */ /* @@ -77,7 +77,7 @@ #define PCIC_CIRRUS_MISC_CTL_1_PULSE_SYS_IRQ 0x08 #define PCEXMEM_BASE PC_BASE -#define PCEXIO_BASE PC_BASE + 0x1000000 +#define PCEXIO_BASE PC_BASE + 0x1000000 /* prototypes */ void *pcic_cbus_chip_intr_establish(pcmcia_chipset_handle_t, @@ -177,8 +177,8 @@ pcic_cbus_probe(parent, match, aux) bus_size_t msize; int val, found; - if (strcmp(caa->ca_name, cf->cf_driver->cd_name) != 0) - return (0); + if (strcmp(caa->ca_name, cf->cf_driver->cd_name) != 0) + return (0); SET_TAG_LITTLE_ENDIAN(iot); SET_TAG_LITTLE_ENDIAN(memt); @@ -449,7 +449,7 @@ pcic_cbus_intlevel_find(void) u_int8_t cbus_not_used = ~cbus_intr_registered(); for (intlevel = 0; intlevel < NCBUSISR; intlevel++) - if (cbus_not_used & (1 << (6 - intlevel))) { + if (cbus_not_used & (1 << (6 - intlevel))) { irq = pcic_cbus_int2irq[intlevel]; if ((1 << irq) & PCIC_INTR_IRQ_VALIDMASK) break; @@ -489,7 +489,7 @@ pcic_cbus_chip_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, DPRINTF(("pcic_cbus_chip_io_alloc map port %lx+%lx\n", (u_long)ioaddr, (u_long)size)); } else if (sc->ranges) { - /* + /* * In this case, we know the "size" and "align" that * we want. So we need to start walking down * sc->ranges, searching for a similar space that @@ -541,7 +541,7 @@ pcic_cbus_chip_io_alloc(pcmcia_chipset_handle_t pch, bus_addr_t start, return (0); } -void +void pcic_cbus_chip_io_free(pcmcia_chipset_handle_t pch, struct pcmcia_io_handle *pcihp) { diff --git a/sys/arch/luna88k/cbus/if_ne_cbus.c b/sys/arch/luna88k/cbus/if_ne_cbus.c index bd40e384df5..3e1e87581a5 100644 --- a/sys/arch/luna88k/cbus/if_ne_cbus.c +++ b/sys/arch/luna88k/cbus/if_ne_cbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ne_cbus.c,v 1.3 2023/09/11 08:41:26 mvs Exp $ */ +/* $OpenBSD: if_ne_cbus.c,v 1.4 2024/05/02 09:38:59 aoyama Exp $ */ /* $NetBSD: if_ne_isa.c,v 1.6 1998/07/05 06:49:13 jonathan Exp $ */ /*- @@ -39,7 +39,7 @@ /* * Supported boards: * - Allied Telesis CentreCOM LA-98 series - * Available configuration: + * Available configuration: * INT(IRQ): 0(3), 1(5), 2(6), 3(9), 4(10), 5(12), 6(13) (default: INT0) * I/O address: 0xc8d0, 0xc2d0, 0xc4d0, 0xc460, 0xc9d0, 0xcad0, 0xcbd0 * (default 0xc8d0) @@ -77,7 +77,7 @@ #include #include -#include +#include #include diff --git a/sys/arch/luna88k/cbus/nec86hw.c b/sys/arch/luna88k/cbus/nec86hw.c index e0b85142a49..f28db92740c 100644 --- a/sys/arch/luna88k/cbus/nec86hw.c +++ b/sys/arch/luna88k/cbus/nec86hw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nec86hw.c,v 1.9 2022/11/02 10:41:34 kn Exp $ */ +/* $OpenBSD: nec86hw.c,v 1.10 2024/05/02 09:38:59 aoyama Exp $ */ /* $NecBSD: nec86hw.c,v 1.13 1998/03/14 07:04:54 kmatsuda Exp $ */ /* $NetBSD$ */ @@ -108,7 +108,7 @@ static struct nec86hw_functable_entry nec86hw_functable[] = { /* precision, channels, output function, input function (without resampling), output function, input function (with resampling) */ - { 8, 1, + { 8, 1, nec86fifo_output_mono_8_direct, nec86fifo_input_mono_8_direct }, { 16, 1, nec86fifo_output_mono_16_direct, nec86fifo_input_mono_16_direct }, @@ -894,7 +894,7 @@ nec86hw_output_chunk(struct nec86hw_softc *sc) sc->pdma_nchunk--; sc->pdma_count -= cc; - sc->pdma_ptr += nbyte; + sc->pdma_ptr += nbyte; } else { /* ??? - This should never happen. */ nbyte = 0; -- 2.20.1