freebsd-nq/sys/dev/ofw
Zbigniew Bodek 8b21d6ae5a Limit ofw_cpu_early_foreach() to CPUs only
On some platforms, the /cpus node contains cpu-to-cluster
map which deffinitely is not a CPU node. Its presence was
causing incrementing of "id" variable and reporting more
CPUs available than it should.
To make "id" valid, increment it only when an entry really
is a CPU device.

Reviewed by:   andrew
Obtained from: Semihalf
Sponsored by:  The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3216
2015-07-28 13:16:08 +00:00
..
ofw_bus_if.m Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
ofw_bus_subr.c OF_getencprop_alloc shouldn't be used to get string value. If string 2015-07-25 00:58:50 +00:00
ofw_bus_subr.h Add ofw_bus_find_child_by_phandle, a helper routine to find a device_t 2015-06-20 04:48:48 +00:00
ofw_bus.h Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
ofw_console.c Use callout(9) instead of timeout(9). 2014-09-02 18:57:19 +00:00
ofw_cpu.c Limit ofw_cpu_early_foreach() to CPUs only 2015-07-28 13:16:08 +00:00
ofw_cpu.h Adda function to iterate over the cpu nodes in the OFW or FDT data. This 2015-02-19 16:34:48 +00:00
ofw_disk.c
ofw_fdt.c Return an appropriate error code in the case of a missing property rather 2015-01-17 07:01:51 +00:00
ofw_if.m
ofw_iicbus.c Provide the number of interrupt resources added to the list 2015-05-15 13:55:18 +00:00
ofw_pci.h
ofw_standard.c
ofwbus.c Move the point we attach the ofw driver on arm64 to nexus.c. This will 2015-05-05 11:13:16 +00:00
ofwvar.h
openfirm.c Fix bug in xrefinfo_find() for 64-bit platforms 2015-03-30 09:49:54 +00:00
openfirm.h Revert rr271190, it was based on a misunderstanding. The problem of 2014-09-06 17:50:59 +00:00
openfirmio.c
openfirmio.h
openpromio.c
openpromio.h