summaryrefslogtreecommitdiffstats
path: root/sys/dev/tdfx
diff options
context:
space:
mode:
authorcokane <cokane@FreeBSD.org>2008-03-13 14:08:41 +0000
committercokane <cokane@FreeBSD.org>2008-03-13 14:08:41 +0000
commit029b349a7c56bbd7e865a931db48a06a5f5c9227 (patch)
treee7a53729168650a9feef0be2db4ad9028a921aad /sys/dev/tdfx
parentbe9c86776fd3d1b746e9d680bf5baac3baf55f1f (diff)
downloadFreeBSD-src-029b349a7c56bbd7e865a931db48a06a5f5c9227.zip
FreeBSD-src-029b349a7c56bbd7e865a931db48a06a5f5c9227.tar.gz
Add the module dependency on the mem(4) module. This will fix the module
failing to load on a kernel that has "nodevice mem" in the config. It will now properly bring in the mem(4) module. Submitted by: antoine Reviewed by: imp MFC after: 1 week
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 6c7a832..ff4efc6 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -823,4 +823,5 @@ static driver_t tdfx_driver = {
/* Tell Mr. Kernel about us! */
DRIVER_MODULE(tdfx, pci, tdfx_driver, tdfx_devclass, 0, 0);
+MODULE_DEPEND(tdfx, mem, 1, 1, 1);
MODULE_VERSION(tdfx, 1);
OpenPOWER on IntegriCloud