1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Move inlined function ie_ack() up to before first use.

This commit is contained in:
Poul-Henning Kamp 2003-07-22 09:35:45 +00:00
parent b4ae478044
commit 60512ca0d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117877

View File

@ -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)
{