Changeset efa8aec6 in mainline
- Timestamp:
- 2011-01-06T22:31:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3fe7df
- Parents:
- ba21938
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390.c
rba21938 refa8aec6 377 377 static uint8_t isr_acknowledge(dpeth_t *dep) 378 378 { 379 uint8_t isr = inb_reg0(dep, DP_ISR) & 0x7f;379 uint8_t isr = inb_reg0(dep, DP_ISR); 380 380 if (isr != 0) 381 381 outb_reg0(dep, DP_ISR, isr); … … 392 392 fprintf(stderr, "dp8390: got premature interrupt\n"); 393 393 394 for (; isr!= 0; isr = isr_acknowledge(dep)) {394 for (; (isr & 0x7f) != 0; isr = isr_acknowledge(dep)) { 395 395 if (isr & (ISR_PTX | ISR_TXE)) { 396 396 if (isr & ISR_TXE) … … 429 429 } 430 430 431 dep->de_sendq[sendq_tail].sq_filled = 0;431 dep->de_sendq[sendq_tail].sq_filled = false; 432 432 433 433 if (++sendq_tail == dep->de_sendq_nr)
Note:
See TracChangeset
for help on using the changeset viewer.