NetBSD/sys/arch/sparc64
thorpej 397a84f51a Fix the semantics of __PCI_DEV_FUNCORDER so that they're actually useful:
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.)
2001-10-17 22:16:41 +00:00
..
compile
conf sync. 2001-09-22 00:58:46 +00:00
dev Fix the semantics of __PCI_DEV_FUNCORDER so that they're actually useful: 2001-10-17 22:16:41 +00:00
include Unify sparc{,64} headers once again; restore 32-bit sparc64 ABI. 2001-10-15 19:49:16 +00:00
sparc64 sync with sparc: add cdtty 2001-10-06 14:50:22 +00:00
stand move everything to arch/sparc/stand; leave the Makefile behind. 2000-08-20 14:53:19 +00:00
Makefile Define SYSDIR if not already defined. 2001-09-13 23:19:59 +00:00