Changeset acdb5bac in mainline for uspace/drv/nic/e1k/e1k.c
- Timestamp:
- 2013-05-20T18:42:25Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e8ed225
- Parents:
- 44ecf89
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r44ecf89 racdb5bac 293 293 assert(info); 294 294 295 bzero(info, sizeof(nic_device_info_t));295 memset(info, 0, sizeof(nic_device_info_t)); 296 296 297 297 info->vendor_id = 0x8086; … … 1581 1581 goto error; 1582 1582 1583 bzero(e1000->tx_ring_virt,1583 memset(e1000->tx_ring_virt, 0, 1584 1584 E1000_TX_FRAME_COUNT * sizeof(e1000_tx_descriptor_t)); 1585 1585 … … 1872 1872 } 1873 1873 1874 bzero(e1000, sizeof(e1000_t));1874 memset(e1000, 0, sizeof(e1000_t)); 1875 1875 1876 1876 nic_set_specific(nic, e1000);
Note:
See TracChangeset
for help on using the changeset viewer.