No binary change.
-/* $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 $ */
/*
#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,
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);
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;
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
return (0);
}
-void
+void
pcic_cbus_chip_io_free(pcmcia_chipset_handle_t pch,
struct pcmcia_io_handle *pcihp)
{
-/* $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 $ */
/*-
/*
* 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)
#include <dev/ic/ne2000var.h>
#include <dev/ic/rtl80x9reg.h>
-#include <dev/ic/rtl80x9var.h>
+#include <dev/ic/rtl80x9var.h>
#include <arch/luna88k/cbus/cbusvar.h>
-/* $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$ */
/* 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 },
sc->pdma_nchunk--;
sc->pdma_count -= cc;
- sc->pdma_ptr += nbyte;
+ sc->pdma_ptr += nbyte;
} else {
/* ??? - This should never happen. */
nbyte = 0;