Changeset 7bdcc45 in mainline for uspace/srv/hw/netif/dp8390/dp8390.c


Ignore:
Timestamp:
2010-12-16T16:38:49Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7837101
Parents:
8e58f94 (diff), eb221e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r8e58f94 r7bdcc45  
    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.