Changeset 096234b in mainline
- Timestamp:
- 2011-01-06T18:08:04Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 37f0a29
- Parents:
- 40559a96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/dp8390.c
r40559a96 r096234b 24 24 * @return EINVAL 25 25 */ 26 int queue_packet(dpeth_t * 26 int queue_packet(dpeth_t *dep, packet_t *packet); 27 27 28 28 /** Reads a memory block byte by byte. … … 226 226 227 227 (dep->de_user2nicf)(dep, buf, 0, 228 dep->de_sendq[sendq_head].sq_sendpage * DP_PAGESIZE, 229 size);230 dep->de_sendq[sendq_head].sq_filled= true;228 dep->de_sendq[sendq_head].sq_sendpage * DP_PAGESIZE, size); 229 dep->de_sendq[sendq_head].sq_filled = true; 230 231 231 if (dep->de_sendq_tail == sendq_head) { 232 232 outb_reg0(dep, DP_TPSR, dep->de_sendq[sendq_head].sq_sendpage); 233 233 outb_reg0(dep, DP_TBCR1, size >> 8); 234 234 outb_reg0(dep, DP_TBCR0, size & 0xff); 235 outb_reg0(dep, DP_CR, CR_TXP | CR_EXTRA); /* there it goes .. */235 outb_reg0(dep, DP_CR, CR_TXP | CR_EXTRA); /* there it goes .. */ 236 236 } else 237 237 dep->de_sendq[sendq_head].sq_size = size; … … 247 247 /* 248 248 * If the interrupt handler called, don't send a reply. The reply 249 * will be sent after all interrupts are handled. 249 * will be sent after all interrupts are handled. 250 250 */ 251 251 if (from_int) … … 540 540 * are delivered. 541 541 */ 542 printf("<reset>\n"); 542 543 dp_reset(dep); 543 544 }
Note:
See TracChangeset
for help on using the changeset viewer.