HomeFreeBSD

fixup_pci: Remove unused attach DEVMETHOD

Description

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 1cddce89ce30570d554120af864d23c554cd5d18)

Details

Provenance
jhbAuthored on Oct 31 2024, 7:49 PM
Reviewer
imp
Differential Revision
D47219: fixup_pci: Remove unused attach DEVMETHOD
Parents
rG11592af90f0d: csa: Use pci_find_device to simplify clkrun_hack
Branches
Unknown
Tags
Unknown