Date: Mon, 23 Dec 2019 21:46:49 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356045 - head/sys/dev/terasic/mtl Message-ID: <201912232146.xBNLknie074232@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Mon Dec 23 21:46:48 2019 New Revision: 356045 URL: https://svnweb.freebsd.org/changeset/base/356045 Log: terasic_mtl: kill off final dummy keyboard driver The rest were removed in r355936, which speculated that the cause of this phenomenon was due to an inability to have an empty linker set. The comment included with this one shows that this was, in fact, not the reason. Regardless, syscons no longer seems to have an issue with not having any keyboard drivers and in-fact ignores the keyboard probe anyways. X-MFC-With: r355936 Modified: head/sys/dev/terasic/mtl/terasic_mtl_syscons.c Modified: head/sys/dev/terasic/mtl/terasic_mtl_syscons.c ============================================================================== --- head/sys/dev/terasic/mtl/terasic_mtl_syscons.c Mon Dec 23 21:41:04 2019 (r356044) +++ head/sys/dev/terasic/mtl/terasic_mtl_syscons.c Mon Dec 23 21:46:48 2019 (r356045) @@ -406,22 +406,6 @@ terasic_mtl_vidsw_putm(video_adapter_t *adp, int x, in return (ENODEV); } -/* - * XXXRW: For historical reasons, syscons can't register video consoles - * without a keyboard implementation. Provide a dummy. - */ -static keyboard_switch_t terasic_mtl_keyboard_switch; - -static int -terasic_mtl_kbd_configure(int flags) -{ - - return (0); -} - -KEYBOARD_DRIVER(mtl_kbd, terasic_mtl_keyboard_switch, - terasic_mtl_kbd_configure); - int terasic_mtl_syscons_attach(struct terasic_mtl_softc *sc) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912232146.xBNLknie074232>