summaryrefslogtreecommitdiff
path: root/lkm/ipl/stub.c
blob: 1467fdc54c0a6eb8af0e8e337b110d0837198f33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*	$OpenBSD: stub.c,v 1.1 1996/02/25 19:20:26 mickey Exp $ */

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/exec.h>
#include <sys/lkm.h>

static cdev_decl(ipl);
static struct cdevsw	ipl_cdevsw = cdev_gen_ipf(1,ipl);
MOD_DEV("ipl", LM_DT_CHAR, -1, &ipl_cdevsw );

static int
lkm_load( lkmtp, cmd )
	struct lkm_table *lkmtp;
	int	cmd;
{
	return 0;
}

int
ipl(lkmtp, cmd, ver)
	struct lkm_table *lkmtp;	
	int cmd;
	int ver;
{
	DISPATCH(lkmtp, cmd, ver, lkm_load, lkm_nofunc, lkm_nofunc)
}