diff options
author | kevlo <kevlo@FreeBSD.org> | 2007-05-30 03:46:04 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2007-05-30 03:46:04 +0000 |
commit | 6bcdad00d0f6f867988dba1706318ef76045f49f (patch) | |
tree | f50a6a93bf311733055fdfbff2a1c2ade8bbcd62 /sys/dev/fxp | |
parent | c5946ebbbc9405578f16560b3f958ac574d6bc90 (diff) | |
download | FreeBSD-src-6bcdad00d0f6f867988dba1706318ef76045f49f.zip FreeBSD-src-6bcdad00d0f6f867988dba1706318ef76045f49f.tar.gz |
Remove the volatile qualifier to apply to fxp_miibus_readreg().
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 900b021..a652fb6 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -249,7 +249,7 @@ static void fxp_ifmedia_sts(struct ifnet *ifp, static int fxp_serial_ifmedia_upd(struct ifnet *ifp); static void fxp_serial_ifmedia_sts(struct ifnet *ifp, struct ifmediareq *ifmr); -static volatile int fxp_miibus_readreg(device_t dev, int phy, int reg); +static int fxp_miibus_readreg(device_t dev, int phy, int reg); static void fxp_miibus_writereg(device_t dev, int phy, int reg, int value); static void fxp_load_ucode(struct fxp_softc *sc); @@ -2323,7 +2323,7 @@ fxp_add_rfabuf(struct fxp_softc *sc, struct fxp_rx *rxp) return (0); } -static volatile int +static int fxp_miibus_readreg(device_t dev, int phy, int reg) { struct fxp_softc *sc = device_get_softc(dev); |