summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-07-22 09:35:45 +0000
committerphk <phk@FreeBSD.org>2003-07-22 09:35:45 +0000
commitb5408a3e8f054d75ddbda2e0f17add2667916d6d (patch)
treefb0c888ea8e022bab2206f1048e943152e8ddd33
parentdf7d325032a4951ef4fbcd5c2df3b8171dba4861 (diff)
downloadFreeBSD-src-b5408a3e8f054d75ddbda2e0f17add2667916d6d.zip
FreeBSD-src-b5408a3e8f054d75ddbda2e0f17add2667916d6d.tar.gz
Move inlined function ie_ack() up to before first use.
-rw-r--r--sys/dev/ie/if_ie.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c
index 60d5f89..ee376d1 100644
--- a/sys/dev/ie/if_ie.c
+++ b/sys/dev/ie/if_ie.c
@@ -326,6 +326,14 @@ ie_attach(device_t dev)
return (0);
}
+static __inline void
+ie_ack(struct ie_softc *sc, u_int mask)
+{
+
+ sc->scb->ie_command = sc->scb->ie_status & mask;
+ (*sc->ie_chan_attn) (sc);
+}
+
/*
* What to do upon receipt of an interrupt.
*/
@@ -1220,14 +1228,6 @@ sl_read_ether(struct ie_softc *sc, unsigned char *addr)
addr[i] = inb(PORT(sc) + i);
}
-static __inline void
-ie_ack(struct ie_softc *sc, u_int mask)
-{
-
- sc->scb->ie_command = sc->scb->ie_status & mask;
- (*sc->ie_chan_attn) (sc);
-}
-
static void
iereset(struct ie_softc *sc)
{
OpenPOWER on IntegriCloud