Print this page
PANKOVs restructure


  23  */
  24 
  25 #include <sys/types.h>
  26 #include <sys/stat.h>
  27 #include <sys/sysmacros.h>
  28 #include <sys/sunndi.h>
  29 #include <sys/pci.h>
  30 #include <sys/pci_impl.h>
  31 #include <sys/pcie_impl.h>
  32 #include <sys/memlist.h>
  33 #include <sys/bootconf.h>
  34 #include <io/pci/mps_table.h>
  35 #include <sys/pci_cfgacc.h>
  36 #include <sys/pci_cfgspace.h>
  37 #include <sys/pci_cfgspace_impl.h>
  38 #include <sys/psw.h>
  39 #include "../../../../common/pci/pci_strings.h"
  40 #include <sys/apic.h>
  41 #include <io/pciex/pcie_nvidia.h>
  42 #include <sys/hotplug/pci/pciehpc_acpi.h>
  43 #include <sys/acpi/acpi.h>
  44 #include <sys/acpica.h>
  45 #include <sys/iommulib.h>
  46 #include <sys/devcache.h>
  47 #include <sys/pci_cfgacc_x86.h>
  48 
  49 #define pci_getb        (*pci_getb_func)
  50 #define pci_getw        (*pci_getw_func)
  51 #define pci_getl        (*pci_getl_func)
  52 #define pci_putb        (*pci_putb_func)
  53 #define pci_putw        (*pci_putw_func)
  54 #define pci_putl        (*pci_putl_func)
  55 #define dcmn_err        if (pci_boot_debug) cmn_err
  56 
  57 #define CONFIG_INFO     0
  58 #define CONFIG_UPDATE   1
  59 #define CONFIG_NEW      2
  60 #define CONFIG_FIX      3
  61 #define COMPAT_BUFSIZE  512
  62 
  63 #define PPB_IO_ALIGNMENT        0x1000          /* 4K aligned */




  23  */
  24 
  25 #include <sys/types.h>
  26 #include <sys/stat.h>
  27 #include <sys/sysmacros.h>
  28 #include <sys/sunndi.h>
  29 #include <sys/pci.h>
  30 #include <sys/pci_impl.h>
  31 #include <sys/pcie_impl.h>
  32 #include <sys/memlist.h>
  33 #include <sys/bootconf.h>
  34 #include <io/pci/mps_table.h>
  35 #include <sys/pci_cfgacc.h>
  36 #include <sys/pci_cfgspace.h>
  37 #include <sys/pci_cfgspace_impl.h>
  38 #include <sys/psw.h>
  39 #include "../../../../common/pci/pci_strings.h"
  40 #include <sys/apic.h>
  41 #include <io/pciex/pcie_nvidia.h>
  42 #include <sys/hotplug/pci/pciehpc_acpi.h>
  43 #include <acpica/include/acpi.h>
  44 #include <sys/acpica.h>
  45 #include <sys/iommulib.h>
  46 #include <sys/devcache.h>
  47 #include <sys/pci_cfgacc_x86.h>
  48 
  49 #define pci_getb        (*pci_getb_func)
  50 #define pci_getw        (*pci_getw_func)
  51 #define pci_getl        (*pci_getl_func)
  52 #define pci_putb        (*pci_putb_func)
  53 #define pci_putw        (*pci_putw_func)
  54 #define pci_putl        (*pci_putl_func)
  55 #define dcmn_err        if (pci_boot_debug) cmn_err
  56 
  57 #define CONFIG_INFO     0
  58 #define CONFIG_UPDATE   1
  59 #define CONFIG_NEW      2
  60 #define CONFIG_FIX      3
  61 #define COMPAT_BUFSIZE  512
  62 
  63 #define PPB_IO_ALIGNMENT        0x1000          /* 4K aligned */