freebsd-skq/sys/dev/pci
Brooks Davis e9ed3a7013 Refactor PCIOCGETCONF for improved readability.
The code now has a single, consistant flow for all three ioctl
variants. ifdefs and for pre-FreeBSD-7 compatability are moved to
functions and macros. So the flow is alwasy the same, we impose
the cost of allocating, copying to, updating from, and freeing a
copy of struct pci_conf_io on all paths.

This change will allow PCIOCGETCONF32 support currently in
sys/compat/freebsd32/freebsd32_ioctl.c to be moved here.

Reviewed by:	kib, jhb
Obtained from:	CheriBSD
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D14978
2018-04-09 22:59:10 +00:00
..
fixup_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
hostb_pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
ignore_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
isa_pci.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pci_host_generic_acpi.c Create macros for the ACPI interrupt cross references. This is considered a 2018-03-07 13:16:03 +00:00
pci_host_generic_fdt.c If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. 2017-03-16 17:49:37 +00:00
pci_host_generic_fdt.h To allow for an ACPI attachment to the generic PCIe driver split off the 2016-11-21 18:24:05 +00:00
pci_host_generic.c To allow for an ACPI attachment to the generic PCIe driver split off the 2016-11-21 18:24:05 +00:00
pci_host_generic.h Remove redundant declarations. Newer gcc has a warning for these so will 2017-08-19 17:18:27 +00:00
pci_if.m Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_iov_if.m
pci_iov_private.h
pci_iov_schema.c
pci_iov.c
pci_iov.h
pci_pci.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
pci_private.h Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pci_subr.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pci_user.c Refactor PCIOCGETCONF for improved readability. 2018-04-09 22:59:10 +00:00
pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
pcib_if.m Create pcib_request_feature. 2017-02-25 06:11:36 +00:00
pcib_private.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pcib_support.c
pcireg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
pcivar.h Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00
schema_private.h
vga_pci.c Add PCI methods to iterate over the PCI capabilities 2018-02-19 18:41:56 +00:00