x86: Remove the POLL_CONSOLE hack
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 25 Jan 2017 19:26:52 +0000 (14:26 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 9 Feb 2017 17:31:08 +0000 (12:31 -0500)
We had this for Ron's AMD boards, which never seemed to send IRQs.  Now
that we fixed a bug in that area, I think this is unnecessary.  We can't
check, since those machines might not be around anymore.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/Kconfig
kern/arch/x86/init.c

index 7deab97..274f217 100644 (file)
@@ -26,13 +26,6 @@ endmenu
 
 menu "x86 Hacks"
 
-config POLL_CONSOLE
-       bool "Poll Console Devices"
-       default n
-       help
-               On some boards, we have trouble getting the serial IRQ.  This will
-               spawn ktasks for all console devices that poll every 10ms.  
-
 config LOUSY_LAPIC_TIMER
        bool "Lousy Local APIC Timer"
        default n
index 7bf641b..87f3927 100644 (file)
@@ -67,9 +67,6 @@ static void cons_irq_init(void)
        SLIST_FOREACH(i, &cdev_list, next) {
                register_irq(i->irq, irq_console, i, MKBUS(BusISA, 0, 0, 0));
                irq_console(0, i);
-#ifdef CONFIG_POLL_CONSOLE
-               ktask("cons_poller", cons_poller, i);
-#endif /* CONFIG_POLL_CONSOLE */
        }
 }