Changeset acdb5bac in mainline for uspace/drv/nic
- Timestamp:
- 2013-05-20T18:42:25Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6e8ed225
- Parents:
- 44ecf89
- Location:
- uspace/drv/nic
- Files:
-
- 3 edited
-
e1k/e1k.c (modified) (3 diffs)
-
ne2k/dp8390.c (modified) (1 diff)
-
rtl8139/driver.c (modified) (1 diff)
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); -
uspace/drv/nic/ne2k/dp8390.c
r44ecf89 racdb5bac 446 446 return NULL; 447 447 448 bzero(frame->data, length);448 memset(frame->data, 0, length); 449 449 uint8_t last = page + length / DP_PAGE; 450 450 -
uspace/drv/nic/rtl8139/driver.c
r44ecf89 racdb5bac 1020 1020 } 1021 1021 1022 bzero(rtl8139, sizeof(rtl8139_t));1022 memset(rtl8139, 0, sizeof(rtl8139_t)); 1023 1023 1024 1024 rtl8139->nic_data = nic_data;
Note:
See TracChangeset
for help on using the changeset viewer.
