freebsd-skq/sys/sparc64
Marius Strobl 0975feff68 In ofw_pcibus_attach() skip dupe PCI devices reported by the
firmware (mainly 'pmu' and its 'lomp' dupe found in a couple of
later USII{e,i}-based machines) by checking whether a device with
the same triple of bus number, slot and function already has been
added. This is the simple yet effective approach introduced in
OpenBSD some time ago, but which has the flaw that it assumes
that the device and its dupe(s) found in the OFW device tree are
equal or at least the one encountered first is in some way the
more important one (this is the case with 'pmu' and 'lomp'; the
'pmu' node has couple of properties and children while the 'lomp'
one misses most of these). If there's ever a device/dupe pair
where we don't encounter the more important node first, we'll
probably need to introduce a quirk list in order to add the
desired device but prevent its dupe(s) from being added.

MFC after:	1 week
2007-01-08 01:08:24 +00:00
..
central
compile
conf Remove the KDTRACE option again because of the complaints about having 2006-11-04 23:50:12 +00:00
creator
ebus
fhc
include add new large page sizes for use by shared loader 2006-12-18 07:28:59 +00:00
isa - Declare the PnP map const. 2006-06-05 17:48:54 +00:00
pci In ofw_pcibus_attach() skip dupe PCI devices reported by the 2007-01-08 01:08:24 +00:00
sbus - Merge sys/sparc64/pci/psycho.c rev. 1.8: 2006-06-08 21:02:25 +00:00
sparc64 GC unused fields in pcpu 2006-12-17 02:04:19 +00:00