Changeset cde999a in mainline for uspace/drv/nic/rtl8139/driver.c
- Timestamp:
- 2018-01-04T20:22:51Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3d95c9d, 84a1a54
- Parents:
- 3c7702c0
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8139/driver.c
r3c7702c0 rcde999a 217 217 * @param address The place to store the address 218 218 * 219 * @return EOK if succeed, negativeerror code otherwise219 * @return EOK if succeed, error code otherwise 220 220 */ 221 221 inline static void rtl8139_hw_get_addr(rtl8139_t *rtl8139, … … 844 844 * @param[out] handle IRQ capability handle if the handler was registered. 845 845 * 846 * @return Negativeerror code otherwise.846 * @return An error code otherwise. 847 847 */ 848 848 inline static int rtl8139_register_int_handler(nic_t *nic_data, cap_handle_t *handle) … … 1025 1025 * @param hw_resources Devices hardware resources 1026 1026 * 1027 * @return EOK if succeed, negativeerror code otherwise1027 * @return EOK if succeed, error code otherwise 1028 1028 */ 1029 1029 static int rtl8139_fill_resource_info(ddf_dev_t *dev, const hw_res_list_parsed_t … … 1065 1065 * @param dev The device structure 1066 1066 * 1067 * @return EOK if succeed, negativeerror code otherwise1067 * @return EOK if succeed, error code otherwise 1068 1068 */ 1069 1069 static int rtl8139_get_resource_info(ddf_dev_t *dev) … … 1147 1147 * @param dev The device information 1148 1148 * 1149 * @return EOK if succeed, negativeerror code otherwise1149 * @return EOK if succeed, error code otherwise 1150 1150 */ 1151 1151 static int rtl8139_device_initialize(ddf_dev_t *dev) … … 1206 1206 * @param dev The RTL8139 device. 1207 1207 * 1208 * @return EOK if successed, negativeerror code otherwise1208 * @return EOK if successed, error code otherwise 1209 1209 */ 1210 1210 static int rtl8139_pio_enable(ddf_dev_t *dev) … … 1256 1256 * @param dev The RTL8139 device. 1257 1257 * 1258 * @return EOK if added successfully, negativeerror code otherwise1258 * @return EOK if added successfully, error code otherwise 1259 1259 */ 1260 1260 int rtl8139_dev_add(ddf_dev_t *dev) … … 1339 1339 * @param max_len Maximal addresss length to store 1340 1340 * 1341 * @return EOK if succeed, negativeerror code otherwise1341 * @return EOK if succeed, error code otherwise 1342 1342 */ 1343 1343 static int rtl8139_set_addr(ddf_fun_t *fun, const nic_address_t *addr)
Note:
See TracChangeset
for help on using the changeset viewer.