mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Move inlined function ie_ack() up to before first use.
This commit is contained in:
parent
b4ae478044
commit
60512ca0d2
1 changed files with 8 additions and 8 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue