mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
sfxge: add missing const qualifier to sfxge_link_mode
Sponsored by: Solarflare Communications, Inc. MFC after: 2 days
This commit is contained in:
parent
ebbeae2083
commit
ab2310e8bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=282897
@ -686,7 +686,7 @@ sfxge_port_init(struct sfxge_softc *sc)
|
||||
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