mirror of
https://github.com/AuxXxilium/synology-igc.git
synced 2024-11-23 23:11:07 +07:00
update ethtool version
Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
parent
548dec7a69
commit
c972114178
1
igc.h
1
igc.h
@ -244,6 +244,7 @@ void igc_rings_dump(struct igc_adapter *adapter);
|
||||
void igc_regs_dump(struct igc_adapter *adapter);
|
||||
|
||||
extern char igc_driver_name[];
|
||||
extern char igc_driver_version[];
|
||||
|
||||
#define IGC_REGS_LEN 740
|
||||
|
||||
|
@ -144,6 +144,7 @@ static void igc_ethtool_get_drvinfo(struct net_device *netdev,
|
||||
u16 gphy_version;
|
||||
|
||||
strscpy(drvinfo->driver, igc_driver_name, sizeof(drvinfo->driver));
|
||||
strscpy(drvinfo->version, igc_driver_version, sizeof(drvinfo->version));
|
||||
|
||||
/* NVM image version is reported as firmware version for i225 device */
|
||||
hw->nvm.ops.read(hw, IGC_NVM_DEV_STARTER, 1, &nvm_version);
|
||||
|
@ -35,6 +35,8 @@ module_param(debug, int, 0);
|
||||
MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
|
||||
|
||||
char igc_driver_name[] = "igc";
|
||||
char igc_driver_version[] = DRV_VERSION;
|
||||
|
||||
static const char igc_driver_string[] = DRV_SUMMARY;
|
||||
static const char igc_copyright[] =
|
||||
"Copyright(c) 2018 Intel Corporation. Copyright(c) 2022 Jim Ma.";
|
||||
|
Loading…
Reference in New Issue
Block a user