opnsense-src/sys/dev/vnic
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
..
lmac_if.m
mrml_bridge.c INTRNG: Rework handling with resources. Partially revert r301453. 2016-08-19 10:52:39 +00:00
nic.h Add HW RSS support to VNIC driver 2016-05-11 13:22:13 +00:00
nic_main.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nic_reg.h Fix VNIC support for Pass2.0 ThunderX chips 2016-02-25 14:26:13 +00:00
nicvf_main.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
nicvf_queues.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
nicvf_queues.h Bind CQ interrupts and tasks to separate CPUs in VNIC 2016-05-11 13:20:29 +00:00
q_struct.h Introduce HW TSO support for VNIC 2016-02-25 14:29:57 +00:00
thunder_bgx.c Fix VNIC module unloading 2016-05-20 11:02:04 +00:00
thunder_bgx.h
thunder_bgx_fdt.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
thunder_bgx_var.h Fix finding appropriate BGX node in DTB and move it to a separate function 2016-01-28 15:30:58 +00:00
thunder_mdio.c Allow building VNIC as a module 2016-05-20 11:00:06 +00:00
thunder_mdio_fdt.c INTRNG: Rework handling with resources. Partially revert r301453. 2016-08-19 10:52:39 +00:00
thunder_mdio_var.h Support new MDIO hierarchy in ThunderX DTB 2016-01-28 15:44:14 +00:00