From 92f340b6e7dc02801983812c792c7d3964d31ef7 Mon Sep 17 00:00:00 2001 From: eadler Date: Mon, 22 Oct 2012 13:06:09 +0000 Subject: This isn't functionally identical. In some cases a hint to disable unit 0 would in fact disable all units. This reverts r241856 Approved by: cperciva (implicit) --- sys/dev/kbdmux/kbdmux.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/kbdmux') diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c index 16e6535..a21b37c 100644 --- a/sys/dev/kbdmux/kbdmux.c +++ b/sys/dev/kbdmux/kbdmux.c @@ -378,6 +378,8 @@ kbdmux_configure(int flags) static int kbdmux_probe(int unit, void *arg, int flags) { + if (resource_disabled(KEYBOARD_NAME, unit)) + return (ENXIO); return (0); } -- cgit v1.1