mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
netmap: Remove unused devclass arguments to DRIVER_MODULE.
This commit is contained in:
parent
8059bf7b4a
commit
a9424e0f06
|
@ -249,9 +249,8 @@ static driver_t ptnet_driver = {
|
|||
};
|
||||
|
||||
/* We use (SI_ORDER_MIDDLE+2) here, see DEV_MODULE_ORDERED() invocation. */
|
||||
static devclass_t ptnet_devclass;
|
||||
DRIVER_MODULE_ORDERED(ptnet, pci, ptnet_driver, ptnet_devclass,
|
||||
NULL, NULL, SI_ORDER_MIDDLE + 2);
|
||||
DRIVER_MODULE_ORDERED(ptnet, pci, ptnet_driver, NULL, NULL,
|
||||
SI_ORDER_MIDDLE + 2);
|
||||
|
||||
static int
|
||||
ptnet_probe(device_t dev)
|
||||
|
|
|
@ -821,9 +821,8 @@ static driver_t ptn_memdev_driver = {
|
|||
|
||||
/* We use (SI_ORDER_MIDDLE+1) here, see DEV_MODULE_ORDERED() invocation
|
||||
* below. */
|
||||
static devclass_t ptnetmap_devclass;
|
||||
DRIVER_MODULE_ORDERED(ptn_memdev, pci, ptn_memdev_driver, ptnetmap_devclass,
|
||||
NULL, NULL, SI_ORDER_MIDDLE + 1);
|
||||
DRIVER_MODULE_ORDERED(ptn_memdev, pci, ptn_memdev_driver, NULL, NULL,
|
||||
SI_ORDER_MIDDLE + 1);
|
||||
|
||||
/*
|
||||
* Map host netmap memory through PCI-BAR in the guest OS,
|
||||
|
|
Loading…
Reference in a new issue