mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
fixup_pci: Remove unused attach DEVMETHOD
The probe routine always fails, so the attach routine is unused.
However, this weird driver is really a quirk system for PCI and should
be turned into PCI quirks instead. The Natoma quirk is also broken as
it should be doing a runtime check either on mp_ncpus (or more likely
to see if it is using APIC) instead of #ifdef.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47219
(cherry picked from commit 1cddce89ce)
This commit is contained in:
parent
b8b100db9f
commit
1f398acbc9
1 changed files with 0 additions and 1 deletions
|
|
@ -56,7 +56,6 @@ static void fixc1_nforce2(device_t dev);
|
|||
static device_method_t fixup_pci_methods[] = {
|
||||
/* Device interface */
|
||||
DEVMETHOD(device_probe, fixup_pci_probe),
|
||||
DEVMETHOD(device_attach, bus_generic_attach),
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue