summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr
diff options
context:
space:
mode:
authorroger <roger@FreeBSD.org>2000-09-11 07:14:43 +0000
committerroger <roger@FreeBSD.org>2000-09-11 07:14:43 +0000
commitd5e49687c769fdafe66f8278837edb7e4843b274 (patch)
tree433256beb21b642f163071a7a0b5b94c39772d27 /sys/dev/bktr
parent9a8ad49a6d9b510eeb6bfa2228c04e2aad25ca8a (diff)
downloadFreeBSD-src-d5e49687c769fdafe66f8278837edb7e4843b274.zip
FreeBSD-src-d5e49687c769fdafe66f8278837edb7e4843b274.tar.gz
Add MODULE_VERSION and MODULE_DEPENDS to make the bktr module load the
bktr_mem module
Diffstat (limited to 'sys/dev/bktr')
-rw-r--r--sys/dev/bktr/bktr_mem.c2
-rw-r--r--sys/dev/bktr/bktr_os.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/bktr/bktr_mem.c b/sys/dev/bktr/bktr_mem.c
index 3706706..11769ae 100644
--- a/sys/dev/bktr/bktr_mem.c
+++ b/sys/dev/bktr/bktr_mem.c
@@ -170,4 +170,4 @@ static moduledata_t bktr_mem_mod = {
0
};
DECLARE_MODULE(bktr_mem, bktr_mem_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
-
+MODULE_VERSION(bktr_mem, 1);
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index 10df9c8..61ea98a 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -247,6 +247,8 @@ static struct cdevsw bktr_cdevsw = {
};
DRIVER_MODULE(bktr, pci, bktr_driver, bktr_devclass, 0, 0);
+MODULE_DEPEND(bktr, bktr_mem, 1,1,1);
+MODULE_VERSION(bktr, 1);
/*
OpenPOWER on IntegriCloud