Fix initializers.
This commit is contained in:
parent
ce149b700c
commit
3ed5fa0441
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_pppoe.c,v 1.71 2006/08/05 17:20:54 pavel Exp $ */
|
||||
/* $NetBSD: if_pppoe.c,v 1.72 2006/08/30 16:57:59 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.71 2006/08/05 17:20:54 pavel Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.72 2006/08/30 16:57:59 christos Exp $");
|
||||
|
||||
#include "pppoe.h"
|
||||
#include "bpfilter.h"
|
||||
|
@ -151,8 +151,8 @@ struct pppoe_softc {
|
|||
};
|
||||
|
||||
/* incoming traffic will be queued here */
|
||||
struct ifqueue ppoediscinq = { NULL };
|
||||
struct ifqueue ppoeinq = { NULL };
|
||||
struct ifqueue ppoediscinq = { .ifq_maxlen = IFQ_MAXLEN };
|
||||
struct ifqueue ppoeinq = { .ifq_maxlen = IFQ_MAXLEN };
|
||||
|
||||
#ifdef __HAVE_GENERIC_SOFT_INTERRUPTS
|
||||
void * pppoe_softintr = NULL;
|
||||
|
@ -220,9 +220,6 @@ pppoeattach(int count)
|
|||
LIST_INIT(&pppoe_softc_list);
|
||||
if_clone_attach(&pppoe_cloner);
|
||||
|
||||
ppoediscinq.ifq_maxlen = IFQ_MAXLEN;
|
||||
ppoeinq.ifq_maxlen = IFQ_MAXLEN;
|
||||
|
||||
#ifdef __HAVE_GENERIC_SOFT_INTERRUPTS
|
||||
pppoe_softintr = softintr_establish(IPL_SOFTNET, pppoe_softintr_handler, NULL);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue