Changeset 192565b in mainline for uspace/drv/nic/e1k/e1k.c


Ignore:
Timestamp:
2013-05-27T13:18:13Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f2c19b0
Parents:
d120133 (diff), c90aed4 (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/drv/nic/e1k/e1k.c

    rd120133 r192565b  
    293293        assert(info);
    294294       
    295         bzero(info, sizeof(nic_device_info_t));
     295        memset(info, 0, sizeof(nic_device_info_t));
    296296       
    297297        info->vendor_id = 0x8086;
     
    15811581                goto error;
    15821582       
    1583         bzero(e1000->tx_ring_virt,
     1583        memset(e1000->tx_ring_virt, 0,
    15841584            E1000_TX_FRAME_COUNT * sizeof(e1000_tx_descriptor_t));
    15851585       
     
    18721872        }
    18731873       
    1874         bzero(e1000, sizeof(e1000_t));
     1874        memset(e1000, 0, sizeof(e1000_t));
    18751875       
    18761876        nic_set_specific(nic, e1000);
Note: See TracChangeset for help on using the changeset viewer.