diff options
author | Kenjiro Cho <kjc@cvs.openbsd.org> | 2002-03-12 09:51:21 +0000 |
---|---|---|
committer | Kenjiro Cho <kjc@cvs.openbsd.org> | 2002-03-12 09:51:21 +0000 |
commit | c0673e7470e78851e90fed12a36fc994cd4a9596 (patch) | |
tree | 493f6323005acbca62cfdc1588c1bcca53310914 /sys/arch/macppc/dev | |
parent | a58c9d8493088f72eea1a7fe29bd0458cad36e81 (diff) |
sync with KAME
ALTQify more drivers.
ok millert@
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r-- | sys/arch/macppc/dev/if_bm.c | 5 | ||||
-rw-r--r-- | sys/arch/macppc/dev/if_gm.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/macppc/dev/if_bm.c b/sys/arch/macppc/dev/if_bm.c index 2de5d04879d..bbc11040fbc 100644 --- a/sys/arch/macppc/dev/if_bm.c +++ b/sys/arch/macppc/dev/if_bm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bm.c,v 1.5 2001/11/06 19:53:15 miod Exp $ */ +/* $OpenBSD: if_bm.c,v 1.6 2002/03/12 09:51:20 kjc Exp $ */ /* $NetBSD: if_bm.c,v 1.1 1999/01/01 01:27:52 tsubai Exp $ */ /*- @@ -266,6 +266,7 @@ bmac_attach(parent, self, aux) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; ifp->if_watchdog = bmac_watchdog; + IFQ_SET_READY(&ifp->if_snd); mii->mii_ifp = ifp; mii->mii_readreg = bmac_mii_readreg; @@ -658,7 +659,7 @@ bmac_start(ifp) if (ifp->if_flags & IFF_OACTIVE) return; - IF_DEQUEUE(&ifp->if_snd, m); + IFQ_DEQUEUE(&ifp->if_snd, m); if (m == 0) break; #if NBPFILTER > 0 diff --git a/sys/arch/macppc/dev/if_gm.c b/sys/arch/macppc/dev/if_gm.c index dfd6e1e282d..655509c56b0 100644 --- a/sys/arch/macppc/dev/if_gm.c +++ b/sys/arch/macppc/dev/if_gm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gm.c,v 1.4 2001/11/06 19:53:15 miod Exp $ */ +/* $OpenBSD: if_gm.c,v 1.5 2002/03/12 09:51:20 kjc Exp $ */ /* $NetBSD: if_gm.c,v 1.14 2001/07/22 11:29:46 wiz Exp $ */ /*- @@ -353,6 +353,7 @@ gmac_attach(parent, self, aux) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS | IFF_MULTICAST; ifp->if_flags |= IFF_ALLMULTI; + IFQ_SET_READY(&ifp->if_snd); mii->mii_ifp = ifp; mii->mii_readreg = gmac_mii_readreg; @@ -617,7 +618,7 @@ gmac_start(ifp) if (ifp->if_flags & IFF_OACTIVE) break; - IF_DEQUEUE(&ifp->if_snd, m); + IFQ_DEQUEUE(&ifp->if_snd, m); if (m == 0) break; |