aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci/fixup_pci.c
Commit message (Collapse)AuthorAgeFilesLines
* fixup_pci: Remove unused attach DEVMETHODJohn Baldwin2024-11-301-1/+0
| | | | | | | | | | | | | 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)
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/ Similar commit in current: (cherry picked from commit 685dc743dc3b)
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* Use device_printf().Rui Paulo2013-08-111-3/+4
| | | | Notes: svn path=/head/; revision=254207
* Workaround a hang on some nForce2 systems that can happen if the CPU goesJohn Baldwin2006-05-241-0/+38
| | | | | | | | | | into and out of the halt state very quickly. Submitted by: Andriy Gapon <avg at icyb dot net dot ua> MFC after: 1 week Notes: svn path=/head/; revision=158881
* Add some missing <sys/module.h> includes which are masked by thePoul-Henning Kamp2004-05-301-2/+3
| | | | | | | one on death-row in <sys/kernel.h> Notes: svn path=/head/; revision=129876
* Use __FBSDID().David E. O'Brien2003-08-241-2/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Prefer new location of pci include files (which have only been in theWarner Losh2003-08-221-2/+2
| | | | | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD. Notes: svn path=/head/; revision=119285
* Fix reversed arguments to pci_write_config()Peter Wemm2001-06-031-2/+2
| | | | | | | | PR: kern/9408 Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de> Notes: svn path=/head/; revision=77649
* Don't try to fix up the Orion here; the interface we use is wrong for theMike Smith2000-12-121-16/+0
| | | | | | | new code (and about to disappear too). Notes: svn path=/head/; revision=69907
* Next phase in the PCI subsystem cleanup.Mike Smith2000-12-081-0/+116
- Move PCI core code to dev/pci. - Split bridge code out into separate modules. - Remove the descriptive strings from the bridge drivers. If you want to know what a device is, use pciconf. Add support for broadly identifying devices based on class/subclass, and for parsing a preloaded device identification database so that if you want to waste the memory, you can identify *anything* we know about. - Remove machine-dependant code from the core PCI code. APIC interrupt mapping is performed by shadowing the intline register in machine- dependant code. - Bring interrupt routing support to the Alpha (although many platforms don't yet support routing or mapping interrupts entirely correctly). This resulted in spamming <sys/bus.h> into more places than it really should have gone. - Put sys/dev on the kernel/modules include path. This avoids having to change *all* the pci*.h includes. Notes: svn path=/head/; revision=69783