freebsd-nq/sys/i386
John Baldwin d320e05ca5 Extend the support for PCI-e memory mapped configuration space access:
- Rename pciereg_cfgopen() to pcie_cfgregopen() and expose it to the
  rest of the kernel.  It now also accepts parameters via function
  arguments rather than global variables.
- Add a notion of minimum and maximum bus numbers and reject requests for
  an out of range bus.
- Add more range checks on slot/func/reg/bytes parameters to the cfg reg
  read/write routines.  Don't panic on any invalid parameters, just fail
  the request (writes do nothing, reads return -1).  This matches the
  behavior of the other cfg mechanisms.
- Port the memory mapped configuration space access to amd64.  On amd64
  we simply use the direct map (via pmap_mapdev()) for the memory mapped
  window.
- During acpi_attach() just after loading the ACPI tables, check for a
  MCFG table.  If it exists, call pciereg_cfgopen() on each subtable
  (memory mapped window).  For now we only support windows for domain 0
  that start with bus 0.  This removes the need for more chipset-specific
  quirks in the MD code.
- Remove the chipset-specific quirks for the Intel 5000P/V/Z chipsets
  since these machines should all have MCFG tables via ACPI.
- Updated pci_cfgregopen() to DTRT if ACPI had invoked pcie_cfgregopen()
  earlier.

MFC after:	2 weeks
2008-08-22 02:14:23 +00:00
..
acpica Don't enforce unique device minor number policy anymore. 2008-06-11 18:55:19 +00:00
bios Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
compile
conf set MCLSHIFT to correspond to page size 2008-08-20 10:07:10 +00:00
cpufreq Attach the cpufreq child devices with specific orders to enforce relative 2008-08-13 16:09:40 +00:00
i386 fix typo in previous commit breaking bootup 2008-08-20 21:27:48 +00:00
ibcs2 Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
include Extend the support for PCI-e memory mapped configuration space access: 2008-08-22 02:14:23 +00:00
isa Call in to xen for fpu handling when XEN is set 2008-08-15 21:43:38 +00:00
linux Regen. 2008-05-13 20:02:26 +00:00
pci Extend the support for PCI-e memory mapped configuration space access: 2008-08-22 02:14:23 +00:00
svr4 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 2008-03-13 10:54:38 +00:00
xbox In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
xen Fix boot time pmap_growkernel panic for case where vm is allocated >= 768M 2008-08-21 02:57:02 +00:00
Makefile