summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhshoexer <hshoexer@openbsd.org>2005-02-03 14:46:42 +0000
committerhshoexer <hshoexer@openbsd.org>2005-02-03 14:46:42 +0000
commitc9f0022a7de2f9ceee98e90149ffca38bab6e904 (patch)
treee27d4186bcd8647e927a12988ebac2cba1010ec2
parentImplement simple duplicate suppression of peer errors; ok henning@ (diff)
downloadwireguard-openbsd-c9f0022a7de2f9ceee98e90149ffca38bab6e904.tar.xz
wireguard-openbsd-c9f0022a7de2f9ceee98e90149ffca38bab6e904.zip
unbreak by killing volatile from fxp_mdi_read(). No binary change.
ok mickey
-rw-r--r--sys/dev/ic/fxp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c
index 08dafba56fe..ce1918e52fe 100644
--- a/sys/dev/ic/fxp.c
+++ b/sys/dev/ic/fxp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxp.c,v 1.67 2005/02/03 00:37:48 kevlo Exp $ */
+/* $OpenBSD: fxp.c,v 1.68 2005/02/03 14:46:42 hshoexer Exp $ */
/* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */
/*
@@ -163,7 +163,7 @@ void fxp_load_ucode(struct fxp_softc *);
void fxp_stop(struct fxp_softc *, int);
void fxp_watchdog(struct ifnet *);
int fxp_add_rfabuf(struct fxp_softc *, struct mbuf *);
-volatile int fxp_mdi_read(struct device *, int, int);
+int fxp_mdi_read(struct device *, int, int);
void fxp_mdi_write(struct device *, int, int, int);
void fxp_autosize_eeprom(struct fxp_softc *);
void fxp_statchg(struct device *);
@@ -1603,7 +1603,7 @@ fxp_add_rfabuf(sc, oldm)
return (m == oldm);
}
-volatile int
+int
fxp_mdi_read(self, phy, reg)
struct device *self;
int phy;