Changeset 84239b1 in mainline for uspace/drv/nic/rtl8169/driver.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (6 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.