Changeset 096234b in mainline


Ignore:
Timestamp:
2011-01-06T18:08:04Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
37f0a29
Parents:
40559a96
Message:

more cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/dp8390.c

    r40559a96 r096234b  
    2424 *  @return EINVAL
    2525 */
    26 int queue_packet(dpeth_t * dep, packet_t *packet);
     26int queue_packet(dpeth_t *dep, packet_t *packet);
    2727
    2828/** Reads a memory block byte by byte.
     
    226226       
    227227        (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       
    231231        if (dep->de_sendq_tail == sendq_head) {
    232232                outb_reg0(dep, DP_TPSR, dep->de_sendq[sendq_head].sq_sendpage);
    233233                outb_reg0(dep, DP_TBCR1, size >> 8);
    234234                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 .. */
    236236        } else
    237237                dep->de_sendq[sendq_head].sq_size = size;
     
    247247        /*
    248248         * 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.
    250250         */
    251251        if (from_int)
     
    540540                 * are delivered.
    541541                 */
     542                printf("<reset>\n");
    542543                dp_reset(dep);
    543544        }
Note: See TracChangeset for help on using the changeset viewer.