mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
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
e571849dda
commit
937b0f2559
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339319
@ -237,9 +237,7 @@ static driver_t ix_driver = {
|
|||||||
|
|
||||||
devclass_t ix_devclass;
|
devclass_t ix_devclass;
|
||||||
DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
|
DRIVER_MODULE(ix, pci, ix_driver, ix_devclass, 0, 0);
|
||||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, ix, ixgbe_vendor_info_array,
|
IFLIB_PNP_INFO(pci, ix_driver, ixgbe_vendor_info_array);
|
||||||
nitems(ixgbe_vendor_info_array) - 1);
|
|
||||||
|
|
||||||
MODULE_DEPEND(ix, pci, 1, 1, 1);
|
MODULE_DEPEND(ix, pci, 1, 1, 1);
|
||||||
MODULE_DEPEND(ix, ether, 1, 1, 1);
|
MODULE_DEPEND(ix, ether, 1, 1, 1);
|
||||||
MODULE_DEPEND(ix, iflib, 1, 1, 1);
|
MODULE_DEPEND(ix, iflib, 1, 1, 1);
|
||||||
|
@ -143,8 +143,7 @@ static driver_t ixv_driver = {
|
|||||||
|
|
||||||
devclass_t ixv_devclass;
|
devclass_t ixv_devclass;
|
||||||
DRIVER_MODULE(ixv, pci, ixv_driver, ixv_devclass, 0, 0);
|
DRIVER_MODULE(ixv, pci, ixv_driver, ixv_devclass, 0, 0);
|
||||||
MODULE_PNP_INFO("U16:vendor;U16:device", pci, ixv, ixv_vendor_info_array,
|
IFLIB_PNP_INFO(pci, ixv_driver, ixv_vendor_info_array);
|
||||||
nitems(ixv_vendor_info_array) - 1);
|
|
||||||
MODULE_DEPEND(ixv, pci, 1, 1, 1);
|
MODULE_DEPEND(ixv, pci, 1, 1, 1);
|
||||||
MODULE_DEPEND(ixv, ether, 1, 1, 1);
|
MODULE_DEPEND(ixv, ether, 1, 1, 1);
|
||||||
#ifdef DEV_NETMAP
|
#ifdef DEV_NETMAP
|
||||||
|
Loading…
Reference in New Issue
Block a user