Fix PNP entries for if_ix and if_ixv properly using the IFLIB_PNP_INFO()
macro. Reviewed by: imp, sbruno Approved by: re (gjb), kib (mentor) Differential Revision: https://reviews.freebsd.org/D17473
This commit is contained in:
parent
29373a8844
commit
a5da1b24af
@ -237,9 +237,7 @@ static driver_t ix_driver = {
|
||||
|
||||
devclass_t ix_devclass;
|
||||
DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, ix, ixgbe_vendor_info_array,
|
||||
nitems(ixgbe_vendor_info_array) - 1);
|
||||
|
||||
IFLIB_PNP_INFO(pci, ix_driver, ixgbe_vendor_info_array);
|
||||
MODULE_DEPEND(ix, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(ix, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(ix, iflib, 1, 1, 1);
|
||||
|
@ -143,8 +143,7 @@ static driver_t ixv_driver = {
|
||||
|
||||
devclass_t ixv_devclass;
|
||||
DRIVER_MODULE(ixv, pci, ixv_driver, ixv_devclass, 0, 0);
|
||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, ixv, ixv_vendor_info_array,
|
||||
nitems(ixv_vendor_info_array) - 1);
|
||||
IFLIB_PNP_INFO(pci, ixv_driver, ixv_vendor_info_array);
|
||||
MODULE_DEPEND(ixv, pci, 1, 1, 1);
|
||||
MODULE_DEPEND(ixv, ether, 1, 1, 1);
|
||||
#ifdef DEV_NETMAP
|
||||
|
Loading…
Reference in New Issue
Block a user