Changeset cde999a in mainline for uspace/drv/nic
- Timestamp:
- 2018-01-04T20:22:51Z (8 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)
- Location:
- uspace/drv/nic
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/ar9271/ar9271.c
r3c7702c0 rcde999a 734 734 * @param ar9271 AR9271 device structure 735 735 * 736 * @return EOK if succeed, negativeerror code otherwise736 * @return EOK if succeed, error code otherwise 737 737 * 738 738 */ … … 877 877 * @param dev The device structure. 878 878 * 879 * @return EOK if succeed, negativeerror code otherwise879 * @return EOK if succeed, error code otherwise 880 880 */ 881 881 static int ar9271_add_device(ddf_dev_t *dev) -
uspace/drv/nic/ar9271/ath_usb.c
r3c7702c0 rcde999a 56 56 * @param usb_device Connected USB device. 57 57 * 58 * @return EOK if succeed, negativeerror code otherwise.58 * @return EOK if succeed, error code otherwise. 59 59 * 60 60 */ … … 91 91 * @param buffer_size Buffer size. 92 92 * 93 * @return EOK if succeed, negativeerror code otherwise.93 * @return EOK if succeed, error code otherwise. 94 94 * 95 95 */ … … 111 111 * @param transferred_size Real size of read data. 112 112 * 113 * @return EOK if succeed, negativeerror code otherwise.113 * @return EOK if succeed, error code otherwise. 114 114 * 115 115 */ … … 130 130 * @param buffer_size Buffer size. 131 131 * 132 * @return EOK if succeed, negativeerror code otherwise.132 * @return EOK if succeed, error code otherwise. 133 133 * 134 134 */ … … 166 166 * @param transferred_size Real size of read data. 167 167 * 168 * @return EOK if succeed, negativeerror code otherwise.168 * @return EOK if succeed, error code otherwise. 169 169 * 170 170 */ -
uspace/drv/nic/ar9271/htc.c
r3c7702c0 rcde999a 150 150 * @param endpoint_id Destination endpoint. 151 151 * 152 * @return EOK if succeed, negativeerror code otherwise.152 * @return EOK if succeed, error code otherwise. 153 153 * 154 154 */ … … 173 173 * @param endpoint_id Destination endpoint. 174 174 * 175 * @return EOK if succeed, negativeerror code otherwise.175 * @return EOK if succeed, error code otherwise. 176 176 * 177 177 */ … … 196 196 * @param transferred_size Real size of read data. 197 197 * 198 * @return EOK if succeed, negativeerror code otherwise.198 * @return EOK if succeed, error code otherwise. 199 199 * 200 200 */ … … 216 216 * @param transferred_size Real size of read data. 217 217 * 218 * @return EOK if succeed, negativeerror code otherwise.218 * @return EOK if succeed, error code otherwise. 219 219 * 220 220 */ … … 236 236 * 237 237 * @return EOK if succeed, EINVAL when failed to connect service, 238 * negativeerror code otherwise.238 * error code otherwise. 239 239 * 240 240 */ … … 309 309 * @param htc_device HTC device structure. 310 310 * 311 * @return EOK if succeed, negativeerror code otherwise.311 * @return EOK if succeed, error code otherwise. 312 312 * 313 313 */ … … 357 357 * @param htc_device HTC device structure. 358 358 * 359 * @return EOK if succeed, negativeerror code otherwise.359 * @return EOK if succeed, error code otherwise. 360 360 * 361 361 */ … … 391 391 * 392 392 * @return EOK if succeed, EINVAL if response error, 393 * negativeerror code otherwise.393 * error code otherwise. 394 394 * 395 395 */ … … 427 427 * @param htc_device HTC device structure to be initialized. 428 428 * 429 * @return EOK if succeed, negativeerror code otherwise.429 * @return EOK if succeed, error code otherwise. 430 430 * 431 431 */ … … 448 448 * @param htc_device HTC device structure. 449 449 * 450 * @return EOK if succeed, negativeerror code otherwise.450 * @return EOK if succeed, error code otherwise. 451 451 * 452 452 */ -
uspace/drv/nic/ar9271/hw.c
r3c7702c0 rcde999a 49 49 * 50 50 * @return EOK if succeed, ETIMEOUT on timeout, 51 * negativeerror code otherwise.51 * error code otherwise. 52 52 * 53 53 */ … … 215 215 * @param ar9271 Device structure. 216 216 * 217 * @return EOK if succeed, negativeerror code otherwise.217 * @return EOK if succeed, error code otherwise. 218 218 * 219 219 */ … … 636 636 * @param ar9271 Device structure. 637 637 * 638 * @return EOK if succeed, negativeerror code otherwise.638 * @return EOK if succeed, error code otherwise. 639 639 */ 640 640 int hw_init(ar9271_t *ar9271) -
uspace/drv/nic/ar9271/wmi.c
r3c7702c0 rcde999a 47 47 * @param res Stored result. 48 48 * 49 * @return EOK if succeed, negativeerror code otherwise.49 * @return EOK if succeed, error code otherwise. 50 50 * 51 51 */ … … 79 79 * @param val Value to be written 80 80 * 81 * @return EOK if succeed, negativeerror code otherwise.81 * @return EOK if succeed, error code otherwise. 82 82 * 83 83 */ … … 112 112 * @param clear_bit Bit to be cleared. 113 113 * 114 * @return EOK if succeed, negativeerror code otherwise.114 * @return EOK if succeed, error code otherwise. 115 115 * 116 116 */ … … 146 146 * @param set_bit Bit to be set. 147 147 * 148 * @return EOK if succeed, negativeerror code otherwise.148 * @return EOK if succeed, error code otherwise. 149 149 * 150 150 */ … … 161 161 * @param clear_bit Bit to be cleared. 162 162 * 163 * @return EOK if succeed, negativeerror code otherwise.163 * @return EOK if succeed, error code otherwise. 164 164 * 165 165 */ … … 176 176 * @param elements Number of elements in array. 177 177 * 178 * @return EOK if succeed, negativeerror code otherwise.178 * @return EOK if succeed, error code otherwise. 179 179 * 180 180 */ … … 220 220 * @param response_buffer Buffer with response data. 221 221 * 222 * @return EOK if succeed, negativeerror code otherwise.222 * @return EOK if succeed, error code otherwise. 223 223 * 224 224 */ -
uspace/drv/nic/e1k/e1k.c
r3c7702c0 rcde999a 1261 1261 * @param[out] handle IRQ capability handle if the handler was registered 1262 1262 * 1263 * @return Negativeerror code otherwise1263 * @return An error code otherwise 1264 1264 * 1265 1265 */ … … 1370 1370 * 1371 1371 * @return EOK if succeed 1372 * @return Negativeerror code otherwise1372 * @return An error code otherwise 1373 1373 * 1374 1374 */ … … 1524 1524 * 1525 1525 * @return EOK if succeed 1526 * @return Negativeerror code otherwise1526 * @return An error code otherwise 1527 1527 * 1528 1528 */ … … 1940 1940 * 1941 1941 * @return EOK if succeed 1942 * @return Negativeerror code otherwise1942 * @return An error code otherwise 1943 1943 * 1944 1944 */ … … 1965 1965 * 1966 1966 * @return EOK if succeed 1967 * @return Negativeerror code otherwise1967 * @return An error code otherwise 1968 1968 * 1969 1969 */ … … 1993 1993 * 1994 1994 * @return EOK if succeed 1995 * @return Negativeerror code otherwise1995 * @return An error code otherwise 1996 1996 * 1997 1997 */ … … 2107 2107 * 2108 2108 * @return EOK if successed 2109 * @return Negativeerror code otherwise2109 * @return An error code otherwise 2110 2110 * 2111 2111 */ … … 2255 2255 * 2256 2256 * @return EOK if succeed 2257 * @return Negativeerror code otherwise2257 * @return An error code otherwise 2258 2258 * 2259 2259 */ … … 2289 2289 * 2290 2290 * @return EOK if succeed 2291 * @return Negativeerror code otherwise2291 * @return An error code otherwise 2292 2292 */ 2293 2293 static int e1000_set_addr(ddf_fun_t *fun, const nic_address_t *addr) -
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) -
uspace/drv/nic/rtl8139/general.c
r3c7702c0 rcde999a 81 81 * @param time The requested time 82 82 * 83 * @return EOK if succeed, negativeerror code otherwise83 * @return EOK if succeed, error code otherwise 84 84 */ 85 85 int rtl8139_timer_act_init(rtl8139_timer_act_t * ta, uint32_t timer_freq,
Note:
See TracChangeset
for help on using the changeset viewer.