CVS commit: src/sys/arch/hppa/dev

2024-03-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Mar 6 08:19:44 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: if the framebuffer is wider than the visible area, use the full width for the glyphcache To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/hppa/dev

2024-03-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Mar 6 08:19:44 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: if the framebuffer is wider than the visible area, use the full width for the glyphcache To generate a diff of this commit: cvs rdiff -u

CVS commit: src

2024-03-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Mar 4 10:19:14 UTC 2024 Modified Files: src/distrib/sets/lists/comp: mi src/sys/dev/ic: Makefile Log Message: install stireg.h To generate a diff of this commit: cvs rdiff -u -r1.2455 -r1.2456 src/distrib/sets/lis

CVS commit: src

2024-03-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Mar 4 10:19:14 UTC 2024 Modified Files: src/distrib/sets/lists/comp: mi src/sys/dev/ic: Makefile Log Message: install stireg.h To generate a diff of this commit: cvs rdiff -u -r1.2455 -r1.2456 src/distrib/sets/lis

CVS commit: src/sys/arch/hppa/dev

2024-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 28 14:12:12 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: support WSDISPLAYIO_SVIDEO so X can turn the monitor off so far I only know how to turn off video output, not sync(s). Better than nothing

CVS commit: src/sys/arch/hppa/dev

2024-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 28 14:12:12 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: support WSDISPLAYIO_SVIDEO so X can turn the monitor off so far I only know how to turn off video output, not sync(s). Better than nothing

CVS commit: src/sys/arch/hppa/dev

2024-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 28 10:25:36 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: add hardware cursor support, mostly for X To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hppa/dev/gftfb.c Plea

CVS commit: src/sys/arch/hppa/dev

2024-02-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 28 10:25:36 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: add hardware cursor support, mostly for X To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hppa/dev/gftfb.c Plea

CVS commit: src/sys/arch/hppa/dev

