mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

The MAC hardware is on the BMC side, and the driver is on the host side. When the driver is abnormal, the BMC cannot directly detect the exception cause. Therefore, this patch implements the BMC diagnosis feature. When users query driver diagnosis information on the BMC, the driver detects the query request in the scheduled task and reports driver statistics and link status to the BMC through the bar space. The BMC collects logs to analyze exception causes. Currently, the scheduled task is executed every 30 seconds To quickly respond to user query requests, this patch changes the scheduled task to once every second. Signed-off-by: Jijie Shao <shaojijie@huawei.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
10 lines
261 B
Makefile
10 lines
261 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Makefile for the HISILICON BMC GE network device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_HIBMCGE) += hibmcge.o
|
|
|
|
hibmcge-objs = hbg_main.o hbg_hw.o hbg_mdio.o hbg_irq.o hbg_txrx.o hbg_ethtool.o \
|
|
hbg_debugfs.o hbg_err.o hbg_diagnose.o
|