Removing unused code
In OpenBSD removed support PCCONS in 2002 year http://marc.info/?l=openbsd-cvs&m=102435816424294&w=2 Signed-off-by: Alexandr Shadchin <Alexandr.Shadchin@gmail.com> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
365ad68fb9
commit
a1cc0e52b0
|
@ -50,11 +50,7 @@ static Bool ShareVTs = FALSE;
|
||||||
|
|
||||||
#ifdef PCCONS_SUPPORT
|
#ifdef PCCONS_SUPPORT
|
||||||
/* Stock 0.1 386bsd pccons console driver interface */
|
/* Stock 0.1 386bsd pccons console driver interface */
|
||||||
#ifndef __OpenBSD__
|
|
||||||
#define PCCONS_CONSOLE_DEV1 "/dev/ttyv0"
|
#define PCCONS_CONSOLE_DEV1 "/dev/ttyv0"
|
||||||
#else
|
|
||||||
# define PCCONS_CONSOLE_DEV1 "/dev/ttyC0"
|
|
||||||
#endif
|
|
||||||
#define PCCONS_CONSOLE_DEV2 "/dev/vga"
|
#define PCCONS_CONSOLE_DEV2 "/dev/vga"
|
||||||
#define PCCONS_CONSOLE_MODE O_RDWR|O_NDELAY
|
#define PCCONS_CONSOLE_MODE O_RDWR|O_NDELAY
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -264,14 +264,6 @@
|
||||||
# define CONSOLE_X_MODE_OFF PCCONIOCCOOK
|
# define CONSOLE_X_MODE_OFF PCCONIOCCOOK
|
||||||
# define CONSOLE_X_BELL PCCONIOCBEEP
|
# define CONSOLE_X_BELL PCCONIOCBEEP
|
||||||
# else /* __bsdi__ */
|
# else /* __bsdi__ */
|
||||||
# if defined(__OpenBSD__)
|
|
||||||
# ifdef PCCONS_SUPPORT
|
|
||||||
# include <machine/pccons.h>
|
|
||||||
# undef CONSOLE_X_MODE_ON
|
|
||||||
# undef CONSOLE_X_MODE_OFF
|
|
||||||
# undef CONSOLE_X_BELL
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
# ifdef SYSCONS_SUPPORT
|
# ifdef SYSCONS_SUPPORT
|
||||||
# define COMPAT_SYSCONS
|
# define COMPAT_SYSCONS
|
||||||
# if defined(__NetBSD__) || defined(__OpenBSD__)
|
# if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||||
|
|
Loading…
Reference in New Issue