Changeset 192565b in mainline for uspace/drv/nic/e1k/e1k.c
- Timestamp:
- 2013-05-27T13:18:13Z (12 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
rd120133 r192565b 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.