diff options
author | kib <kib@FreeBSD.org> | 2013-05-16 13:07:02 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-05-16 13:07:02 +0000 |
commit | 34ba3ba22edefd32bd0fbbe25395dfe6635f406d (patch) | |
tree | c7d109dfd914e32cc9cbfca66c6d2bea986f6068 /sys | |
parent | 7201b48b7927498af24a0f2c27a4af9ab235cfe1 (diff) | |
download | FreeBSD-src-34ba3ba22edefd32bd0fbbe25395dfe6635f406d.zip FreeBSD-src-34ba3ba22edefd32bd0fbbe25395dfe6635f406d.tar.gz |
Add dependencies on the firmware, which allows the loading of the cxgb
and cxgbe modules.
Reviewed and approved by: np
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cxgb/cxgb_main.c | 1 | ||||
-rw-r--r-- | sys/dev/cxgbe/t4_main.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_main.c b/sys/dev/cxgb/cxgb_main.c index fee0653..81e2f5a 100644 --- a/sys/dev/cxgb/cxgb_main.c +++ b/sys/dev/cxgb/cxgb_main.c @@ -149,6 +149,7 @@ static devclass_t cxgb_controller_devclass; DRIVER_MODULE(cxgbc, pci, cxgb_controller_driver, cxgb_controller_devclass, cxgbc_mod_event, 0); MODULE_VERSION(cxgbc, 1); +MODULE_DEPEND(cxgbc, firmware, 1, 1, 1); /* * Attachment glue for the ports. Attachment is done directly to the diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index 0cb318c..9d0c811 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -7132,9 +7132,11 @@ static devclass_t cxgbe_devclass, cxl_devclass; DRIVER_MODULE(t4nex, pci, t4_driver, t4_devclass, mod_event, 0); MODULE_VERSION(t4nex, 1); +MODULE_DEPEND(t4nex, firmware, 1, 1, 1); DRIVER_MODULE(t5nex, pci, t5_driver, t5_devclass, mod_event, 0); MODULE_VERSION(t5nex, 1); +MODULE_DEPEND(t5nex, firmware, 1, 1, 1); DRIVER_MODULE(cxgbe, t4nex, cxgbe_driver, cxgbe_devclass, 0, 0); MODULE_VERSION(cxgbe, 1); |