Module Name: src Committed By: msaitoh Date: Sat Jan 7 03:27:02 UTC 2023
Modified Files: src/sys/dev/ic: igpio.c igpiovar.h Log Message: Whitespace. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/dev/ic/igpio.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/ic/igpiovar.h 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/ic/igpio.c diff -u src/sys/dev/ic/igpio.c:1.4 src/sys/dev/ic/igpio.c:1.5 --- src/sys/dev/ic/igpio.c:1.4 Sat Mar 26 19:35:56 2022 +++ src/sys/dev/ic/igpio.c Sat Jan 7 03:27:01 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: igpio.c,v 1.4 2022/03/26 19:35:56 riastradh Exp $ */ +/* $NetBSD: igpio.c,v 1.5 2023/01/07 03:27:01 msaitoh Exp $ */ /* * Copyright (c) 2021,2022 Emmanuel Dreyfus @@ -301,7 +301,7 @@ igpio_attach(struct igpio_softc *sc) DPRINTF(("padbar[%d] = #%x\n", i, ib->ib_padbar)); if (ib->ib_padbar > sc->sc_length[i]) { printf("PADBAR = #%x higher than max #%lx\n", - ib->ib_padbar, sc->sc_length[i]); + ib->ib_padbar, sc->sc_length[i]); goto out; } @@ -320,7 +320,7 @@ igpio_attach(struct igpio_softc *sc) npins = 1 + ibs->ibs_last_pin - ibs->ibs_first_pin; ib->ib_intr = - kmem_zalloc(sizeof(*ib->ib_intr) * npins, KM_SLEEP); + kmem_zalloc(sizeof(*ib->ib_intr) * npins, KM_SLEEP); sc->sc_npins += npins; } @@ -640,8 +640,8 @@ igpio_intr_establish(void *priv, int pin newval |= IGPIO_PADCFG0_RXEVCFG_EDGE_BOTH; break; case GPIO_INTR_NEG_EDGE: - newval |= IGPIO_PADCFG0_RXEVCFG_EDGE; - newval |= IGPIO_PADCFG0_RXINV; + newval |= IGPIO_PADCFG0_RXEVCFG_EDGE; + newval |= IGPIO_PADCFG0_RXINV; break; case GPIO_INTR_POS_EDGE: newval |= IGPIO_PADCFG0_RXEVCFG_EDGE; Index: src/sys/dev/ic/igpiovar.h diff -u src/sys/dev/ic/igpiovar.h:1.1 src/sys/dev/ic/igpiovar.h:1.2 --- src/sys/dev/ic/igpiovar.h:1.1 Thu Mar 24 02:24:25 2022 +++ src/sys/dev/ic/igpiovar.h Sat Jan 7 03:27:01 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: igpiovar.h,v 1.1 2022/03/24 02:24:25 manu Exp $ */ +/* $NetBSD: igpiovar.h,v 1.2 2023/01/07 03:27:01 msaitoh Exp $ */ /* * Copyright (c) 2021 Emmanuel Dreyfus @@ -31,7 +31,7 @@ struct igpio_softc { device_t sc_dev; - const char *sc_acpi_hid; + const char *sc_acpi_hid; bus_space_tag_t sc_bst; int sc_nbar; bus_addr_t *sc_base;