freebsd-skq/sys/dev/pci
imp 4bea281f9a More fully support 64-bit bars. Prior to this commit, we supported
only those bars that had addresses assigned by the BIOS and where the
bridges were properly programmed.  Now even unprogrammed ones work.
This was needed for sun4v.  We still only implement up to 2GB memory
ranges, even for 64-bit bars.  PCI standards at least through 2.2 say
that this is the max (or 1GB is, I only know it is < 32bits).

o Always define pci_addr_t as uint64_t.  A pci address is always 64-bits,
  but some hosts can't address all of them.
o Preserve the upper half of the 64-bit word during resource probing.
o Test to make sure that 64-bit values can fit in a u_long (true on some
  platforms, but not others).  Don't use those that can't.
o minor pedantry about data sizes.
o Better bridge resource reporting in bootverbose case.
o Minor formatting changes to cope with different data types on different
  platforms.

Submitted by: jmg, with many changes by me to fully support 64-bit
addresses.
2006-10-30 19:18:46 +00:00
..
eisa_pci.c Add missing <sys/module.h> includes 2004-05-30 20:08:47 +00:00
fixup_pci.c Workaround a hang on some nForce2 systems that can happen if the CPU goes 2006-05-24 14:08:31 +00:00
hostb_pci.c Move the hostb driver out of the i386 and amd64 PCI code (where it was 2005-12-20 21:09:45 +00:00
ignore_pci.c Add some missing <sys/module.h> includes which are masked by the 2004-05-30 17:57:46 +00:00
isa_pci.c Don't save and restore the ELCR register across suspend and resume for 2005-09-29 15:00:09 +00:00
pci_if.m provide routines to access VPD data at the PCI layer... 2006-10-09 16:15:56 +00:00
pci_pci.c More fully support 64-bit bars. Prior to this commit, we supported 2006-10-30 19:18:46 +00:00
pci_private.h provide routines to access VPD data at the PCI layer... 2006-10-09 16:15:56 +00:00
pci_user.c Actually make bounds checking for PCIOCREAD and PCIOCWRITE work. 2006-10-06 14:31:32 +00:00
pci.c More fully support 64-bit bars. Prior to this commit, we supported 2006-10-30 19:18:46 +00:00
pcib_if.m Fix compile error :-(. 2005-04-13 19:10:27 +00:00
pcib_private.h - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all the 2006-01-06 19:22:19 +00:00
pcireg.h Add a define for the Standard SD Host Controller Base Peripheral. 2006-05-30 21:36:12 +00:00
pcivar.h More fully support 64-bit bars. Prior to this commit, we supported 2006-10-30 19:18:46 +00:00
vga_pci.c Don't add an agp child in vgapci's attach routine if the PCIY_AGP 2006-02-01 15:45:29 +00:00