Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   drochner
Date:           Mon Aug 30 15:05:20 UTC 2004

Modified Files:
        src/sys/arch/algor/dev: bonito_mainbus.c vtpbc_mainbus.c
        src/sys/arch/algor/pci: pcib.c
        src/sys/arch/alpha/a12: a12dc.c if_xb.c
        src/sys/arch/alpha/conf: files.alpha
        src/sys/arch/alpha/jensenio: jensenio.c jenseniovar.h
        src/sys/arch/alpha/pci: a12c.c apecs.c cia.c dwlpx.c irongate.c lca.c
            mcpcia.c sio.c tsc.c ttwoga.c
        src/sys/arch/alpha/sableio: sableio.c
        src/sys/arch/amd64/amd64: mainbus.c
        src/sys/arch/amd64/conf: files.amd64
        src/sys/arch/amd64/pci: pchb.c pcib.c
        src/sys/arch/arc/isa: isabus.c
        src/sys/arch/arc/pci: necpb.c
        src/sys/arch/arm/footbridge: footbridge.c
        src/sys/arch/arm/ixp12x0: ixp12x0.c
        src/sys/arch/arm/s3c2xx0: s3c2800_pci.c
        src/sys/arch/arm/xscale: becc.c i80312.c i80321.c ixp425.c
        src/sys/arch/atari/isa: isa_machdep.c
        src/sys/arch/atari/pci: pci_machdep.c
        src/sys/arch/bebox/bebox: mainbus.c
        src/sys/arch/bebox/conf: files.bebox
        src/sys/arch/bebox/pci: pcib.c
        src/sys/arch/cats/pci: pcib.c
        src/sys/arch/cobalt/dev: gt.c
        src/sys/arch/dreamcast/dev/g2: gapspci.c
        src/sys/arch/evbarm/ifpga: ifpga.c
        src/sys/arch/evbmips/malta/dev: gt.c
        src/sys/arch/evbmips/malta/pci: pcib.c
        src/sys/arch/evbppc/walnut/pci: pchb.c
        src/sys/arch/evbsh5/dev: superio.c
        src/sys/arch/hp700/dev: dino.c mongoose.c
        src/sys/arch/hpcmips/isa: isa_machdep.c plumisa_machdep.c
        src/sys/arch/hpcmips/vr: vrc4172pci.c vrpciu.c
        src/sys/arch/i386/bios: vesabios.c
        src/sys/arch/i386/conf: files.i386
        src/sys/arch/i386/i386: apm.c cpu.c mainbus.c
        src/sys/arch/i386/mca: mca_machdep.c
        src/sys/arch/i386/pci: pceb.c pchb.c pcib.c pcmb.c
        src/sys/arch/i386/pnpbios: files.pnpbios pnpbios.c
        src/sys/arch/ibmnws/ibmnws: mainbus.c
        src/sys/arch/ibmnws/pci: pcib.c
        src/sys/arch/macppc/macppc: mainbus.c
        src/sys/arch/macppc/pci: bandit.c grackle.c uninorth.c
        src/sys/arch/mipsco/isa: isa_machdep.c
        src/sys/arch/mvmeppc/mvmeppc: cpu.c mainbus.c
        src/sys/arch/mvmeppc/pci: pcib.c
        src/sys/arch/netwinder/pci: pcib.c
        src/sys/arch/ofppc/firepower: firepower.c
        src/sys/arch/powerpc/ibm4xx/pci: pchb.c
        src/sys/arch/prep/pci: pcib.c
        src/sys/arch/prep/prep: mainbus.c
        src/sys/arch/sandpoint/pci: pcib.c
        src/sys/arch/sandpoint/sandpoint: mainbus.c
        src/sys/arch/sgimips/mace: pci_mace.c
        src/sys/arch/sh5/pci: sh5_pci.c
        src/sys/arch/sparc/conf: files.sparc
        src/sys/arch/sparc/sparc: msiiep.c
        src/sys/arch/sparc64/dev: psycho.c
        src/sys/arch/x86/conf: files.x86
        src/sys/arch/x86/x86: mpacpi.c mpbios.c
        src/sys/arch/xen/conf: files.xen
        src/sys/arch/xen/i386: mainbus.c
        src/sys/dev/acpi: acpi.c
        src/sys/dev/cardbus: rbus_ppb.c
        src/sys/dev/eisa: eisa.c eisavar.h
        src/sys/dev/ic: cpc700.c
        src/sys/dev/isa: isa.c isavar.h
        src/sys/dev/marvell: gtpci.c
        src/sys/dev/mca: mca.c mcavar.h
        src/sys/dev/pci: agp.c agpvar.h pci.c pcivar.h ppb.c

Log Message:
Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sys/arch/algor/dev/bonito_mainbus.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/algor/dev/vtpbc_mainbus.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/algor/pci/pcib.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/alpha/a12/a12dc.c \
    src/sys/arch/alpha/a12/if_xb.c
cvs rdiff -r1.166 -r1.167 src/sys/arch/alpha/conf/files.alpha
cvs rdiff -r1.8 -r1.9 src/sys/arch/alpha/jensenio/jensenio.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/alpha/jensenio/jenseniovar.h
cvs rdiff -r1.14 -r1.15 src/sys/arch/alpha/pci/a12c.c
cvs rdiff -r1.43 -r1.44 src/sys/arch/alpha/pci/apecs.c
cvs rdiff -r1.62 -r1.63 src/sys/arch/alpha/pci/cia.c
cvs rdiff -r1.28 -r1.29 src/sys/arch/alpha/pci/dwlpx.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/alpha/pci/irongate.c \
    src/sys/arch/alpha/pci/tsc.c
