OSDN Git Service

i40e: register existing client on probe
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 30 Mar 2017 07:46:07 +0000 (00:46 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 7 Apr 2017 03:22:28 +0000 (20:22 -0700)
commit8090f6183c56dd133a0fd6a9bcc09b1da8dbb0e8
treed022913d9a8cc4657407aa48f02d4167541e1455
parent295c0a555062384449cb2b4670b7aac08c3624ac
i40e: register existing client on probe

In some cases, a client (i40iw) may already be present when probe is
called. Check for this, and add a client instance if necessary.

Change-ID: I2009312694b7ad81f1023919e4c6c86181f21689
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_client.c