diff options
author | Coiby Xu <coiby.xu@gmail.com> | 2021-01-23 18:46:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-29 16:54:20 +0100 |
commit | 953b94009377419f28fd0153f91fcd5b5a347608 (patch) | |
tree | b7b514af61a99d8e970f5c9953f456d69857ba6c /drivers/staging/qlge/Makefile | |
parent | staging: qlge: use qlge_* prefix to avoid namespace clashes with other qlogic drivers (diff) | |
download | linux-dev-953b94009377419f28fd0153f91fcd5b5a347608.tar.xz linux-dev-953b94009377419f28fd0153f91fcd5b5a347608.zip |
staging: qlge: Initialize devlink health dump framework
Initialize devlink health dump framework for the qlge driver so the
coredump could be done via devlink.
struct qlge_adapter is now used as the private data structure of
struct devlink so it could exist independently of struct net_device
and devlink reload could be supported in the future. The private data
of PCIe driver now points to qlge_adapter.
Since devlink_alloc will zero out struct qlge_adapter, memset in
qlge_init_device is not necessary.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Link: https://lore.kernel.org/r/20210123104613.38359-3-coiby.xu@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/qlge/Makefile')
-rw-r--r-- | drivers/staging/qlge/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/qlge/Makefile b/drivers/staging/qlge/Makefile index 1dc2568e820c..07c1898a512e 100644 --- a/drivers/staging/qlge/Makefile +++ b/drivers/staging/qlge/Makefile @@ -5,4 +5,4 @@ obj-$(CONFIG_QLGE) += qlge.o -qlge-objs := qlge_main.o qlge_dbg.o qlge_mpi.o qlge_ethtool.o +qlge-objs := qlge_main.o qlge_dbg.o qlge_mpi.o qlge_ethtool.o qlge_devlink.o |