Module Name: src Committed By: riastradh Date: Wed Aug 7 00:47:35 UTC 2024
Modified Files: src/sys/arch/hppa/dev: hyperfb.c Log Message: hyperfb(4): Nix trailing whitespace. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/hppa/dev/hyperfb.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/arch/hppa/dev/hyperfb.c diff -u src/sys/arch/hppa/dev/hyperfb.c:1.10 src/sys/arch/hppa/dev/hyperfb.c:1.11 --- src/sys/arch/hppa/dev/hyperfb.c:1.10 Tue Aug 6 07:34:23 2024 +++ src/sys/arch/hppa/dev/hyperfb.c Wed Aug 7 00:47:34 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: hyperfb.c,v 1.10 2024/08/06 07:34:23 macallan Exp $ */ +/* $NetBSD: hyperfb.c,v 1.11 2024/08/07 00:47:34 riastradh Exp $ */ /* * Copyright (c) 2024 Michael Lorenz @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: hyperfb.c,v 1.10 2024/08/06 07:34:23 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hyperfb.c,v 1.11 2024/08/07 00:47:34 riastradh Exp $"); #include "opt_cputype.h" #include "opt_hyperfb.h" @@ -220,11 +220,11 @@ hyperfb_setup_fb(struct hyperfb_softc *s */ hyperfb_wait(sc); if ((sc->sc_mode != WSDISPLAYIO_MODE_EMUL) && sc->sc_24bit) { - hyperfb_write4(sc, NGLE_REG_10, + hyperfb_write4(sc, NGLE_REG_10, BA(FractDcd, Otc24, Ots08, AddrLong, 0, BINapp0F8, 0)); hyperfb_write4(sc, NGLE_REG_13, 0xffffffff); } else { - hyperfb_write4(sc, NGLE_REG_10, + hyperfb_write4(sc, NGLE_REG_10, BA(IndexedDcd, Otc04, Ots08, AddrByte, 0, BINovly, 0)); hyperfb_write4(sc, NGLE_REG_13, 0xff); } @@ -239,7 +239,7 @@ hyperfb_setup_fb24(struct hyperfb_softc { hyperfb_wait(sc); - hyperfb_write4(sc, NGLE_REG_10, + hyperfb_write4(sc, NGLE_REG_10, BA(FractDcd, Otc24, Ots08, AddrLong, 0, BINapp0F8, 0)); hyperfb_write4(sc, NGLE_REG_13, 0xffffffff); hyperfb_write4(sc, NGLE_REG_14, 0x83000300); @@ -855,7 +855,7 @@ hyperfb_setup(struct hyperfb_softc *sc) if (sc->sc_24bit) { /* overlay transparency */ hyperfb_wait_fifo(sc, 7); - hyperfb_write4(sc, NGLE_REG_11, + hyperfb_write4(sc, NGLE_REG_11, BA(IndexedDcd, Otc04, Ots08, AddrLong, 0, BINovly, 0)); hyperfb_write4(sc, NGLE_REG_14, 0x03000300); hyperfb_write4(sc, NGLE_REG_3, 0x000017f0); @@ -996,7 +996,7 @@ hyperfb_rectfill(struct hyperfb_softc *s */ if (sc->sc_hwmode != HW_SFILL) { hyperfb_wait(sc); - hyperfb_write4(sc, NGLE_REG_10, + hyperfb_write4(sc, NGLE_REG_10, BA(IndexedDcd, Otc04, Ots08, AddrLong, 0, BINovly, 0)); sc->sc_hwmode = HW_SFILL; } @@ -1056,7 +1056,7 @@ hyperfb_bitblt(void *cookie, int xs, int if (sc->sc_hwmode != HW_BLIT) { hyperfb_wait(sc); - hyperfb_write4(sc, NGLE_REG_10, + hyperfb_write4(sc, NGLE_REG_10, BA(IndexedDcd, Otc04, Ots08, AddrLong, 0, BINovly, 0)); hyperfb_write4(sc, NGLE_REG_13, 0xff); sc->sc_hwmode = HW_BLIT;