When ICW1 is issued the edge sense circuit is reset which means that

following an initialization a low-to-high transistion is necesary to
generate an interrupt.

Reviewed by:	neel
This commit is contained in:
tychon 2015-03-06 02:05:45 +00:00
parent 20f0285d8c
commit eedd9cfb16

View File

@ -275,6 +275,7 @@ vatpic_icw1(struct vatpic *vatpic, struct atpic *atpic, uint8_t val)
atpic->ready = false;
atpic->icw_num = 1;
atpic->request = 0;
atpic->mask = 0;
atpic->lowprio = 7;
atpic->rd_cmd_reg = 0;