This is v2 of the series, made changes mostly based on Bhanu's suggestions to make things simpler.
v1: can be found at http://lists.open-fcoe.org/pipermail/devel/2012-November/012333.html v2: let libfcoe call fcoe_get_netdev() and use fcoe_netdev in fcoe only. Also merged the last comment fixing patch into the earlier one since there is really no need to have it separately. Patches are directly applicable on current open-fcoe.org tree. I did minor testing on fcoe (got FCID) and compile-tested bnx2fc (load/unload as well). Might have to respin later if runs into conflict. --- Yi Zou (7): bnx2fc: use fcoe_get_lesb/fcoe_ctlr_get_lesb() directly from libfcoe bnx2fc: use fcoe_link_speed_update() from the exported symbol in libfcoe bnx2fc: add support to get_netdev for bnx2f_interface libfcoe/fcoe: consolidate the fcoe_ctlr_get_lesb/fcoe_get_lesb libfcoe/fcoe: move fcoe_link_speed_update() to libfcoe and export it fcoe: add support to the get_netdev() for fcoe_interface fcoe: prep work to start consolidate the usage of fcoe_netdev drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 87 ++++------------------------------- drivers/scsi/fcoe/fcoe.c | 76 ------------------------------- drivers/scsi/fcoe/fcoe_transport.c | 89 ++++++++++++++++++++++++++++++++++++ include/scsi/libfcoe.h | 16 ++++++ 4 files changed, 116 insertions(+), 152 deletions(-) -- Signature: Yi Zou <yi....@intel.com> _______________________________________________ devel mailing list devel@open-fcoe.org https://lists.open-fcoe.org/mailman/listinfo/devel