Changes in uspace/drv/nic/e1k/e1k.c [6eab537d:8d9217d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r6eab537d r8d9217d 2202 2202 goto err_fun_bind; 2203 2203 2204 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 2205 if (rc != EOK) 2206 goto err_add_to_cat; 2207 2208 rc = ddf_fun_add_to_category(fun, "pcap"); 2204 // rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 2205 // if (rc != EOK) 2206 // goto err_add_to_cat; 2207 2208 // rc = ddf_fun_add_to_category(fun, "pcap"); 2209 // if (rc != EOK) { 2210 // ddf_msg(LVL_ERROR, "Failed adding function to category pcap"); 2211 // goto err_add_to_cat; 2212 // } 2213 rc = nic_fun_add_to_cats(fun); 2209 2214 if (rc != EOK) { 2210 ddf_msg(LVL_ERROR, "Failed adding function to category pcap"); 2211 goto err_add_to_cat; 2212 } 2213 2215 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 2216 return rc; 2217 } 2214 2218 return EOK; 2215 2219 2216 err_add_to_cat:2217 ddf_fun_unbind(fun);2220 // err_add_to_cat: 2221 // ddf_fun_unbind(fun); 2218 2222 err_fun_bind: 2219 2223 err_rx_structure:
Note:
See TracChangeset
for help on using the changeset viewer.