summaryrefslogtreecommitdiffstats
path: root/sys/dev/kbd
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1999-08-15 06:06:14 +0000
committeryokota <yokota@FreeBSD.org>1999-08-15 06:06:14 +0000
commit762c534e44b1b876ce7688cb472ba3bad0e84ab1 (patch)
tree99638efd776f05aaa7d60e03405f734475ed0b13 /sys/dev/kbd
parent816a1752a01cd665de0e33cfa7c59d38ad5f58fc (diff)
downloadFreeBSD-src-762c534e44b1b876ce7688cb472ba3bad0e84ab1.zip
FreeBSD-src-762c534e44b1b876ce7688cb472ba3bad0e84ab1.tar.gz
Correctly save `flags' bits.
Diffstat (limited to 'sys/dev/kbd')
-rw-r--r--sys/dev/kbd/atkbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/kbd/atkbd.c b/sys/dev/kbd/atkbd.c
index 38bc5f0..8ad4f1f 100644
--- a/sys/dev/kbd/atkbd.c
+++ b/sys/dev/kbd/atkbd.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: atkbd.c,v 1.11 1999/05/30 16:51:30 phk Exp $
+ * $Id: atkbd.c,v 1.12 1999/07/18 06:16:25 yokota Exp $
*/
#include "atkbd.h"
@@ -499,6 +499,7 @@ atkbd_init(int unit, keyboard_t **kbdp, void *arg, int flags)
KBD_PROBE_DONE(kbd);
}
if (!KBD_IS_INITIALIZED(kbd) && !(flags & KB_CONF_PROBE_ONLY)) {
+ kbd->kb_config = flags & ~KB_CONF_PROBE_ONLY;
if (KBD_HAS_DEVICE(kbd)
&& init_keyboard(state->kbdc, &kbd->kb_type, kbd->kb_config)
&& (kbd->kb_config & KB_CONF_FAIL_IF_NO_KBD))
OpenPOWER on IntegriCloud