Add option KBD_RESET_FAIL_OK so that GCC 2.6 doesn't break my

console.
This commit is contained in:
wollman 1994-08-15 22:41:33 +00:00
parent 957ff9bd53
commit d7a33d9622
3 changed files with 12 additions and 3 deletions

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
* $Id: syscons.c,v 1.47 1994/08/01 10:38:19 davidg Exp $
* $Id: syscons.c,v 1.48 1994/08/13 03:50:16 wollman Exp $
*
*/
@ -333,6 +333,9 @@ int pcprobe(struct isa_device *dev)
kbd_reply() == 0xaa) /* self test passed */
break;
printf("Keyboard reset failed\n");
#ifdef KBD_RESET_FAIL_OK
break;
#endif
}
return (IO_KBDSIZE);
}

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
* $Id: syscons.c,v 1.47 1994/08/01 10:38:19 davidg Exp $
* $Id: syscons.c,v 1.48 1994/08/13 03:50:16 wollman Exp $
*
*/
@ -333,6 +333,9 @@ int pcprobe(struct isa_device *dev)
kbd_reply() == 0xaa) /* self test passed */
break;
printf("Keyboard reset failed\n");
#ifdef KBD_RESET_FAIL_OK
break;
#endif
}
return (IO_KBDSIZE);
}

View File

@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from:@(#)syscons.c 1.3 940129
* $Id: syscons.c,v 1.47 1994/08/01 10:38:19 davidg Exp $
* $Id: syscons.c,v 1.48 1994/08/13 03:50:16 wollman Exp $
*
*/
@ -333,6 +333,9 @@ int pcprobe(struct isa_device *dev)
kbd_reply() == 0xaa) /* self test passed */
break;
printf("Keyboard reset failed\n");
#ifdef KBD_RESET_FAIL_OK
break;
#endif
}
return (IO_KBDSIZE);
}