mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
MFC: r282897
sfxge: add missing const qualifier to sfxge_link_mode Sponsored by: Solarflare Communications, Inc.
This commit is contained in:
parent
0991b150c8
commit
8c90b9ff10
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=283202
@ -624,7 +624,7 @@ fail:
|
||||
return (rc);
|
||||
}
|
||||
|
||||
static int sfxge_link_mode[EFX_PHY_MEDIA_NTYPES][EFX_LINK_NMODES] = {
|
||||
static const int sfxge_link_mode[EFX_PHY_MEDIA_NTYPES][EFX_LINK_NMODES] = {
|
||||
[EFX_PHY_MEDIA_CX4] = {
|
||||
[EFX_LINK_10000FDX] = IFM_ETHER | IFM_FDX | IFM_10G_CX4,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user