Changeset 84239b1 in mainline for uspace/drv/nic


Ignore:
Timestamp:
2018-03-11T19:39:11Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

Location:
uspace/drv/nic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    r850fd32 r84239b1  
    544544        fibril_mutex_unlock(&e1000->rx_lock);
    545545        return rc;
    546 };
     546}
    547547
    548548/** Write receive address to RA registr
     
    22812281        fibril_mutex_unlock(&e1000->rx_lock);
    22822282        return EOK;
    2283 };
     2283}
    22842284
    22852285/** Set card MAC address
  • uspace/drv/nic/rtl8169/driver.c

    r850fd32 r84239b1  
    3434#include <byteorder.h>
    3535#include <libarch/barrier.h>
     36#include <stdbool.h>
    3637
    3738#include <as.h>
     
    674675        unsigned int i = first;
    675676
    676         for (;;) {
     677        while (true) {
    677678                descr = &rtl8169->rx_ring[i];
    678679                buff_phys = rtl8169->rx_buff_phys + (BUFFER_SIZE * i);
     
    991992        tail = rtl8169->rx_tail;
    992993
    993         for (;;) {
     994        while (true) {
    994995                descr = &rtl8169->rx_ring[tail];
    995996
Note: See TracChangeset for help on using the changeset viewer.