2024-02-21 Thread Michael Lorenz
$ */ /* * Copyright (c) 2006, 2007 Miodrag Vallat. + ^ 2024 Michael Lorenz * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -19,6 +20,11 @@ * OR IN CONNECTION WITH THE USE OR

CVS commit: src/sys/arch/hppa/dev

2024-02-21 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 21 13:24:40 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: avoid one more instance of unnecessary blitter stalling To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/hppa/dev

CVS commit: src/sys/arch/hppa/dev

2024-02-21 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 21 13:04:01 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: keep track of hw settings for blitter, fill of fb access to avoid unnecessary register writes while there, remove some accidentially left i

CVS commit: src/sys/arch/hppa/dev

2024-02-21 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 21 13:04:01 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: keep track of hw settings for blitter, fill of fb access to avoid unnecessary register writes while there, remove some accidentially left i

CVS commit: src/sys/arch/hppa/dev

2024-02-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 20 15:54:44 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: play the same lazy cursor (un)draw trick as cgsix and friends visible speedup in things like systat To generate a diff of this commit: cv

CVS commit: src/sys/arch/hppa/dev

2024-02-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 20 15:54:44 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: play the same lazy cursor (un)draw trick as cgsix and friends visible speedup in things like systat To generate a diff of this commit: cv

CVS commit: src/sys/arch/hppa/dev

2024-02-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 20 11:37:43 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: enable glyph cache, anti-aliased fonts etc. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hppa/dev/gftfb.c Pl

CVS commit: src/sys/arch/hppa/dev

2024-02-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 20 11:37:43 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: enable glyph cache, anti-aliased fonts etc. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hppa/dev/gftfb.c Pl

CVS commit: src/sys/dev/wscons

2024-02-20 Thread Michael Lorenz
etBSD: wsdisplay_glyphcache.c,v 1.13 2024/02/20 09:53:16 macallan Exp $ */ /* * Copyright (c) 2012 Michael Lorenz @@ -53,9 +53,6 @@ static inline int attr2idx(long attr) { - if ((attr & 0xf0f00ff8) != 0) - return -1; - return (((attr >> 16) & 0x0f) | ((attr >> 20) & 0xf0)); }

CVS commit: src/sys/dev/wscons

2024-02-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 20 09:53:16 UTC 2024 Modified Files: src/sys/dev/wscons: wsdisplay_glyphcache.c Log Message: remove check for unused bits in attr2idx() - this really wasn't helpful To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/sys/arch/hppa/dev

2024-02-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 15 16:17:32 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: blitter time! everything except drawing characters i now done by hardware next step - glyphcache To generate a diff of this commit: cvs r

CVS commit: src/sys/arch/hppa/dev

2024-02-15 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 15 16:17:32 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: blitter time! everything except drawing characters i now done by hardware next step - glyphcache To generate a diff of this commit: cvs r

CVS commit: src/sys/arch/hppa

2024-02-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 13 13:40:13 UTC 2024 Modified Files: src/sys/arch/hppa/conf: files.hppa Added Files: src/sys/arch/hppa/dev: gftfb.c Log Message: crude beginning of a native driver for PCI Visualize EG cards so far it supports: -

CVS commit: src/sys/arch/hppa

2024-02-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 13 13:40:13 UTC 2024 Modified Files: src/sys/arch/hppa/conf: files.hppa Added Files: src/sys/arch/hppa/dev: gftfb.c Log Message: crude beginning of a native driver for PCI Visualize EG cards so far it supports: -

CVS commit: src/sys/dev/ic

2024-02-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 13 13:17:51 UTC 2024 Modified Files: src/sys/dev/ic: sti.c Log Message: in sti_screen_setup() don't bother looking for fonts if STI_FBMODE is requested To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/

CVS commit: src/sys/dev/ic

2024-02-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 13 13:17:51 UTC 2024 Modified Files: src/sys/dev/ic: sti.c Log Message: in sti_screen_setup() don't bother looking for fonts if STI_FBMODE is requested To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/

CVS commit: src/sys/dev/ic

2024-01-31 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jan 31 08:15:00 UTC 2024 Modified Files: src/sys/dev/ic: sti.c Log Message: Make this work properly on PCI Visualize EG: - use bus_space_*_stream() for all register accesses in order to avoid byte order conversion on PCI d

CVS commit: src/sys/dev/ic

2024-01-31 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jan 31 08:15:00 UTC 2024 Modified Files: src/sys/dev/ic: sti.c Log Message: Make this work properly on PCI Visualize EG: - use bus_space_*_stream() for all register accesses in order to avoid byte order conversion on PCI d

CVS commit: src/sys/arch/hppa

2024-01-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Jan 28 09:03:22 UTC 2024 Modified Files: src/sys/arch/hppa/dev: dino.c elroy.c src/sys/arch/hppa/hppa: mainbus.c src/sys/arch/hppa/include: bus_defs.h bus_funcs.h Log Message: add missing bus_space_*_stream()

CVS commit: src/sys/arch/hppa

2024-01-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Jan 28 09:03:22 UTC 2024 Modified Files: src/sys/arch/hppa/dev: dino.c elroy.c src/sys/arch/hppa/hppa: mainbus.c src/sys/arch/hppa/include: bus_defs.h bus_funcs.h Log Message: add missing bus_space_*_stream()

CVS commit: src/sys/arch/hppa/hppa

2024-01-18 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jan 18 10:34:29 UTC 2024 Modified Files: src/sys/arch/hppa/hppa: mainbus.c Log Message: rearrange things so we: - find machine_ledaddr on Cxxx and the like without lcd at mainbus - build without options USELEDS To generate

CVS commit: src/sys/arch/hppa/hppa

2024-01-18 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jan 18 10:34:29 UTC 2024 Modified Files: src/sys/arch/hppa/hppa: mainbus.c Log Message: rearrange things so we: - find machine_ledaddr on Cxxx and the like without lcd at mainbus - build without options USELEDS To generate

CVS commit: xsrc/local/programs/bdfload

2024-01-08 Thread Michael Lorenz
+1,4 @@ -/* $NetBSD: bdfload.c,v 1.20 2023/07/27 08:44:42 macallan Exp $ */ +/* $NetBSD: bdfload.c,v 1.21 2024/01/08 18:09:33 macallan Exp $ */ /* * Copyright (c) 2018 Michael Lorenz @@ -103,6 +103,8 @@ int verbose = 0; int dump = 0; int header = 0; int force = 0; +int scale = 0; +int smoothe = 0;

CVS commit: xsrc/local/programs/bdfload

2024-01-08 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Mon Jan 8 18:09:33 UTC 2024 Modified Files: xsrc/local/programs/bdfload: bdfload.c Log Message: add support for doubling a font's size, with optional smoothing - works only on fonts up to 8 pixels wide for now - smoothing atte

CVS commit: src/sys/arch/macppc/conf

2023-10-03 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Oct 3 08:23:07 UTC 2023 Modified Files: src/sys/arch/macppc/conf: POWERMAC_G5_11_2 Log Message: add xhci To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/macppc/conf/POWERMAC_G5_11_2 Please note

CVS commit: src/sys/arch/macppc/conf

2023-10-03 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Oct 3 08:23:07 UTC 2023 Modified Files: src/sys/arch/macppc/conf: POWERMAC_G5_11_2 Log Message: add xhci To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/macppc/conf/POWERMAC_G5_11_2 Please note

CVS commit: src/sys/dev

2023-09-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Sep 25 08:42:05 UTC 2023 Modified Files: src/sys/dev: files.audio Log Message: defflag AUDIO_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/files.audio Please note that diffs are not publi

CVS commit: src/sys/dev

2023-09-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Sep 25 08:42:05 UTC 2023 Modified Files: src/sys/dev: files.audio Log Message: defflag AUDIO_DEBUG To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/dev/files.audio Please note that diffs are not publi

CVS commit: src/sys/arch/macppc/dev

2023-09-06 Thread Michael Lorenz
:57 2021 +++ src/sys/arch/macppc/dev/cuda.c Wed Sep 6 08:14:42 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: cuda.c,v 1.29 2021/08/07 16:18:57 thorpej Exp $ */ +/* $NetBSD: cuda.c,v 1.30 2023/09/06 08:14:42 macallan Exp $ */ /*- * Copyright (c) 2006 Michael Lorenz @@ -27,7 +27,7 @@ */ #incl

