diff options
| author | Maksim Yevmenkin <emax@FreeBSD.org> | 2006-03-01 18:34:48 +0000 |
|---|---|---|
| committer | Maksim Yevmenkin <emax@FreeBSD.org> | 2006-03-01 18:34:48 +0000 |
| commit | b569776d07c6c4256a41ee889c1b34bf8d4426b7 (patch) | |
| tree | 48d8f4bf613af75054c83ef4b0890ff6a307d456 /sys/dev/kbdmux | |
| parent | c2d5c96b29548445e5e98b41d8ce3f3ce2354d27 (diff) | |
Notes
Diffstat (limited to 'sys/dev/kbdmux')
| -rw-r--r-- | sys/dev/kbdmux/kbdmux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/kbdmux/kbdmux.c b/sys/dev/kbdmux/kbdmux.c index 27473b1d8f93..3a0177bab270 100644 --- a/sys/dev/kbdmux/kbdmux.c +++ b/sys/dev/kbdmux/kbdmux.c @@ -34,6 +34,7 @@ #include "opt_kbd.h" #include <sys/param.h> +#include <sys/bus.h> #include <sys/conf.h> #include <sys/consio.h> #include <sys/fcntl.h> @@ -368,6 +369,9 @@ kbdmux_configure(int flags) static int kbdmux_probe(int unit, void *arg, int flags) { + if (resource_disabled(KEYBOARD_NAME, unit)) + return (ENXIO); + return (0); } |
