From 4e421792ec80df7a5fa82e97dcc3575c3ec6740a Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 16 Nov 2017 14:27:02 +0000 Subject: Remove i386 XBOX support. It is for console presented at 2001 and featuring Pentium III processor. Even if any of them are still alive and run FreeBSD, we do not have any sign of life from their users. While removing another dozens of #ifdefs from the i386 sources reduces the aversion from looking at the code and improves the platform vitality. Reviewed by: cem, pfg, rink (XBOX support author) Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D13016 --- sys/isa/syscons_isa.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'sys/isa') diff --git a/sys/isa/syscons_isa.c b/sys/isa/syscons_isa.c index a5b07035b6b4..b915e63569bb 100644 --- a/sys/isa/syscons_isa.c +++ b/sys/isa/syscons_isa.c @@ -60,12 +60,6 @@ __FBSDID("$FreeBSD$"); #include -#include "opt_xbox.h" - -#ifdef XBOX -#include -#endif - static devclass_t sc_devclass; static sc_softc_t main_softc; @@ -158,19 +152,6 @@ sc_get_cons_priority(int *unit, int *flags) const char *at; int f, u; -#ifdef XBOX - /* - * The XBox Loader does not support hints, which makes our initial - * console probe fail. Therefore, if an XBox is found, we hardcode the - * existence of the console, as it is always there anyway. - */ - if (arch_i386_is_xbox) { - *unit = 0; - *flags = SC_KERNEL_CONSOLE; - return (CN_INTERNAL); - } -#endif - *unit = -1; for (u = 0; u < 16; u++) { if (resource_disabled(SC_DRIVER_NAME, u)) -- cgit v1.3