From 00f19754a4ed3f1275ae4a57ba0fd5638d7b6e9e Mon Sep 17 00:00:00 2001 From: Kazutaka YOKOTA Date: Wed, 13 Jan 1999 11:19:19 +0000 Subject: [PATCH] Use the correct macro to test flags; we need KBD_IS_INITIALIZED here, not KBD_IS_PROBED. --- sys/dev/atkbdc/atkbd.c | 4 ++-- sys/dev/kbd/atkbd.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/atkbdc/atkbd.c b/sys/dev/atkbdc/atkbd.c index 21ed5692cef1..59f265c970bf 100644 --- a/sys/dev/atkbdc/atkbd.c +++ b/sys/dev/atkbdc/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: $ + * $Id: atkbd.c,v 1.1 1999/01/09 02:44:49 yokota Exp $ */ #include "atkbd.h" @@ -375,7 +375,7 @@ atkbd_configure(int flags) /* initialize it */ kbdc = ((atkbd_state_t *)kbd->kb_data)->kbdc; - if (!(flags & KB_CONF_PROBE_ONLY) && !KBD_IS_PROBED(kbd)) { + if (!(flags & KB_CONF_PROBE_ONLY) && !KBD_IS_INITIALIZED(kbd)) { if (KBD_HAS_DEVICE(kbd) && init_keyboard(kbdc, &kbd->kb_type, flags) && (flags & KB_CONF_FAIL_IF_NO_KBD)) diff --git a/sys/dev/kbd/atkbd.c b/sys/dev/kbd/atkbd.c index 21ed5692cef1..59f265c970bf 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: $ + * $Id: atkbd.c,v 1.1 1999/01/09 02:44:49 yokota Exp $ */ #include "atkbd.h" @@ -375,7 +375,7 @@ atkbd_configure(int flags) /* initialize it */ kbdc = ((atkbd_state_t *)kbd->kb_data)->kbdc; - if (!(flags & KB_CONF_PROBE_ONLY) && !KBD_IS_PROBED(kbd)) { + if (!(flags & KB_CONF_PROBE_ONLY) && !KBD_IS_INITIALIZED(kbd)) { if (KBD_HAS_DEVICE(kbd) && init_keyboard(kbdc, &kbd->kb_type, flags) && (flags & KB_CONF_FAIL_IF_NO_KBD))