opnsense-src/sys/dev/dpaa
Justin Hibbits 21d5b592fa dpaa: Account for MDIO device not being found
It's possible the MDIO device hasn't been and attached, or is incorrect
in the device tree so can't probe and attach.  In this case,
ofw_bus_find_child_device_by_phandle() will fail, and return NULL.
Return an error from find_mdio() here to prevent the MAC from attaching,
rather than worry about a NULL pointer dereference later on when
accessing the PHY.
2022-11-26 10:55:21 -05:00
..
bman.c dpaa bman: Remove unused bman_devclass. 2022-05-10 10:21:39 -07:00
bman.h
bman_fdt.c dpaa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
bman_portals.c schedlock 4/4 2019-12-15 21:26:50 +00:00
fman.c dpaa: Go to cleanup exit point on fman attach error 2022-11-05 20:05:24 -04:00
fman.h Remove a singleton in the DPAA driver, to allow multiple fman instances 2017-11-01 00:46:48 +00:00
fman_fdt.c dpaa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
fman_mdio.c dpaa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
if_dtsec.c Although most of the NIC drivers are epoch ready, due to peer pressure 2020-02-24 21:07:30 +00:00
if_dtsec.h Fix interrupt handling for dtsec 2017-11-02 04:07:41 +00:00
if_dtsec_fdt.c dpaa: Account for MDIO device not being found 2022-11-26 10:55:21 -05:00
if_dtsec_im.c Update DPAA SDK to SDK 2.0 2017-10-30 03:41:04 +00:00
if_dtsec_im.h
if_dtsec_rm.c dpaa: Fix warnings in dtsec(4) found by clang 2019-08-21 02:26:22 +00:00
if_dtsec_rm.h
portals.h Update DPAA SDK to SDK 2.0 2017-10-30 03:41:04 +00:00
portals_common.c [PowerPC] [Book-E] Fix dpaa interrupt binding. 2020-02-25 03:35:52 +00:00
qman.c dpaa: Remove unused variables. 2022-04-13 16:08:23 -07:00
qman.h
qman_fdt.c dpaa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-10 10:21:39 -07:00
qman_portals.c schedlock 4/4 2019-12-15 21:26:50 +00:00