HEADS UP: [cvs commit: src UPDATING src/share/man/man4 pci.4 src/share/man/man9 pci.9 src/sys/amd64/include legacyvar.h src/sys/amd64/amd64 legacy.c src/sys/amd64/pci pci_bus.c src/sys/arm/xscale/i80321 i80321_pci.c src/sys/arm/xscale/ixp425 ...

From: Marius Strobl <marius_at_alchemy.franken.de>
Date: Sun, 30 Sep 2007 13:49:14 +0200
As mentioned in UPDATING the change below requires the hal port
to be recompiled in order to continue to work. On !386 you
additionally need to update to xorg-server-1.4_1,1.
Regarding common ports affected by the introduction of support
for PCI domains these two ports should be it.
Other consumers of <sys/pciio.h> potentially also need to be
recompiled and adjusted, f.e. sjog needs to be recompiled but
should need no changes. Generally, if a port uses pc_bus it
also needs to deal with pc_domain now.

Marius

marius      2007-09-30 11:05:18 UTC

  FreeBSD src repository

  Modified files:
    .                    UPDATING 
    share/man/man4       pci.4 
    share/man/man9       pci.9 
    sys/amd64/include    legacyvar.h 
    sys/amd64/amd64      legacy.c 
    sys/amd64/pci        pci_bus.c 
    sys/arm/xscale/i80321 i80321_pci.c 
    sys/arm/xscale/ixp425 ixp425_pci.c 
    sys/arm/xscale/i8134x i81342_pci.c 
    sys/dev/acpica       acpi_pci.c acpi_pcib_acpi.c 
    sys/dev/bge          if_bge.c 
    sys/dev/cardbus      cardbus.c 
    sys/dev/pccbb        pccbb.c pccbb_pci.c pccbbvar.h 
    sys/dev/pci          pci.c pci_pci.c pci_private.h pci_user.c 
                         pcib_private.h pcivar.h 
    sys/i386/include     legacyvar.h 
    sys/i386/i386        legacy.c 
    sys/i386/pci         pci_bus.c 
    sys/powerpc/powermac grackle.c uninorth.c 
    sys/sparc64/pci      ofw_pcibus.c apb.c psycho.c 
    sys/sun4v/sun4v      hv_pci.c 
    sys/sys              pciio.h param.h 
    usr.sbin/pciconf     pciconf.8 pciconf.c 
    tools/tools/pciroms  pciroms.c 
  Log:
  Make the PCI code aware of PCI domains (aka PCI segments) so we can
  support machines having multiple independently numbered PCI domains
  and don't support reenumeration without ambiguity amongst the
  devices as seen by the OS and represented by PCI location strings.
  This includes introducing a function pci_find_dbsf(9) which works
  like pci_find_bsf(9) but additionally takes a domain number argument
  and limiting pci_find_bsf(9) to only search devices in domain 0 (the
  only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are
  changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order
  to no longer report false positives when searching for siblings and
  dupe devices in the same domain respectively.
  Along with this change the sole host-PCI bridge driver converted to
  actually make use of PCI domain support is uninorth(4), the others
  continue to use domain 0 only for now and need to be converted as
  appropriate later on.
  Note that this means that the format of the location strings as used
  by pciconf(8) has been changed and that consumers of <sys/pciio.h>
  potentially need to be recompiled.
  
  Suggested by:   jhb
  Reviewed by:    grehan, jhb, marcel
  Approved by:    re (kensmith), jhb (PCI maintainer hat)
  
  Revision  Changes    Path
  1.505     +7 -0      src/UPDATING
  1.19      +7 -6      src/share/man/man4/pci.4
  1.10      +28 -1     src/share/man/man9/pci.9
  1.61      +5 -0      src/sys/amd64/amd64/legacy.c
  1.8       +2 -0      src/sys/amd64/include/legacyvar.h
  1.122     +5 -0      src/sys/amd64/pci/pci_bus.c
  1.12      +5 -1      src/sys/arm/xscale/i80321/i80321_pci.c
  1.2       +5 -1      src/sys/arm/xscale/i8134x/i81342_pci.c
  1.5       +5 -0      src/sys/arm/xscale/ixp425/ixp425_pci.c
  1.31      +6 -4      src/sys/dev/acpica/acpi_pci.c
  1.55      +5 -0      src/sys/dev/acpica/acpi_pcib_acpi.c
  1.198     +3 -2      src/sys/dev/bge/if_bge.c
  1.66      +3 -2      src/sys/dev/cardbus/cardbus.c
  1.165     +5 -0      src/sys/dev/pccbb/pccbb.c
  1.26      +3 -0      src/sys/dev/pccbb/pccbb_pci.c
  1.32      +1 -0      src/sys/dev/pccbb/pccbbvar.h
  1.355     +62 -36    src/sys/dev/pci/pci.c
  1.50      +8 -1      src/sys/dev/pci/pci_pci.c
  1.25      +3 -2      src/sys/dev/pci/pci_private.h
  1.22      +8 -2      src/sys/dev/pci/pci_user.c
  1.13      +1 -0      src/sys/dev/pci/pcib_private.h
  1.80      +7 -0      src/sys/dev/pci/pcivar.h
  1.63      +5 -0      src/sys/i386/i386/legacy.c
  1.8       +2 -0      src/sys/i386/include/legacyvar.h
  1.128     +5 -0      src/sys/i386/pci/pci_bus.c
  1.9       +3 -1      src/sys/powerpc/powermac/grackle.c
  1.16      +3 -1      src/sys/powerpc/powermac/uninorth.c
  1.14      +2 -0      src/sys/sparc64/pci/apb.c
  1.16      +7 -4      src/sys/sparc64/pci/ofw_pcibus.c
  1.70      +3 -0      src/sys/sparc64/pci/psycho.c
  1.4       +5 -0      src/sys/sun4v/sun4v/hv_pci.c
  1.308     +1 -1      src/sys/sys/param.h
  1.7       +14 -13    src/sys/sys/pciio.h
  1.2       +4 -3      src/tools/tools/pciroms/pciroms.c
  1.29      +8 -5      src/usr.sbin/pciconf/pciconf.8
  1.28      +5 -3      src/usr.sbin/pciconf/pciconf.c
Received on Sun Sep 30 2007 - 10:04:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC