summaryrefslogtreecommitdiffstats
path: root/sys/dev/fb
Commit message (Collapse)AuthorAgeFilesLines
* Rework the algorithm to detect MDA/CGA/EGA/VGA cards, so thatyokota2000-01-101-20/+26
| | | | | the vga driver won't be fooled to believe it has a CGA card when in fact it is a VGA card.
* - Fix typo: CGA40 -> CGA80yokota2000-01-101-3/+3
| | | | - Remove erroneous comments.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-292-4/+4
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* Fix the ioctl CONS_FINDMODE and its underlying subroutineyokota1999-12-072-13/+4
| | | | | | | | | | xxx_query_mode() in the vga and vesa drivers. - xxx_query_mode() returns 0 (success) and a positive error number. - Copy mode information on success. - Remove redundant structure copy. The bug first found in -STABLE by jmg.
* Check whether init and term are actually givenn_hibma1999-10-051-2/+2
|
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-251-5/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* $Id$ -> $FreeBSD$peter1999-08-288-8/+8
|
* Correct the mode information for the VGA mode X.yokota1999-08-241-4/+6
| | | | | - This mode uses four planes rather than one. - "# of bytes in a scan line" = "# of pixels in the line"/2
* Convert DEVFS hooks in (most) drivers to make_dev().phk1999-08-231-3/+1
| | | | | | | | | | | | | | | | Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev().
* Remove cmaj and bmaj args from DEV_DRIVER_MODULE.phk1999-07-041-3/+2
|
* Fix printf int/long format problems on the Alpha.peter1999-07-011-3/+3
|
* Use the correct value for banksize so splash_pcx works in LFB modes.des1999-06-281-2/+2
|
* #if 0 an unused function since it generates warnings.. (I have not deletedpeter1999-06-261-1/+5
| | | | it in case it's part of a bigger plan.)
* The second phase of syscons reorganization.yokota1999-06-228-69/+3574
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split syscons source code into manageable chunks and reorganize some of complicated functions. - Many static variables are moved to the softc structure. - Added a new key function, PREV. When this key is pressed, the vty immediately before the current vty will become foreground. Analogue to PREV, which is usually assigned to the PrntScrn key. PR: kern/10113 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> - Modified the kernel console input function sccngetc() so that it handles function keys properly. - Reorganized the screen update routine. - VT switching code is reorganized. It now should be slightly more robust than before. - Added the DEVICE_RESUME function so that syscons no longer hooks the APM resume event directly. - New kernel configuration options: SC_NO_CUTPASTE, SC_NO_FONT_LOADING, SC_NO_HISTORY and SC_NO_SYSMOUSE. Various parts of syscons can be omitted so that the kernel size is reduced. SC_PIXEL_MODE Made the VESA 800x600 mode an option, rather than a standard part of syscons. SC_DISABLE_DDBKEY Disables the `debug' key combination. SC_ALT_MOUSE_IMAGE Inverse the character cell at the mouse cursor position in the text console, rather than drawing an arrow on the screen. Submitted by: Nick Hibma (n_hibma@FreeBSD.ORG) SC_DFLT_FONT makeoptions "SC_DFLT_FONT=_font_name_" Include the named font as the default font of syscons. 16-line, 14-line and 8-line font data will be compiled in. This option replaces the existing STD8X16FONT option, which loads 16-line font data only. - The VGA driver is split into /sys/dev/fb/vga.c and /sys/isa/vga_isa.c. - The video driver provides a set of ioctl commands to manipulate the frame buffer. - New kernel configuration option: VGA_WIDTH90 Enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60. These modes are mot always supported by the video card. PR: i386/7510 Submitted by: kbyanc@freedomnet.com and alexv@sui.gda.itesm.mx. - The header file machine/console.h is reorganized; its contents is now split into sys/fbio.h, sys/kbio.h (a new file) and sys/consio.h (another new file). machine/console.h is still maintained for compatibility reasons. - Kernel console selection/installation routines are fixed and slightly rebumped so that it should now be possible to switch between the interanl kernel console (sc or vt) and a remote kernel console (sio) again, as it was in 2.x, 3.0 and 3.1. - Screen savers and splash screen decoders Because of the header file reorganization described above, screen savers and splash screen decoders are slightly modified. After this update, /sys/modules/syscons/saver.h is no longer necessary and is removed.
* Print verbose messages when there is error.yokota1999-06-161-2/+21
| | | | Oked by: des
* Simplify cdevsw registration.phk1999-05-311-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing. cdevsw_add() will print an message if the d_maj field looks bogus. Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL. Move bdevsw() and devsw() functions to kern/kern_conf.c Bump __FreeBSD_version to 400006 This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions if_xe.c bogusly accessed cdevsw[], author/maintainer please fix. I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
* This commit should be a extensive NO-OP:phk1999-05-301-5/+20
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* PCX loader for pseudo-device splash.des1999-04-121-0/+262
|
* Centralize and reorganize a few macros.des1999-04-121-1/+18
|
* Make the splash screen alternate "fade out" and "fade in" action atyokota1999-03-291-5/+20
| | | | | | regular intervals, when the module is used as a screen saver. Submitted by: asami
* Don't free() a NULL pointer!yokota1999-03-091-3/+4
|
* - Don't assume the line length in the video memory is always the same asyokota1999-02-051-7/+8
| | | | | | | the screen width. - Store the current video mode information in the `video_adapter' struct. - The size of the `v_offscreensize' field in the VESA mode information block is u_int16, not u_int8.
* Oops, one line was accidentally commented out in the previous commit.yokota1999-01-261-3/+1
|
* Add VESA mode support. If the VESA support is compiled into the kernelyokota1999-01-211-5/+61
| | | | | or the VESA KLD is preloaded by the boot loader, you can load a 256 color BMP file larger than 320x200.
* sysconsyokota1999-01-192-7/+8
| | | | | | | | | | | | | | | | | - Bring down the splash screen when a vty is opened for the first time. - Make sure the splash screen/screen saver is stopped before switching vtys. - Read and save initial values in the BIOS data area early. VESA BIOS may change BIOS data values when switching modes. - Fix missing '&' operator. - Move ISA specific part of driver initialization to syscons_isa.c. atkbd - kbdtables.h is now in /sys/dev/kbd. all - Adjust for forthcoming alpha port. Submitted by: dfr
* Calculate the number of bitmap colors in the correct way.yokota1999-01-131-2/+2
| | | | The bug found by: Kevin Street <street@iname.com>
* Clean up warnings: get conditional compilation right so that a localyokota1999-01-121-6/+11
| | | | | function won't be defined unless it is actually used. Requested by: eivind
* Update the pointer into the bitmap correctly. The previous codeyokota1999-01-111-2/+2
| | | | | had the pointer off by 4 bytes if the width of the bitmap is a multiple of four.
* Add splash screen module. This version has rather limitedyokota1999-01-111-0/+494
| | | | | | | capabilities, but should be a good start... Well, sort of. It can handle W*ndows 256 color BMP file. (Other color depth probably won't work.) The size of the image must be 320x200 or less. *sigh*
* Oops, I committed wrong version of these files in the last commit!yokota1999-01-112-73/+151
| | | | Here are the correct, and up-top-date ones.
* Add the new keyboard driver and video card driver. They will beyokota1999-01-095-0/+868
used by console drivers. (They are not yet activated yet. Wait for announcement later.)
OpenPOWER on IntegriCloud