diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-04-30 22:08:44 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-04-30 22:08:44 +0000 |
commit | 1246513f9c16c139e46807fff7f64a102a0b2565 (patch) | |
tree | a3147880557faff76810f8b712ee59155e2a6ac3 /sys/dev/ic/elink3.c | |
parent | 490700c0e029ec12d1375bec4425fe2d72add25a (diff) |
media table could be const
Diffstat (limited to 'sys/dev/ic/elink3.c')
-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) |