CVS commit: src/sys/arch/macppc/dev

2023-09-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Sep 6 08:14:42 UTC 2023 Modified Files: src/sys/arch/macppc/dev: cuda.c Log Message: yet another tsleep/wakeup -> cv_* To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/macppc/dev/cuda.c Please n

CVS commit: src/sys/arch/macppc/dev

2023-08-30 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 30 08:38:51 UTC 2023 Modified Files: src/sys/arch/macppc/dev: awacs.c Log Message: don't abuse the interrupt lock for waits in the event thread To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch

CVS commit: src/sys/arch/macppc/dev

2023-08-30 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 30 08:38:51 UTC 2023 Modified Files: src/sys/arch/macppc/dev: awacs.c Log Message: don't abuse the interrupt lock for waits in the event thread To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch

CVS commit: src/sys/arch/macppc/dev

2023-08-30 Thread Michael Lorenz
+++ src/sys/arch/macppc/dev/pmu.c Wed Aug 30 07:42:41 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: pmu.c,v 1.40 2023/08/22 06:43:34 macallan Exp $ */ +/* $NetBSD: pmu.c,v 1.41 2023/08/30 07:42:41 macallan Exp $ */ /*- * Copyright (c) 2006 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0

CVS commit: src/sys/arch/macppc/dev

2023-08-30 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 30 07:42:41 UTC 2023 Modified Files: src/sys/arch/macppc/dev: pmu.c Log Message: remove ancient #if 0 block NFC To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/macppc/dev/pmu.c Please note t

CVS commit: src/sys/arch/macppc/dev

2023-08-21 Thread Michael Lorenz
src/sys/arch/macppc/dev/pmu.c Tue Aug 22 06:43:34 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: pmu.c,v 1.39 2021/08/07 16:18:58 thorpej Exp $ */ +/* $NetBSD: pmu.c,v 1.40 2023/08/22 06:43:34 macallan Exp $ */ /*- * Copyright (c) 2006 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSI

CVS commit: src/sys/arch/macppc/dev

2023-08-21 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Aug 22 06:43:34 UTC 2023 Modified Files: src/sys/arch/macppc/dev: pmu.c Log Message: tsleep()/wakeup() -> cv_* To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/macppc/dev/pmu.c Please note that d

CVS commit: src/sys/arch/hppa/hppa

2023-08-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 2 09:18:14 UTC 2023 Modified Files: src/sys/arch/hppa/hppa: pmap.c Log Message: check for empty ranges in pmap_page_physload() itself To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/sys/arch/hppa/h

CVS commit: src/sys/arch/hppa/hppa

2023-08-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 2 09:18:14 UTC 2023 Modified Files: src/sys/arch/hppa/hppa: pmap.c Log Message: check for empty ranges in pmap_page_physload() itself To generate a diff of this commit: cvs rdiff -u -r1.121 -r1.122 src/sys/arch/hppa/h

CVS commit: src/sys/arch/hppa/hppa

2023-08-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 2 08:54:42 UTC 2023 Modified Files: src/sys/arch/hppa/hppa: pmap.c Log Message: avoid calling pmap_page_physload() with an empty range this avoids a panic in uvm_pmap_physload() now my C360 boots again To generate a d

CVS commit: src/sys/arch/hppa/hppa

2023-08-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Aug 2 08:54:42 UTC 2023 Modified Files: src/sys/arch/hppa/hppa: pmap.c Log Message: avoid calling pmap_page_physload() with an empty range this avoids a panic in uvm_pmap_physload() now my C360 boots again To generate a d

CVS commit: xsrc/local/programs/bdfload

2023-07-27 Thread Michael Lorenz
Michael Lorenz @@ -320,6 +320,9 @@ interpret(FILE *foo) "syntax error - no valid FONTBOUNDINGBOX\n"); memset(cbitmap, 0, charsize); strlcpy(charname, arg, 64); + if (dump && (strlen(charname) > 0)) +printf("name: %s\n", charname); + } else i

CVS commit: xsrc/local/programs/bdfload

2023-07-27 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Thu Jul 27 08:44:42 UTC 2023 Modified Files: xsrc/local/programs/bdfload: bdfload.c Log Message: include glyph name in -d output To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 xsrc/local/programs/bdfload/bdfloa

CVS commit: xsrc/local/programs/bdfload

2023-07-27 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Thu Jul 27 08:30:02 UTC 2023 Modified Files: xsrc/local/programs/bdfload: README Log Message: document command line option To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 xsrc/local/programs/bdfload/README Please

CVS commit: xsrc/local/programs/bdfload

2023-07-27 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Thu Jul 27 08:30:02 UTC 2023 Modified Files: xsrc/local/programs/bdfload: README Log Message: document command line option To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 xsrc/local/programs/bdfload/README Please

CVS commit: src/sys/dev/sbus

2023-07-19 Thread Michael Lorenz
+1,4 @@ -/* $NetBSD: mgx.c,v 1.23 2023/06/28 11:08:47 macallan Exp $ */ +/* $NetBSD: mgx.c,v 1.24 2023/07/19 10:22:15 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver for the SSB 4096V-MGX graphics card */ #include -__KERNEL_RCSID(0, "$N

