Catch up with the renaming of module ppp --> if_ppp and avoid warning
messages at boot (or module load) time.
This commit is contained in:
parent
c075b7e43f
commit
5dd5da5fa0
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bsd-comp.c,v 1.21 2016/08/06 02:35:06 pgoyette Exp $ */
|
||||
/* $NetBSD: bsd-comp.c,v 1.22 2016/08/06 22:38:18 pgoyette Exp $ */
|
||||
/* Id: bsd-comp.c,v 1.6 1996/08/28 06:31:58 paulus Exp */
|
||||
|
||||
/* Because this code is derived from the 4.3BSD compress source:
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: bsd-comp.c,v 1.21 2016/08/06 02:35:06 pgoyette Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: bsd-comp.c,v 1.22 2016/08/06 22:38:18 pgoyette Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1090,7 +1090,7 @@ bsd_decompress(void *state, struct mbuf *cmp, struct mbuf **dmpp)
|
|||
#endif /* DEBUG */
|
||||
}
|
||||
|
||||
MODULE(MODULE_CLASS_MISC, ppp_bsdcomp, "ppp");
|
||||
MODULE(MODULE_CLASS_MISC, ppp_bsdcomp, "if_ppp");
|
||||
|
||||
static int
|
||||
ppp_bsdcomp_modcmd(modcmd_t cmd, void *arg)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ppp-deflate.c,v 1.22 2016/08/06 02:35:06 pgoyette Exp $ */
|
||||
/* $NetBSD: ppp-deflate.c,v 1.23 2016/08/06 22:38:18 pgoyette Exp $ */
|
||||
/* Id: ppp-deflate.c,v 1.5 1997/03/04 03:33:28 paulus Exp */
|
||||
|
||||
/*
|
||||
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ppp-deflate.c,v 1.22 2016/08/06 02:35:06 pgoyette Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ppp-deflate.c,v 1.23 2016/08/06 22:38:18 pgoyette Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -664,7 +664,7 @@ z_incomp(void *arg, struct mbuf *mi)
|
|||
state->stats.unc_packets++;
|
||||
}
|
||||
|
||||
MODULE(MODULE_CLASS_MISC, ppp_deflate, "zlib,ppp");
|
||||
MODULE(MODULE_CLASS_MISC, ppp_deflate, "zlib,if_ppp");
|
||||
|
||||
static int
|
||||
ppp_deflate_modcmd(modcmd_t cmd, void *arg)
|
||||
|
|
Loading…
Reference in New Issue