Changeset 462054a in mainline for uspace/drv/bus/usb/ar9271/ar9271.c
- Timestamp:
- 2015-01-29T17:46:19Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ab365c4
- Parents:
- 01784d2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ar9271/ar9271.c
r01784d2 r462054a 255 255 } 256 256 257 /** Get MAC address of the AR9271 adapter258 *259 * @param ar9271 The AR9271 device260 * @param address The place to store the address261 *262 * @return EOK if succeed, negative error code otherwise263 */264 inline static void ar9271_hw_get_addr(ar9271_t *ar9271, nic_address_t *addr)265 {266 assert(ar9271);267 assert(addr);268 269 // TODO270 }271 272 257 /** Force receiving all frames in the receive buffer 273 258 * … … 409 394 410 395 memset(ar9271, 0, sizeof(ar9271_t)); 396 397 ar9271->ddf_device = dev; 411 398 412 399 rc = ar9271_init(ar9271, usb_device); … … 492 479 nic_t *nic = nic_get_from_ddf_dev(dev); 493 480 494 /* TODO: Report HW address here. */495 496 481 /* Create AR9271 function.*/ 497 482 fun = ddf_fun_create(nic_get_ddf_dev(nic), fun_exposed, "port0");
Note:
See TracChangeset
for help on using the changeset viewer.