Changeset 0b4a67a in mainline for uspace/srv/hw/netif


Ignore:
Timestamp:
2010-11-20T15:33:02Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e1f9b7
Parents:
a9c6b966
Message:

Use a more portable definition of NULL.

Location:
uspace/srv/hw/netif/dp8390
Files:
2 edited

Legend:

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

    ra9c6b966 r0b4a67a  
    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;
  • uspace/srv/hw/netif/dp8390/dp8390_module.c

    ra9c6b966 r0b4a67a  
    127127                dep->received_count = 0;
    128128                fibril_rwlock_write_unlock(&netif_globals.lock);
    129                 nil_received_msg(phone, device_id, received, NULL);
     129                nil_received_msg(phone, device_id, received, SERVICE_NONE);
    130130        }else{
    131131                fibril_rwlock_write_unlock(&netif_globals.lock);
Note: See TracChangeset for help on using the changeset viewer.