OSDN Git Service

ionic: add support for device id 0x1004
authorShannon Nelson <snelson@pensando.io>
Sat, 7 Mar 2020 01:04:07 +0000 (17:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Mar 2020 02:34:04 +0000 (19:34 -0700)
commitb3f064e9746dbc569fef58975ae435b89737ad59
tree84934049f6884379dc728e137bebf9808e6d6623
parentc220e52396772eac5b26de4540c87be8b632e20a
ionic: add support for device id 0x1004

Add support for the management port device id.  This is to
capture the device and set it up for devlink use, but not set
it up for network operations.  We still use a netdev object
in order to use the napi infrasucture for processing adminq
and notifyq messages, we just don't register the netdev.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic.h
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c
drivers/net/ethernet/pensando/ionic/ionic_devlink.c
drivers/net/ethernet/pensando/ionic/ionic_lif.c