cvs rdiff -r1.41 -r1.42 src/sys/arch/alpha/pci/lca.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/alpha/pci/mcpcia.c
cvs rdiff -r1.37 -r1.38 src/sys/arch/alpha/pci/sio.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/alpha/pci/ttwoga.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/alpha/sableio/sableio.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/amd64/amd64/mainbus.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/amd64/conf/files.amd64
cvs rdiff -r1.3 -r1.4 src/sys/arch/amd64/pci/pchb.c \
    src/sys/arch/amd64/pci/pcib.c
cvs rdiff -r1.25 -r1.26 src/sys/arch/arc/isa/isabus.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/arc/pci/necpb.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/arm/footbridge/footbridge.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/arm/ixp12x0/ixp12x0.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/arm/s3c2xx0/s3c2800_pci.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/arm/xscale/becc.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/arm/xscale/i80312.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/arm/xscale/i80321.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/arm/xscale/ixp425.c
cvs rdiff -r1.27 -r1.28 src/sys/arch/atari/isa/isa_machdep.c
cvs rdiff -r1.41 -r1.42 src/sys/arch/atari/pci/pci_machdep.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/bebox/bebox/mainbus.c
cvs rdiff -r1.44 -r1.45 src/sys/arch/bebox/conf/files.bebox
cvs rdiff -r1.16 -r1.17 src/sys/arch/bebox/pci/pcib.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/cats/pci/pcib.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/cobalt/dev/gt.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/dreamcast/dev/g2/gapspci.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/evbarm/ifpga/ifpga.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/evbmips/malta/dev/gt.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/evbmips/malta/pci/pcib.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/evbppc/walnut/pci/pchb.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/evbsh5/dev/superio.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/hp700/dev/dino.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/hp700/dev/mongoose.c
cvs rdiff -r1.28 -r1.29 src/sys/arch/hpcmips/isa/isa_machdep.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/hpcmips/isa/plumisa_machdep.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/hpcmips/vr/vrc4172pci.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/hpcmips/vr/vrpciu.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/i386/bios/vesabios.c
cvs rdiff -r1.259 -r1.260 src/sys/arch/i386/conf/files.i386
cvs rdiff -r1.83 -r1.84 src/sys/arch/i386/i386/apm.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/i386/i386/cpu.c
cvs rdiff -r1.53 -r1.54 src/sys/arch/i386/i386/mainbus.c
cvs rdiff -r1.22 -r1.23 src/sys/arch/i386/mca/mca_machdep.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/i386/pci/pceb.c
cvs rdiff -r1.53 -r1.54 src/sys/arch/i386/pci/pchb.c
cvs rdiff -r1.33 -r1.34 src/sys/arch/i386/pci/pcib.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/i386/pci/pcmb.c
cvs rdiff -r1.14 -r1.15 src/sys/arch/i386/pnpbios/files.pnpbios
cvs rdiff -r1.41 -r1.42 src/sys/arch/i386/pnpbios/pnpbios.c
cvs rdiff -r1.1 -r1.2 src/sys/arch/ibmnws/ibmnws/mainbus.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/ibmnws/pci/pcib.c
cvs rdiff -r1.13 -r1.14 src/sys/arch/macppc/macppc/mainbus.c
cvs rdiff -r1.23 -r1.24 src/sys/arch/macppc/pci/bandit.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/macppc/pci/grackle.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/macppc/pci/uninorth.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/mipsco/isa/isa_machdep.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/mvmeppc/mvmeppc/cpu.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/mvmeppc/mvmeppc/mainbus.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/mvmeppc/pci/pcib.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/netwinder/pci/pcib.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/ofppc/firepower/firepower.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/powerpc/ibm4xx/pci/pchb.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/prep/pci/pcib.c
cvs rdiff -r1.17 -r1.18 src/sys/arch/prep/prep/mainbus.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/sandpoint/pci/pcib.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/sandpoint/sandpoint/mainbus.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/sgimips/mace/pci_mace.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/sh5/pci/sh5_pci.c
cvs rdiff -r1.128 -r1.129 src/sys/arch/sparc/conf/files.sparc
cvs rdiff -r1.22 -r1.23 src/sys/arch/sparc/sparc/msiiep.c
cvs rdiff -r1.72 -r1.73 src/sys/arch/sparc64/dev/psycho.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/x86/conf/files.x86
cvs rdiff -r1.29 -r1.30 src/sys/arch/x86/x86/mpacpi.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/x86/x86/mpbios.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/xen/conf/files.xen
cvs rdiff -r1.3 -r1.4 src/sys/arch/xen/i386/mainbus.c
cvs rdiff -r1.66 -r1.67 src/sys/dev/acpi/acpi.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/cardbus/rbus_ppb.c
cvs rdiff -r1.33 -r1.34 src/sys/dev/eisa/eisa.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/eisa/eisavar.h
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/cpc700.c
cvs rdiff -r1.117 -r1.118 src/sys/dev/isa/isa.c
cvs rdiff -r1.42 -r1.43 src/sys/dev/isa/isavar.h
cvs rdiff -r1.10 -r1.11 src/sys/dev/marvell/gtpci.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/mca/mca.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/mca/mcavar.h
cvs rdiff -r1.32 -r1.33 src/sys/dev/pci/agp.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/agpvar.h
cvs rdiff -r1.87 -r1.88 src/sys/dev/pci/pci.c
cvs rdiff -r1.65 -r1.66 src/sys/dev/pci/pcivar.h
cvs rdiff -r1.28 -r1.29 src/sys/dev/pci/ppb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index