freebsd-dev/sys/arm/annapurna/alpine
Oleksandr Tymoshenko 108117cc22 [ofw] fix errneous checks for OF_finddevice(9) return value
OF_finddevices returns ((phandle_t)-1) in case of failure. Some code
in existing drivers checked return value to be equal to 0 or
less/equal to 0 which is also wrong because phandle_t is unsigned
type. Most of these checks were for negative cases that were never
triggered so trhere was no impact on functionality.

Reviewed by:	nwhitehorn
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D14645
2018-03-20 00:03:49 +00:00
..
alpine_ccu.c Introduce support for Annapurna Alpine CCU and NB devices 2016-09-07 05:34:41 +00:00
alpine_common.c Add PLATFORM and PLATFORM_SMP support to the ALPINE kernel configuration. 2017-07-04 12:26:47 +00:00
alpine_machdep_mp.c Add PLATFORM and PLATFORM_SMP support to the ALPINE kernel configuration. 2017-07-04 12:26:47 +00:00
alpine_machdep.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
alpine_mp.h Add PLATFORM and PLATFORM_SMP support to the ALPINE kernel configuration. 2017-07-04 12:26:47 +00:00
alpine_nb_service.c Introduce support for Annapurna Alpine CCU and NB devices 2016-09-07 05:34:41 +00:00
alpine_pci_msix.c Support for MSI-X on Annapurna Alpine 2016-10-20 11:23:59 +00:00
alpine_pci.c To allow for an ACPI attachment to the generic PCIe driver split off the 2016-11-21 18:24:05 +00:00
alpine_serdes.c Support for Alpine Serializer/Deserializer. 2016-10-20 11:26:51 +00:00
alpine_serdes.h Support for Alpine Serializer/Deserializer. 2016-10-20 11:26:51 +00:00
files.alpine Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
std.alpine Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00