diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2007-11-18 02:28:26 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2007-11-18 02:28:26 +0000 |
commit | aeee6a79a2d8f677cab1ffc6427a4be5e2cb55d7 (patch) | |
tree | aab21011bdffe705c87befd20fe636a41e9788ad /sys/dev/ic/hme.c | |
parent | f2032cd2e5d53f24c5725438b56922802d1ac65a (diff) |
revert previous commit as requested by kettenis and deraadt.
Diffstat (limited to 'sys/dev/ic/hme.c')
-rw-r--r-- | sys/dev/ic/hme.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c index a6c7d636e39..6cc3584d511 100644 --- a/sys/dev/ic/hme.c +++ b/sys/dev/ic/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.47 2007/11/18 00:36:34 brad Exp $ */ +/* $OpenBSD: hme.c,v 1.48 2007/11/18 02:28:25 brad Exp $ */ /* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */ /*- @@ -104,9 +104,9 @@ int hme_newbuf(struct hme_softc *, struct hme_sxd *, int); int hme_encap(struct hme_softc *, struct mbuf *, int *); /* MII methods & callbacks */ -int hme_mii_readreg(struct device *, int, int); -void hme_mii_writereg(struct device *, int, int, int); -void hme_mii_statchg(struct device *); +static int hme_mii_readreg(struct device *, int, int); +static void hme_mii_writereg(struct device *, int, int, int); +static void hme_mii_statchg(struct device *); int hme_mediachange(struct ifnet *); void hme_mediastatus(struct ifnet *, struct ifmediareq *); @@ -1010,7 +1010,7 @@ hme_mifinit(sc) /* * MII interface */ -int +static int hme_mii_readreg(self, phy, reg) struct device *self; int phy, reg; @@ -1068,7 +1068,7 @@ out: return (v); } -void +static void hme_mii_writereg(self, phy, reg, val) struct device *self; int phy, reg, val; @@ -1123,7 +1123,7 @@ out: bus_space_write_4(t, mac, HME_MACI_XIF, xif_cfg); } -void +static void hme_mii_statchg(dev) struct device *dev; { |