CVS commit: src/sys/dev/sbus

2023-07-19 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jul 19 10:22:15 UTC 2023 Modified Files: src/sys/dev/sbus: files.sbus mgx.c Log Message: - make colour depth in fb mode configurable, default to 8bit - support ioctl(FBIO*CMAP) To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/sbus

2023-06-28 Thread Michael Lorenz
2023/06/28 08:53:43 macallan Exp $ */ +/* $NetBSD: mgx.c,v 1.23 2023/06/28 11:08:47 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver for the SSB 4096V-MGX graphics card */ #include -__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.22 2023/06/28 08:

CVS commit: src/sys/dev/sbus

2023-06-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 28 11:08:47 UTC 2023 Modified Files: src/sys/dev/sbus: mgx.c Log Message: following a hunch... - cache DEC and FG registers, only write them if the value actually changes - wait for the engine to go idle before writing D

CVS commit: src/sys/dev/sbus

2023-06-28 Thread Michael Lorenz
2023/06/28 08:11:52 macallan Exp $ */ +/* $NetBSD: mgx.c,v 1.22 2023/06/28 08:53:43 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver for the SSB 4096V-MGX graphics card */ #include -__KERNEL_RCSID(0, "$NetBSD: mgx.c,v 1.21 2023/06/2

CVS commit: src/sys/dev/sbus

2023-06-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 28 08:53:43 UTC 2023 Modified Files: src/sys/dev/sbus: mgx.c Log Message: wait for the engine to go idle before issuing rectfill commands we get occasional overlap with blit commands if we just wait for fifo slots needs

CVS commit: src/sys/dev/sbus

