Changeset 84239b1 in mainline for uspace/drv


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
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_rh.c

    r850fd32 r84239b1  
    339339            USB_PORTSC_PORT_RESET_FLAG) {
    340340                async_usleep(1);
    341         };
     341        }
    342342        usb_log_debug("RH(%p-%u): Reset complete", job->hub, job->port);
    343343        /* Handle port ownership, if the port is not enabled
  • uspace/drv/bus/usb/ehci/hc.c

    r850fd32 r84239b1  
    210210        dma_buffer_free(&hc->dma_buffer);
    211211        return EOK;
    212 };
     212}
    213213
    214214void hc_enqueue_endpoint(hc_t *instance, const endpoint_t *ep)
  • uspace/drv/bus/usb/uhci/uhci_rh.c

    r850fd32 r84239b1  
    252252            hub->reset_changed[port] ? "-reset" : "");
    253253        memcpy(data, &status, sizeof(status));
    254         *act_size = sizeof(status);;
     254        *act_size = sizeof(status);
    255255        return EOK;
    256256}
  • 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
  • uspace/drv/platform/amdm37x/amdm37x.c

    r850fd32 r84239b1  
    282282                            "freq: %d, div: %d", base_freq, div);
    283283                        return;
    284                 };
     284                }
    285285                assert(div <= 127);
    286286
Note: See TracChangeset for help on using the changeset viewer.