The module name convention is foo, not if_foo.
This commit is contained in:
parent
16dcc9ce77
commit
b8f5836a3c
@ -250,6 +250,6 @@ static driver_t ath_pci_driver = {
|
||||
sizeof (struct ath_pci_softc)
|
||||
};
|
||||
static devclass_t ath_devclass;
|
||||
DRIVER_MODULE(if_ath, pci, ath_pci_driver, ath_devclass, 0, 0);
|
||||
MODULE_VERSION(if_ath, 1);
|
||||
MODULE_DEPEND(if_ath, wlan, 1, 1, 1); /* 802.11 media layer */
|
||||
DRIVER_MODULE(ath, pci, ath_pci_driver, ath_devclass, 0, 0);
|
||||
MODULE_VERSION(ath, 1);
|
||||
MODULE_DEPEND(ath, wlan, 1, 1, 1); /* 802.11 media layer */
|
||||
|
@ -167,10 +167,10 @@ static driver_t ixgb_driver = {
|
||||
};
|
||||
|
||||
static devclass_t ixgb_devclass;
|
||||
DRIVER_MODULE(if_ixgb, pci, ixgb_driver, ixgb_devclass, 0, 0);
|
||||
DRIVER_MODULE(ixgb, pci, ixgb_driver, ixgb_devclass, 0, 0);
|
||||
|
||||
MODULE_DEPEND(if_ixgb, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(if_ixgb, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(ixgb, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(ixgb, ether, 1, 1, 1);
|
||||
|
||||
/* some defines for controlling descriptor fetches in h/w */
|
||||
#define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */
|
||||
|
@ -5751,14 +5751,14 @@ static driver_t driver =
|
||||
|
||||
static devclass_t devclass;
|
||||
|
||||
DRIVER_MODULE(if_lmc, pci, driver, devclass, 0, 0);
|
||||
MODULE_VERSION(if_lmc, 2);
|
||||
MODULE_DEPEND(if_lmc, pci, 1, 1, 1);
|
||||
DRIVER_MODULE(lmc, pci, driver, devclass, 0, 0);
|
||||
MODULE_VERSION(lmc, 2);
|
||||
MODULE_DEPEND(lmc, pci, 1, 1, 1);
|
||||
# if NETGRAPH
|
||||
MODULE_DEPEND(if_lmc, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION);
|
||||
MODULE_DEPEND(lmc, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION);
|
||||
# endif
|
||||
# if NSPPP
|
||||
MODULE_DEPEND(if_lmc, sppp, 1, 1, 1);
|
||||
MODULE_DEPEND(lmc, sppp, 1, 1, 1);
|
||||
# endif
|
||||
|
||||
#endif /* __FreeBSD__ */
|
||||
|
@ -368,7 +368,7 @@ static driver_t malo_pci_driver = {
|
||||
};
|
||||
|
||||
static devclass_t malo_devclass;
|
||||
DRIVER_MODULE(if_malo, pci, malo_pci_driver, malo_devclass, 0, 0);
|
||||
MODULE_VERSION(if_malo, 1);
|
||||
MODULE_DEPEND(if_malo, wlan, 1, 1, 1); /* 802.11 media layer */
|
||||
MODULE_DEPEND(if_malo, malofw_fw, 1, 1, 1);
|
||||
DRIVER_MODULE(malo, pci, malo_pci_driver, malo_devclass, 0, 0);
|
||||
MODULE_VERSION(malo, 1);
|
||||
MODULE_DEPEND(malo, wlan, 1, 1, 1); /* 802.11 media layer */
|
||||
MODULE_DEPEND(malo, malofw_fw, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user