diff options
author | 2002-04-30 22:08:43 +0000 | |
---|---|---|
committer | 2002-04-30 22:08:43 +0000 | |
commit | b74a0aa2a96ab223e785ea36fa7b0a445dd3bbc9 (patch) | |
tree | 1986200cf3eb9bb48f3e52f8ab8c0780ed2b3a25 | |
parent | unused stuffing (diff) | |
download | wireguard-openbsd-b74a0aa2a96ab223e785ea36fa7b0a445dd3bbc9.tar.xz wireguard-openbsd-b74a0aa2a96ab223e785ea36fa7b0a445dd3bbc9.zip |
media table could be const
-rw-r--r-- | sys/dev/ic/elink3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index bcbb91ec072..e58a82abdf7 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3.c,v 1.57 2002/03/14 03:16:04 millert Exp $ */ +/* $OpenBSD: elink3.c,v 1.58 2002/04/30 22:08:43 mickey Exp $ */ /* $NetBSD: elink3.c,v 1.32 1997/05/14 00:22:00 thorpej Exp $ */ /* @@ -95,7 +95,7 @@ struct ep_media { * (i.e., EPMEDIA_ constants) forcing order of entries. * Note that 3 is reserved. */ -struct ep_media ep_vortex_media[8] = { +const struct ep_media ep_vortex_media[8] = { { EP_PCI_UTP, EPC_UTP, "utp", IFM_ETHER|IFM_10_T, EPMEDIA_10BASE_T }, { EP_PCI_AUI, EPC_AUI, "aui", IFM_ETHER|IFM_10_5, @@ -546,7 +546,7 @@ ep_vortex_probemedia(sc) /* set available media options */ conn = 0; for (i = 0; i < 8; i++) { - struct ep_media * epm = ep_vortex_media + i; + const struct ep_media *epm = ep_vortex_media + i; if ((reset_options & epm->epm_eeprom_data) != 0) { if (conn) |