397a84f51a
If __PCI_DEV_FUNCORDER is defined, don't do the song-and-dance to check if a device is multi-function; machdep code is going to tell us exactly which functions to probe. Note this required changing how pci_func_devorder() works in the sparc64 PCI machdep code; now the "curnode" is assumed to point to the bus, rather than some function (typically 0) on the device, just as pci_bus_devorder() makes that assumption. All this should allow the PCI code to actually locate the second HME device on a Sun Netra t1, which is at 3,1 -- previously, the PCI code would have missed it because there is no device at 3,0. (Sun deserves a brick to the head for this one -- this seems clearly out of line with the PCI spec.) |
||
---|---|---|
.. | ||
auxio.c | ||
auxioreg.h | ||
auxiovar.h | ||
com_ebus.c | ||
cons.h | ||
consinit.c | ||
cs4231_ebus.c | ||
ebus.c | ||
ebusreg.h | ||
ebusvar.h | ||
fb.c | ||
fd.c | ||
fdreg.h | ||
fdvar.h | ||
iommu.c | ||
iommureg.h | ||
iommuvar.h | ||
kd.c | ||
lpt_ebus.c | ||
md_root.c | ||
pci_machdep.c | ||
pcons.c | ||
power.c | ||
power.h | ||
psycho.c | ||
psychoreg.h | ||
psychovar.h | ||
sbus.c | ||
sbusreg.h | ||
sbusvar.h | ||
upa.c | ||
upavar.h | ||
zs.c | ||
zsvar.h |