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
This commit is contained in:
Coleman Kane 2008-03-13 14:08:41 +00:00
parent 22eca0bf45
commit e42e0b8669
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=177147

View File

@ -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);