summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/include/pci_machdep.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Improve indentation and variable naming.visa2018-06-181-32/+42
|
* Fix build with DEBUG_PCI_CONF.visa2018-06-181-5/+5
| | | | From jj@
* Initial support for MSI-X. Only supported on amd64 for now. I have diffs tokettenis2016-05-041-1/+2
| | | | | | | | | | actually use this in em(4) and xhci(4), but I'm not committing those yet because we almost certainly need to save and restore the MSI-X registers during suspend/resume. However, this allows mpi@ to play with multiple-vector support in networking hardware. Requested by mpi@ ok mlarkin@, mikeb@
* Add a stub for the new MD hook needed to handle ACPI Power Resources.mpi2013-11-051-1/+2
| | | | ok kettenis@
* Remove a loongson reference.bcallah2013-04-231-4/+1
| | | | ok jasper@
* Implement pci_min_powerstate().kettenis2012-08-291-1/+3
|
* Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *).miod2011-10-101-1/+2
| | | | | | | | | | | | | | | | | | This mandatory function will get invoked in pci_probe_device(), and allows a pci host driver to alter the pci_attach_args passed to a device when attaching. This function will also, if returning non-zero, cause the device to be skipped completely during all the phases of the PCI device discovery (i.e. ressource enumeration, ressource assignment, and actual attachment). This particular feature is experimental and might be reverted in the future (or the scope narrowed to device attachment only). A dummy #define pci_probe_device_hook() 0 is added to all platforms except sgi, where real functions (currently only returning 0) are added; real meat will be added shortly. Discussed at s2k11, no objection from the usual suspects.
* Add pci_intr_map_msi() stub.kettenis2011-05-211-1/+2
|
* Introduce a new pci routine, pci_conf_size(), which returns the size of amiod2010-12-041-1/+4
| | | | | | | given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@
* Inital commit of PCI and SATA support for OCTEONsyuu2010-10-281-0/+120