2023-06-28 Thread Michael Lorenz
/mgx.c Wed Jun 28 08:11:52 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: mgx.c,v 1.20 2021/11/11 19:37:30 macallan Exp $ */ +/* $NetBSD: mgx.c,v 1.21 2023/06/28 08:11:52 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver for the SSB 4096V-MGX graphics card

CVS commit: src/sys/dev/sbus

2023-06-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jun 28 08:11:52 UTC 2023 Modified Files: src/sys/dev/sbus: mgx.c Log Message: fix tpyo - now the glyph cache can actually work... To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/sbus/mgx.c Please

CVS commit: src/sys/arch/sparc/dev

2023-06-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 13 10:11:17 UTC 2023 Modified Files: src/sys/arch/sparc/dev: cgfourteen.c Log Message: - use sx_wait() to avoid stalling the MBus - request 32bit alignment for glyphcache cells To generate a diff of this commit: cvs rd

CVS commit: src/sys/arch/sparc/dev

2023-06-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 13 10:11:17 UTC 2023 Modified Files: src/sys/arch/sparc/dev: cgfourteen.c Log Message: - use sx_wait() to avoid stalling the MBus - request 32bit alignment for glyphcache cells To generate a diff of this commit: cvs rd

CVS commit: src/sys/arch/sparc/dev

2023-06-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 13 10:09:32 UTC 2023 Modified Files: src/sys/arch/sparc/dev: sx.c sxvar.h Log Message: add counter to periodically drain the instruction queue in order to avoid stalling the MBus during long SX operations adapted from xf

CVS commit: src/sys/arch/sparc/dev

2023-06-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 13 10:09:32 UTC 2023 Modified Files: src/sys/arch/sparc/dev: sx.c sxvar.h Log Message: add counter to periodically drain the instruction queue in order to avoid stalling the MBus during long SX operations adapted from xf

CVS commit: src/sys/dev/wscons

2023-06-07 Thread Michael Lorenz
Thu Jun 8 05:48:41 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: wsdisplay_glyphcache.c,v 1.11 2018/09/03 16:29:34 riastradh Exp $ */ +/* $NetBSD: wsdisplay_glyphcache.c,v 1.12 2023/06/08 05:48:41 macallan Exp $ */ /* * Copyright (c) 2012 Michael Lorenz @@ -53,17 +53,24 @@ static inline int attr2idx(long

CVS commit: src/sys/dev/wscons

2023-06-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jun 8 05:48:41 UTC 2023 Modified Files: src/sys/dev/wscons: wsdisplay_glyphcache.c wsdisplay_glyphcachevar.h Log Message: allow drivers to specify horizontal alignment of glyph cache cells for things like SX which have alig

CVS commit: src/sys/arch/sparc/dev

2023-05-23 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue May 23 10:20:12 UTC 2023 Modified Files: src/sys/arch/sparc/dev: cgfourteen.c Log Message: use macros compatible with xf86-video-suncg14 to issue SX instructions much more readable, alignment weirdness is handled automatical

CVS commit: src/sys/arch/sparc/dev

2023-05-23 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue May 23 10:20:12 UTC 2023 Modified Files: src/sys/arch/sparc/dev: cgfourteen.c Log Message: use macros compatible with xf86-video-suncg14 to issue SX instructions much more readable, alignment weirdness is handled automatical

CVS commit: src/sys/arch/macppc/macppc

2023-05-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue May 9 10:49:47 UTC 2023 Modified Files: src/sys/arch/macppc/macppc: mainbus.c Log Message: check for proper error value from OF_finddevice() should fix PR57394 To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/macppc/macppc

2023-05-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue May 9 10:49:47 UTC 2023 Modified Files: src/sys/arch/macppc/macppc: mainbus.c Log Message: check for proper error value from OF_finddevice() should fix PR57394 To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

CVS commit: src/sys/arch/arm/sunxi

2023-05-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue May 2 10:18:54 UTC 2023 Modified Files: src/sys/arch/arm/sunxi: sunxi_thermal.c Log Message: apparently the 'ahb' and 'ths' clocks were renamed to 'bus' and 'mod' in the fdt at some point, so look for those as well with thi

CVS commit: src/sys/arch/arm/sunxi

2023-05-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue May 2 10:18:54 UTC 2023 Modified Files: src/sys/arch/arm/sunxi: sunxi_thermal.c Log Message: apparently the 'ahb' and 'ths' clocks were renamed to 'bus' and 'mod' in the fdt at some point, so look for those as well with thi

CVS commit: src/sys/arch/sparc/dev

2023-04-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Apr 13 13:07:48 UTC 2023 Modified Files: src/sys/arch/sparc/dev: sx.c Log Message: initialize the diagnostic register with the value suggested by the SunOS header. This sets a bunch of undocumented bits and yields a 10% spee

CVS commit: src/sys/arch/sparc/dev

2023-04-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Apr 13 13:07:48 UTC 2023 Modified Files: src/sys/arch/sparc/dev: sx.c Log Message: initialize the diagnostic register with the value suggested by the SunOS header. This sets a bunch of undocumented bits and yields a 10% spee

CVS commit: src/sys/dev/wscons

2023-02-14 Thread Michael Lorenz
c Tue Feb 14 08:22:02 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: wsdisplay_vcons.c,v 1.65 2023/02/14 08:14:02 macallan Exp $ */ +/* $NetBSD: wsdisplay_vcons.c,v 1.66 2023/02/14 08:22:02 macallan Exp $ */ /*- * Copyright (c) 2005, 2006 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RC

CVS commit: src/sys/dev/wscons

2023-02-14 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 14 08:22:02 UTC 2023 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c wsdisplay_vconsvar.h Log Message: add flags for drivers to requesr R2L bit/byte-ordered fonts, default to L2R, chack them in vcons_load_font() in

CVS commit: src/sys/dev/wscons

2023-02-14 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 14 08:14:02 UTC 2023 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c Log Message: make vcons_putchar_buffer() return a flag indicating if anything actually changed, skip the actual drawing op if nothing did To ge

CVS commit: src/sys/dev/wscons

2023-02-14 Thread Michael Lorenz
: wsdisplay_vcons.c,v 1.65 2023/02/14 08:14:02 macallan Exp $ */ /*- * Copyright (c) 2005, 2006 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcons.c,v 1.64 2022/07/18 11:09:22 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: wsdisplay_vcon

CVS commit: src/sys/kern

2023-02-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 7 09:25:51 UTC 2023 Modified Files: src/sys/kern: subr_prf.c Log Message: fix logic-reversing tpyo in putone() To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/sys/kern/subr_prf.c Please note that

CVS commit: src/sys/kern

2023-02-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 7 09:25:51 UTC 2023 Modified Files: src/sys/kern: subr_prf.c Log Message: fix logic-reversing tpyo in putone() To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/sys/kern/subr_prf.c Please note that

CVS commit: src/sys/arch/macppc/conf

2023-01-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jan 26 00:15:48 UTC 2023 Modified Files: src/sys/arch/macppc/conf: GENERIC Log Message: do some cleanup the gm driver has been commented out for 20 years, time to remove it while there, remove ofb and the old ADB code which

CVS commit: src/sys/arch/macppc/conf

2023-01-25 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jan 26 00:15:48 UTC 2023 Modified Files: src/sys/arch/macppc/conf: GENERIC Log Message: do some cleanup the gm driver has been commented out for 20 years, time to remove it while there, remove ofb and the old ADB code which

CVS commit: src/sys/arch/macppc/macppc

2023-01-11 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jan 12 01:19:21 UTC 2023 Modified Files: src/sys/arch/macppc/macppc: pic_u3_ht.c Log Message: don't attach on cascaded mpics for now - we don't really use them for anything yet and apparently setup causes problems elsewhere,

CVS commit: src/sys/arch/macppc/macppc

2023-01-11 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jan 12 01:19:21 UTC 2023 Modified Files: src/sys/arch/macppc/macppc: pic_u3_ht.c Log Message: don't attach on cascaded mpics for now - we don't really use them for anything yet and apparently setup causes problems elsewhere,

CVS commit: xsrc/external/mit/xf86-video-suncg14/dist/src

2023-01-11 Thread Michael Lorenz
@@ -/* $NetBSD: cg14_render.c,v 1.18 2022/05/11 22:46:51 macallan Exp $ */ +/* $NetBSD: cg14_render.c,v 1.19 2023/01/11 09:23:57 macallan Exp $ */ /* * Copyright (c) 2013 Michael Lorenz * All rights reserved. @@ -62,7 +62,7 @@ #define DPRINTF while (0) xf86Msg #endif -#ifdef SX_RENDER_DEBUG +#ifdef

CVS commit: xsrc/external/mit/xf86-video-suncg14/dist/src

2023-01-11 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Wed Jan 11 09:23:57 UTC 2023 Modified Files: xsrc/external/mit/xf86-video-suncg14/dist/src: cg14_render.c Log Message: be more consistent with debug options To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 \

CVS commit: src/sys/arch/macppc/dev

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 07:34:42 UTC 2022 Modified Files: src/sys/arch/macppc/dev: obio.c Log Message: one more skiplist entry... To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/arch/macppc/dev/obio.c Please note tha

CVS commit: src/sys/arch/macppc/dev

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 07:34:42 UTC 2022 Modified Files: src/sys/arch/macppc/dev: obio.c Log Message: one more skiplist entry... To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/arch/macppc/dev/obio.c Please note tha

CVS commit: src/sys/arch/macppc/dev

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 07:18:29 UTC 2022 Modified Files: src/sys/arch/macppc/dev: uni-n.c Log Message: don't complain about mpic and dart not being configured mpic is handled elsewhere, dart is an iommu we don't use yet To generate a diff

CVS commit: src/sys/arch/macppc/dev

2022-12-27 Thread Michael Lorenz
callan Exp $ */ /*- * Copyright (C) 2005 Michael Lorenz. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: uni-n.c,v 1.12 2022/01/22 11:49:16 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uni-n.c,v 1.13 2022/12/28 07:18:29 macallan Exp $"); #inclu

CVS commit: src/sys/arch/macppc/dev

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 07:12:36 UTC 2022 Modified Files: src/sys/arch/macppc/dev: obio.c Log Message: suppress 'not configured' message for mpic on G5s To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch/macppc/dev/

CVS commit: src/sys/arch/macppc/dev

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 07:12:36 UTC 2022 Modified Files: src/sys/arch/macppc/dev: obio.c Log Message: suppress 'not configured' message for mpic on G5s To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sys/arch/macppc/dev/

CVS commit: src/sys/arch/macppc/macppc

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 06:50:23 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: pic_u3_ht.c Log Message: support cascading: - attach on both /u3 and /u4 - install IPI handling only if we're primary - link to primary PIC if we're cascad

CVS commit: src/sys/arch/macppc/macppc

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 06:50:23 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: pic_u3_ht.c Log Message: support cascading: - attach on both /u3 and /u4 - install IPI handling only if we're primary - link to primary PIC if we're cascad

CVS commit: src/sys/arch/macppc/macppc

2022-12-27 Thread Michael Lorenz
14:49:41 thorpej Exp $ */ +/* $NetBSD: interrupts.c,v 1.9 2022/12/28 06:00:26 macallan Exp $ */ /*- * Copyright (c) 2007 Michael Lorenz @@ -27,7 +27,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: interrupts.c,v 1.8 2021/01/26 14:49:41 thorpej Exp $"); +__KERNEL_RCSID(0

CVS commit: src/sys/arch/macppc/macppc

2022-12-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Dec 28 06:00:27 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: interrupts.c Log Message: first step towards MSI support on G5: - allow both openpic and u3_ht to attach - make sure openpic comes first, if we have both t

CVS commit: src/sys/arch/macppc/macppc

2022-12-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Dec 18 01:16:05 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: locore.S Log Message: add comment to explain why we zero SPRG0 here NFC To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/arch/macppc

CVS commit: src/sys/arch/macppc/macppc

2022-12-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Dec 18 01:16:05 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: locore.S Log Message: add comment to explain why we zero SPRG0 here NFC To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/arch/macppc

CVS commit: src/sys/arch/macppc/macppc

2022-12-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Dec 18 01:10:58 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: locore.S Log Message: #ifdef DEBUG the previous change, it seems to cause trouble on qemu which needs further investigation To generate a diff of this co

CVS commit: src/sys/arch/macppc/macppc

2022-12-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Dec 18 01:10:58 UTC 2022 Modified Files: src/sys/arch/macppc/macppc: locore.S Log Message: #ifdef DEBUG the previous change, it seems to cause trouble on qemu which needs further investigation To generate a diff of this co

<    1   2   3   4   5   6   >