- If a PCCARD serial device is removed from the system, let the serial

driver 'break out' of the infinite loop waiting for a response from
  it.  This is a bad thing, but no worse than having the kernel hang.
This commit is contained in:
Nate Williams 1998-02-14 16:17:17 +00:00
parent b916ff7fcc
commit a021db1639
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33350
3 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.195 1998/01/24 02:54:25 eivind Exp $
* $Id: sio.c,v 1.196 1998/02/13 12:45:56 phk Exp $
*/
#include "opt_comconsole.h"
@ -1517,7 +1517,7 @@ siointr1(com)
int_ctl = inb(com->intr_ctl_port);
int_ctl_new = int_ctl;
while (TRUE) {
while (!com->gone) {
line_status = inb(com->line_status_port);
/* input event? (check first to help avoid overruns) */

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.195 1998/01/24 02:54:25 eivind Exp $
* $Id: sio.c,v 1.196 1998/02/13 12:45:56 phk Exp $
*/
#include "opt_comconsole.h"
@ -1517,7 +1517,7 @@ siointr1(com)
int_ctl = inb(com->intr_ctl_port);
int_ctl_new = int_ctl;
while (TRUE) {
while (!com->gone) {
line_status = inb(com->line_status_port);
/* input event? (check first to help avoid overruns) */

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.195 1998/01/24 02:54:25 eivind Exp $
* $Id: sio.c,v 1.196 1998/02/13 12:45:56 phk Exp $
*/
#include "opt_comconsole.h"
@ -1517,7 +1517,7 @@ siointr1(com)
int_ctl = inb(com->intr_ctl_port);
int_ctl_new = int_ctl;
while (TRUE) {
while (!com->gone) {
line_status = inb(com->line_status_port);
/* input event? (check first to help avoid overruns) */