Ignore:
File:
1 edited

Legend:

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

    r46d4d9f r7e752b2  
    432432        dep->de_write_iovec.iod_iovec[0].iov_size = size;
    433433        dep->de_write_iovec.iod_iovec_s = 1;
    434         dep->de_write_iovec.iod_iovec_addr = NULL;
     434        dep->de_write_iovec.iod_iovec_addr = (uintptr_t) NULL;
    435435
    436436        if (size < ETH_MIN_PACK_SIZE || size > ETH_MAX_PACK_SIZE_TAGGED)
     
    10151015        dep->de_read_iovec.iod_iovec[0].iov_size = length;
    10161016        dep->de_read_iovec.iod_iovec_s = 1;
    1017         dep->de_read_iovec.iod_iovec_addr = NULL;
     1017        dep->de_read_iovec.iod_iovec_addr = (uintptr_t) NULL;
    10181018
    10191019        last = page + (length - 1) / DP_PAGESIZE;
     
    15161516        if (!wdeth_probe(dep) && !ne_probe(dep) && !el2_probe(dep))
    15171517        {
    1518                 printf("%s: No ethernet card found at 0x%x\n",
    1519                         dep->de_name, dep->de_base_port);
     1518                printf("%s: No ethernet card found at %#lx\n",
     1519                    dep->de_name, dep->de_base_port);
    15201520                dep->de_mode= DEM_DISABLED;
    15211521                return;
Note: See TracChangeset for help on using the changeset viewer.