summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-02-03 14:46:43 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2005-02-03 14:46:43 +0000
commit5320eda28a762cbd0bb083d79b596a54051bc8b8 (patch)
treec58b5e4afade32a24507c51a19807b76d536815f /sys
parent3ba1593ebbef439c9c89cd1ccb5a159017057aa1 (diff)
unbreak by killing volatile from fxp_mdi_read(). No binary change.
ok mickey
Diffstat (limited to 'sys')
-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;