freebsd-dev/sys/dev/pci
Roger Pau Monné d4ed36cde2 pci: fix write order when sizing BARs
According to the PCI Local Specification rev. 3.0 in case of a 64-bit
BAR both the low and the high parts of the register should be set to
~0 before attempting to read back the size.

So far I have found no single device that has problems with the
previous approach, but I think it's better to stay on the safe size.

This commit should not introduce any functional change.

MFC after:		3 weeks
Sponsored by:		Citrix Systems R&D
Reviewed by:		jhb
Differential revision:	https://reviews.freebsd.org/D11750
2017-08-01 10:47:44 +00:00
..
fixup_pci.c
hostb_pci.c "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
ignore_pci.c
isa_pci.c Remove more pc98 support. 2017-01-28 09:58:00 +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 To allow for an ACPI attachment to the generic PCIe driver split off the 2016-11-21 18:24:05 +00:00
pci_if.m Create pcib_request_feature. 2017-02-25 06:11:36 +00:00
pci_iov_if.m
pci_iov_private.h Save and restore SRIOV-related config registers. 2016-05-03 19:45:24 +00:00
pci_iov_schema.c
pci_iov.c Permit the name of the /dev/iov entry to be set by the driver. 2016-08-03 17:09:12 +00:00
pci_iov.h Permit the name of the /dev/iov entry to be set by the driver. 2016-08-03 17:09:12 +00:00
pci_pci.c Various fixes for PCI _OSC handling so HotPlug works again. 2017-04-27 16:32:42 +00:00
pci_private.h "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
pci_subr.c "Buses" is the preferred plural of "bus" 2017-01-15 17:54:01 +00:00
pci_user.c Reliably return PCI_GETCONF_LAST_DEVICE from PCIOCGETCONF. 2016-08-09 17:57:11 +00:00
pci.c pci: fix write order when sizing BARs 2017-08-01 10:47:44 +00:00
pcib_if.m Create pcib_request_feature. 2017-02-25 06:11:36 +00:00
pcib_private.h Various fixes for PCI _OSC handling so HotPlug works again. 2017-04-27 16:32:42 +00:00
pcib_support.c Re-commit r299467 having fixed the build: 2016-05-16 09:15:50 +00:00
pcireg.h Add constants and descriptions for some new PCI class definitions 2017-03-13 07:45:15 +00:00
pcivar.h Reset PCI pass through devices via PCI-e FLR during VM start and end. 2016-09-06 21:15:35 +00:00
schema_private.h
vga_pci.c Remove pc98 support completely. 2017-01-28 02:22:15 +00:00