Changeset 1b20da0 in mainline for uspace/lib/nic/src/nic_driver.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/src/nic_driver.c
rdf6ded8 r1b20da0 375 375 } 376 376 377 /** Get the polling mode information from the device 377 /** Get the polling mode information from the device 378 378 * 379 379 * The main lock should be locked, otherwise the inconsistency between … … 898 898 } 899 899 900 /** 900 /** 901 901 * @param dev DDF device associated with NIC 902 902 * @return The associated NIC structure … … 907 907 } 908 908 909 /** 909 /** 910 910 * @param dev DDF function associated with NIC 911 911 * @return The associated NIC structure … … 938 938 * @param cause The concrete error cause. 939 939 */ 940 void nic_report_send_error(nic_t *nic_data, nic_send_error_cause_t cause, 940 void nic_report_send_error(nic_t *nic_data, nic_send_error_cause_t cause, 941 941 unsigned count) 942 942 { … … 1021 1021 } 1022 1022 1023 /** Just wrapper for checking nonzero time interval 1023 /** Just wrapper for checking nonzero time interval 1024 1024 * 1025 1025 * @oaram t The interval to check … … 1105 1105 /* Create the fibril if it is not crated */ 1106 1106 if (nic_data->sw_poll_info.fibril == 0) { 1107 nic_data->sw_poll_info.fibril = fibril_create(period_fibril_fun, 1107 nic_data->sw_poll_info.fibril = fibril_create(period_fibril_fun, 1108 1108 nic_data); 1109 1109 nic_data->sw_poll_info.running = 0;
Note:
See TracChangeset
for help on using the changeset viewer.