Merge from the following changes.
File Revision sys/conf/files.i386 1.303 and 1.304 sys/dev/kbd/atkbd.c 1.23 sys/dev/syscons/scterm-sc.c 1.2 sys/dev/syscons/scvgarndr.c 1.5 sys/dev/syscons/scvtb.c 1.5 sys/dev/syscons/syscons.c 1.335 sys/isa/syscons_isa.c 1.11 sys/isa/vga_isa.c 1.17
This commit is contained in:
parent
ba901a111b
commit
8b838a7ac2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58779
@ -305,7 +305,7 @@ pc98/pc98/syscons.c optional sc
|
||||
pc98/pc98/syscons_pc98.c optional sc
|
||||
dev/syscons/schistory.c optional sc
|
||||
dev/syscons/scmouse.c optional sc
|
||||
pc98/pc98/scgdcrndr.c optional sc
|
||||
pc98/pc98/scgdcrndr.c optional sc gdc
|
||||
dev/syscons/scterm.c optional sc
|
||||
dev/syscons/scterm-dumb.c optional sc
|
||||
pc98/pc98/scterm-sck.c optional sc
|
||||
@ -315,9 +315,9 @@ dev/syscons/sysmouse.c optional sc
|
||||
i386/isa/tw.c optional tw
|
||||
pc98/pc98/wd.c optional wdc
|
||||
pc98/pc98/wd.c optional wd
|
||||
pc98/pc98/wd_cd.c optional wcd
|
||||
pc98/pc98/wfd.c optional wfd
|
||||
pc98/pc98/wst.c optional wst
|
||||
pc98/pc98/wd_cd.c optional wcd wdc
|
||||
pc98/pc98/wfd.c optional wfd wdc
|
||||
pc98/pc98/wst.c optional wst wdc
|
||||
i386/isa/wt.c optional wt
|
||||
i386/linux/imgact_linux.c optional compat_linux
|
||||
i386/linux/linux_dummy.c optional compat_linux
|
||||
|
@ -28,13 +28,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "gdc.h"
|
||||
#include "opt_gdc.h"
|
||||
#include "opt_fb.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NGDC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -1077,5 +1074,3 @@ gdc_diag(video_adapter_t *adp, int level)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* NGDC > 0 */
|
||||
|
@ -31,8 +31,6 @@
|
||||
#include "pckbd.h"
|
||||
#include "opt_kbd.h"
|
||||
|
||||
#if NPCKBD > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -927,5 +925,3 @@ read_kbd_data_no_wait(KBDC p)
|
||||
}
|
||||
return -1; /* no data */
|
||||
}
|
||||
|
||||
#endif /* NPCKBD > 0 */
|
||||
|
@ -26,13 +26,9 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "gdc.h"
|
||||
#include "opt_syscons.h"
|
||||
#include "opt_gdc.h"
|
||||
|
||||
#if NSC > 0 && NGDC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
|
||||
@ -199,5 +195,3 @@ gdc_grborder(scr_stat *scp, int color)
|
||||
}
|
||||
|
||||
#endif /* SC_NO_MODE_CHANGE */
|
||||
|
||||
#endif /* NSC > 0 && NGDC > 0 */
|
||||
|
@ -26,11 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NSC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -1106,5 +1103,3 @@ kanji_convert(u_char mode, u_char h, u_char l)
|
||||
#endif /* KANJI */
|
||||
|
||||
#endif /* SC_DUMB_TERMINAL */
|
||||
|
||||
#endif /* NSC > 0 */
|
||||
|
@ -26,11 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NSC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
@ -405,5 +402,3 @@ sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr)
|
||||
(void *)sc_vtb_attr_pointer(vtb, at), count);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* NSC */
|
||||
|
@ -26,11 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NSC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -105,13 +102,15 @@ sc_softc_t
|
||||
{
|
||||
sc_softc_t *sc;
|
||||
|
||||
if ((unit < 0) || (unit >= NSC))
|
||||
if (unit < 0)
|
||||
return NULL;
|
||||
if (flags & SC_KERNEL_CONSOLE) {
|
||||
/* FIXME: clear if it is wired to another unit! */
|
||||
sc = &main_softc;
|
||||
} else {
|
||||
sc = (sc_softc_t *)device_get_softc(devclass_get_device(sc_devclass, unit));
|
||||
if (sc == NULL)
|
||||
return NULL;
|
||||
}
|
||||
sc->unit = unit;
|
||||
if (!(sc->flags & SC_INIT_DONE)) {
|
||||
@ -213,5 +212,3 @@ sc_tone(int herz)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(sc, isa, sc_driver, sc_devclass, 0, 0);
|
||||
|
||||
#endif /* NSC > 0 */
|
||||
|
@ -28,13 +28,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "gdc.h"
|
||||
#include "opt_gdc.h"
|
||||
#include "opt_fb.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NGDC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -1077,5 +1074,3 @@ gdc_diag(video_adapter_t *adp, int level)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* NGDC > 0 */
|
||||
|
@ -31,8 +31,6 @@
|
||||
#include "pckbd.h"
|
||||
#include "opt_kbd.h"
|
||||
|
||||
#if NPCKBD > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -927,5 +925,3 @@ read_kbd_data_no_wait(KBDC p)
|
||||
}
|
||||
return -1; /* no data */
|
||||
}
|
||||
|
||||
#endif /* NPCKBD > 0 */
|
||||
|
@ -26,13 +26,9 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "gdc.h"
|
||||
#include "opt_syscons.h"
|
||||
#include "opt_gdc.h"
|
||||
|
||||
#if NSC > 0 && NGDC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
|
||||
@ -199,5 +195,3 @@ gdc_grborder(scr_stat *scp, int color)
|
||||
}
|
||||
|
||||
#endif /* SC_NO_MODE_CHANGE */
|
||||
|
||||
#endif /* NSC > 0 && NGDC > 0 */
|
||||
|
@ -26,11 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NSC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -1106,5 +1103,3 @@ kanji_convert(u_char mode, u_char h, u_char l)
|
||||
#endif /* KANJI */
|
||||
|
||||
#endif /* SC_DUMB_TERMINAL */
|
||||
|
||||
#endif /* NSC > 0 */
|
||||
|
@ -26,11 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NSC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/malloc.h>
|
||||
@ -405,5 +402,3 @@ sc_vtb_ins(sc_vtb_t *vtb, int at, int count, int c, int attr)
|
||||
(void *)sc_vtb_attr_pointer(vtb, at), count);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* NSC */
|
||||
|
@ -28,7 +28,6 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "splash.h"
|
||||
#include "opt_syscons.h"
|
||||
#include "opt_ddb.h"
|
||||
@ -36,7 +35,6 @@
|
||||
#include "apm.h"
|
||||
#endif
|
||||
|
||||
#if NSC > 0
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/eventhandler.h>
|
||||
@ -3428,5 +3426,3 @@ blink_screen(void *arg)
|
||||
timeout(blink_screen, scp, hz / 10);
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* NSC */
|
||||
|
@ -26,11 +26,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#include "sc.h"
|
||||
#include "opt_syscons.h"
|
||||
|
||||
#if NSC > 0
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -105,13 +102,15 @@ sc_softc_t
|
||||
{
|
||||
sc_softc_t *sc;
|
||||
|
||||
if ((unit < 0) || (unit >= NSC))
|
||||
if (unit < 0)
|
||||
return NULL;
|
||||
if (flags & SC_KERNEL_CONSOLE) {
|
||||
/* FIXME: clear if it is wired to another unit! */
|
||||
sc = &main_softc;
|
||||
} else {
|
||||
sc = (sc_softc_t *)device_get_softc(devclass_get_device(sc_devclass, unit));
|
||||
if (sc == NULL)
|
||||
return NULL;
|
||||
}
|
||||
sc->unit = unit;
|
||||
if (!(sc->flags & SC_INIT_DONE)) {
|
||||
@ -213,5 +212,3 @@ sc_tone(int herz)
|
||||
}
|
||||
|
||||
DRIVER_MODULE(sc, isa, sc_driver, sc_devclass, 0, 0);
|
||||
|
||||
#endif /* NSC > 0 */
|
||||
|
Loading…
Reference in New Issue
Block a user