diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-09-03 11:36:09 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-09-03 11:36:09 +0000 |
commit | 35e448bc64248e025ec91066f13d27b71f283f61 (patch) | |
tree | 188fdd848dce85ff5b1a5163fb30424db697c007 /usr.sbin | |
parent | b953ed778fd30f63baa6aff8784b0863bed3569f (diff) |
fix some wrong interrupt code that doesn't fit with the new model
ok stefan@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/vmd/ns8250.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/usr.sbin/vmd/ns8250.c b/usr.sbin/vmd/ns8250.c index 4347b1f1c9b..b5870c134bf 100644 --- a/usr.sbin/vmd/ns8250.c +++ b/usr.sbin/vmd/ns8250.c @@ -124,14 +124,6 @@ com_rcv(struct ns8250_dev *com, uint32_t vm_id, uint32_t vcpu_id) } } - /* - * Clear "interrupt pending" by setting IIR low bit to 1 if no - * interrupts are pending - */ - /* XXX these iir magic numbers should be IIR_x */ - if ((com->regs.iir & ~0x1) == 0x0) - com->regs.iir = 0x1; - com->rcv_pending = fd_hasdata(com->fd); } |