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

This commit is contained in:
phk 2003-07-22 09:35:45 +00:00
parent df7d325032
commit b5408a3e8f

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