mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
Correct mfip module dependency on mfi. This allows mfip to be loaded as
module when mfi is a module itself. Reviewed by: jhb, scottl MFC after: 1 week
This commit is contained in:
parent
6c0358cc98
commit
7765cff706
2 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,7 @@ static driver_t mfip_driver = {
|
|||
};
|
||||
DRIVER_MODULE(mfip, mfi, mfip_driver, mfip_devclass, 0, 0);
|
||||
MODULE_DEPEND(mfip, cam, 1, 1, 1);
|
||||
MODULE_DEPEND(mfip, mfi, 1, 1, 1);
|
||||
|
||||
#define ccb_mfip_ptr sim_priv.entries[0].ptr
|
||||
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ static driver_t mfi_pci_driver = {
|
|||
|
||||
static devclass_t mfi_devclass;
|
||||
DRIVER_MODULE(mfi, pci, mfi_pci_driver, mfi_devclass, 0, 0);
|
||||
MODULE_VERSION(mfi, 1);
|
||||
|
||||
struct mfi_ident {
|
||||
uint16_t vendor;
|
||||
|
|
|
|||
Loading…
Reference in a new issue