What issue is this change attempting to resolve? > On May 20, 2024, at 4:34 AM, Taylor R Campbell <riastr...@netbsd.org> wrote: > > Module Name: src > Committed By: riastradh > Date: Mon May 20 11:34:19 UTC 2024 > > Modified Files: > src/sys/arch/sparc64/dev: pci_machdep.c > src/sys/arch/sparc64/include: pci_machdep.h > src/sys/arch/xen/include: pci_machdep.h > src/sys/arch/xen/xen: xpci_xenbus.c > src/sys/dev/acpi: acpi_mcfg.c > src/sys/dev/pci: pci.c pcivar.h > > Log Message: > pci: Pass cookie through pci_find_device, pci_enumerate_bus. > > New functions pci_find_device1 and pci_enumerate_bus1 have the cookie > argument. Existing symbols pci_find_device and pci_enumerate_bus are > now wrappers for the cookieless version. > > This drops the symbol pci_probe_device, in favour of a new > pci_probe_device1 with the cookie argument. But I don't think that > requires a revbump because it's only called by MD pci_enumerate_bus1 > implementations, which don't live in modules anyway. > > > To generate a diff of this commit: > cvs rdiff -u -r1.80 -r1.81 src/sys/arch/sparc64/dev/pci_machdep.c > cvs rdiff -u -r1.28 -r1.29 src/sys/arch/sparc64/include/pci_machdep.h > cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/include/pci_machdep.h > cvs rdiff -u -r1.26 -r1.27 src/sys/arch/xen/xen/xpci_xenbus.c > cvs rdiff -u -r1.26 -r1.27 src/sys/dev/acpi/acpi_mcfg.c > cvs rdiff -u -r1.165 -r1.166 src/sys/dev/pci/pci.c > cvs rdiff -u -r1.117 -r1.118 src/sys/dev/pci/pcivar.h > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. >
-- thorpej