]> Zhao Yanbai Git Server - minix.git/commit
tty: i386: rs232 fix 26/626/2
authorBen Gras <ben@minix3.org>
Tue, 11 Jun 2013 14:11:57 +0000 (14:11 +0000)
committerBen Gras <ben@minix3.org>
Wed, 12 Jun 2013 07:04:52 +0000 (07:04 +0000)
commit93d9caa2d66bca6d59d928905cdcc589edf94f94
tree7f7a6c7be1fad5802255f94490bfc65511b11de1
parent9178749e131d3ea6caf57051fd87554e51126441
tty: i386: rs232 fix

. ignore interrupt (stop interrupt check loop) if
  interrupt bit not set; limit loop too
. mask off other bits when testing bits in the status register
. this fixes rs232 output that would otherwise never get re-triggered
  as too many bits were set in the status byte to match the
  possibilities.

Change-Id: I311c93377fa8fb477ee9a756455fdeda780e6ba1
drivers/tty/arch/i386/rs232.c