bnxt_en: Refactor the driver registration function with firmware.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 7 Dec 2016 05:26:20 +0000 (00:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Dec 2016 15:59:26 +0000 (10:59 -0500)
commita1653b13f14c714f9bfd5e10c603a37c3bcba7b6
treea2da410eece7af1831778d3465942c957d2bdbe8
parente4060d306b5196966d74e05dee48e6c3a52aaad4
bnxt_en: Refactor the driver registration function with firmware.

The driver register function with firmware consists of passing version
information and registering for async events.  To support the RDMA driver,
the async events that we need to register may change.  Separate the
driver register function into 2 parts so that we can just update the
async events for the RDMA driver.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h