diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-07-22 09:35:45 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-07-22 09:35:45 +0000 |
commit | 60512ca0d2f4eb78a0a2cf88aacc118c1d23bf68 (patch) | |
tree | fb0c888ea8e022bab2206f1048e943152e8ddd33 /sys/dev/ie | |
parent | b4ae47804474251aff8c092f171ec937bf671e1e (diff) | |
download | src-60512ca0d2f4eb78a0a2cf88aacc118c1d23bf68.tar.gz src-60512ca0d2f4eb78a0a2cf88aacc118c1d23bf68.zip |
Move inlined function ie_ack() up to before first use.
Notes
Notes:
svn path=/head/; revision=117877
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 60d5f8902d30..ee376d1612c1 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) { |