jhb 2a48176eba 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
..
2008-08-19 22:28:24 +00:00
2007-08-04 17:43:11 +00:00
2008-08-14 02:43:18 +00:00
2008-01-18 16:34:18 +00:00
2008-07-26 00:01:19 +00:00
2007-10-12 06:03:46 +00:00
2008-03-21 16:38:42 +00:00
2008-07-31 02:22:53 +00:00
2008-07-22 13:51:21 +00:00
2008-07-11 18:26:12 +00:00
2008-06-13 12:14:22 +00:00
2007-03-21 03:42:51 +00:00
2008-01-07 09:46:39 +00:00
2008-08-13 09:20:52 +00:00
2008-08-08 13:43:56 +00:00
2008-05-12 00:15:30 +00:00
2008-07-28 02:37:15 +00:00
2008-07-06 16:18:58 +00:00
2008-05-12 00:15:30 +00:00
2007-10-12 06:03:46 +00:00
2008-04-10 01:25:09 +00:00
2007-07-05 06:51:49 +00:00
2008-01-21 09:51:28 +00:00
2008-06-09 08:43:27 +00:00
2008-06-17 05:48:42 +00:00
2008-04-26 14:13:48 +00:00
2008-02-12 08:58:26 +00:00
2008-06-10 17:59:43 +00:00
2007-03-21 03:42:51 +00:00
2007-12-05 19:32:59 +00:00