Changeset 7eb6c96 in mainline for uspace/drv/nic/e1k/e1k.c


Ignore:
Timestamp:
2014-07-26T23:02:14Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f1fa64, 3d35386
Parents:
ad22fa4
Message:

E1k should not access fun_data since it does not set it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    rad22fa4 r7eb6c96  
    7171/** ddf_fun_t * -> nic_driver_data_t* cast */
    7272#define NIC_DATA_FUN(fun) \
    73         ((nic_t *) ddf_fun_data_get(fun))
     73        ((nic_t *) ddf_dev_data_get(ddf_fun_get_dev(fun)))
    7474
    7575/** ddf_dev_t * -> nic_driver_data_t* cast */
Note: See TracChangeset for help on using the changeset viewer.