mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
- 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:
parent
b916ff7fcc
commit
a021db1639
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=33350
@ -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) */
|
||||
|
@ -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) */
|
||||
|
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user