summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-05-13 19:04:31 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-05-13 19:04:31 +0000
commit0f7f89496d1ee40b2fe22721162aae80ebfc9f50 (patch)
tree63ca23372b3e1713ccf5b83b5775507502489224
parent5d2173f048ae4da4416505b3b6a23d7defe11ac4 (diff)
add IFQ_SET_READY in wanpipe_generic_register() to notify the stack that this
driver is ALTQ ready. ok canacar@ Thanks to Peter Hessler for noticing the issue and testing.
-rw-r--r--sys/dev/pci/if_san_obsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_san_obsd.c b/sys/dev/pci/if_san_obsd.c
index f964df216f8..8571f221e01 100644
--- a/sys/dev/pci/if_san_obsd.c
+++ b/sys/dev/pci/if_san_obsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_san_obsd.c,v 1.11 2006/03/25 22:41:45 djm Exp $ */
+/* $OpenBSD: if_san_obsd.c,v 1.12 2006/05/13 19:04:30 brad Exp $ */
/*-
* Copyright (c) 2001-2004 Sangoma Technologies (SAN)
@@ -126,6 +126,7 @@ wanpipe_generic_register(sdla_t *card, struct ifnet *ifp, char *ifname)
bcopy(ifname, ifp->if_xname, strlen(ifname));
IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
+ IFQ_SET_READY(&ifp->if_snd);
ifp->if_mtu = PP_MTU;
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
common->protocol = IF_PROTO_CISCO;