HardenedBSD/sys/dev
Kazutaka YOKOTA d75a8fdbb1 Addresses the following two problems.
1) i586_bcopy() problem

There have been a number of reports that the syscons doesn't work
properly if i586_bcopy() is enabled.

The problem prevented users from installing 2.2(.1)-RELEASE.  The
symptom is that the system looks frozen during device probe or just
before the main installation menu.  The workaround was to specify the
flag 0x01 to the npx device so that i586_bcopy() is disabled.

The patch forces the syscons to call generic_bcopy() when copying
to/from the video memory, even if CPU is Pentium and i586_bcopy() is
enabled. i586_bcopy() is still called for copy operations between
non-video memory regions.

PR: kern/2277, kern/3066, kern/3107, kern/3134

2) video mode parameter table problem

The syscons reads and uses the video mode parameter table provided by
the VGA BIOS to set VGA registers when changing video mode and
modifying font data. It appears that in some VGA BIOSes the table is
not ordered as the syscons expects, and this leads to screen
corruption.

The problem prevented users from installing 2.2(.1)-RELEASE. The
symptom is the corrupt screen or strange vertical lines soon after the
kernel is loaded into memory (just after the kernel decompression).

The patch performs simplistic test and if it fails, set video_mode_ptr
to NULL so that the video mode switching won't happen.

This is an interim kludge. There should be a better way to deal with
the problem.

PR: kern/2498, conf/2775, conf/3354

Reviewed by: sos
Tested by: PR originators (not all of them, though)
1997-04-27 09:03:10 +00:00
..
advansys Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
aic7xxx The following scenario would result in a bogus residual being reported 1997-04-24 16:52:18 +00:00
ar Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
bktr Amancio: 1997-04-17 22:33:16 +00:00
ccd Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
cy Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
de Recognize ZNYX 314 cards that have a MAC address with the low bit set. 1997-04-05 07:59:41 +00:00
dgb Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
ed Rearrange pci network card identification for easier additions. 1997-04-18 04:44:37 +00:00
eisa Various stylistic improvements regarding num_eisa_slots & co.: 1997-03-13 18:04:05 +00:00
ep Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
ex Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
fdc Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
fe Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
fxp Check that the received packet length indicated by the card is at least 1997-04-23 01:44:30 +00:00
ic Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
ie New name for the EtherExpress register file. 1997-04-14 00:40:04 +00:00
joy Make MOD_* macros almost consistent: 1997-04-06 11:14:13 +00:00
kbd Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
lnc Enables lnc driver on PC-98 to support NEC SV-98/2-B06 PCI card. 1997-04-08 10:33:24 +00:00
mcd Fixed the type of timeout functions and removed casts that hid the 1997-04-20 17:26:55 +00:00
mse Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
pci Man the liferafts! Here comes the long awaited SMP -> -current merge! 1997-04-26 11:46:25 +00:00
pdq Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00
ppbus Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rc Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
scd Fixed the type of timeout functions and removed casts that hid the 1997-04-20 17:26:55 +00:00
si Fixed the type of timeout functions and removed casts that hid the 1997-04-20 15:36:12 +00:00
sio Man the liferafts! Here comes the long awaited SMP -> -current merge! 1997-04-26 11:46:25 +00:00
snp Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
speaker Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sr Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
syscons Addresses the following two problems. 1997-04-27 09:03:10 +00:00
vn Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
vx Don't include <sys/ioctl.h> in the kernel. Stage 2: include 1997-03-24 11:33:46 +00:00