Module Name: src Committed By: rin Date: Fri Jul 26 10:48:45 UTC 2019
Modified Files: src/share/man/man4: genfb.4 src/sys/arch/mac68k/conf: files.mac68k src/sys/arch/mac68k/dev: grf_subr.c grfvar.h maccons.c src/sys/arch/mac68k/mac68k: conf.c machdep.c src/sys/arch/mac68k/obio: grf_obio.c src/sys/dev/rasops: rasops.c src/sys/dev/wsfb: files.wsfb Added Files: src/sys/arch/mac68k/conf: WSFB WSFB.common WSFBSBC src/sys/arch/mac68k/dev: genfb_grfbus.c src/sys/arch/mac68k/obio: grf_obioreg.h Log Message: Add genfb(4) driver for mac68k grfbus. 1, 2, 4, 8, 15, and 32 color-depths are supported. ANSI colors on console are functional for depth >= 4. Graphic applications based on wsfb API should work, provided they can correctly handle fbi_fboffset and your color depth. wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of x11/mlterm) work fine for depth == 1 || depth >= 8. For depth == 8 (256 colors), graphic applications require colormap callback, which is currently supported for some internal graphic adapters, and only Civic (found on Quadra AV series) was tested. Register definition and its usage are taken from Linux. You can easily support other adapters if Linux supports that. Have fun, and any problem reports are welcomed! To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/genfb.4 cvs rdiff -u -r0 -r1.1 src/sys/arch/mac68k/conf/WSFB \ src/sys/arch/mac68k/conf/WSFB.common src/sys/arch/mac68k/conf/WSFBSBC cvs rdiff -u -r1.128 -r1.129 src/sys/arch/mac68k/conf/files.mac68k cvs rdiff -u -r0 -r1.1 src/sys/arch/mac68k/dev/genfb_grfbus.c cvs rdiff -u -r1.21 -r1.22 src/sys/arch/mac68k/dev/grf_subr.c cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mac68k/dev/grfvar.h cvs rdiff -u -r1.9 -r1.10 src/sys/arch/mac68k/dev/maccons.c cvs rdiff -u -r1.63 -r1.64 src/sys/arch/mac68k/mac68k/conf.c cvs rdiff -u -r1.352 -r1.353 src/sys/arch/mac68k/mac68k/machdep.c cvs rdiff -u -r1.58 -r1.59 src/sys/arch/mac68k/obio/grf_obio.c cvs rdiff -u -r0 -r1.1 src/sys/arch/mac68k/obio/grf_obioreg.h cvs rdiff -u -r1.90 -r1.91 src/sys/dev/rasops/rasops.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/wsfb/files.wsfb Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.