opnsense-src/sys/arm/allwinner
Warner Losh ddfc9c4c59 newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf
Now that the upper layers all go through a layer to tie into these
information functions that translates an sbuf into char * and len. The
current interface suffers issues of what to do in cases of truncation,
etc. Instead, migrate all these functions to using struct sbuf and these
issues go away. The caller is also in charge of any memory allocation
and/or expansion that's needed during this process.

Create a bus_generic_child_{pnpinfo,location} and make it default. It
just returns success. This is for those busses that have no information
for these items. Migrate the now-empty routines to using this as
appropriate.

Document these new interfaces with man pages, and oversight from before.

Reviewed by:		jhb, bcr
Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D29937
2021-06-22 20:52:06 -06:00
..
a10 arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
a13 arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
a20 arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
a31 arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
a33 arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
a64 arm64: allwinner: Add i2s and codec support 2021-06-11 21:06:08 +02:00
a83t arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
clkng arm64: allwinner: clk: Test with the current parent freq first 2021-05-31 14:10:24 +02:00
h3 arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
h6 arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
a10_ahci.c newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
a10_codec.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
a10_dmac.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
a10_dmac.h
a10_fb.c Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
a10_hdmi.c Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
a10_hdmiaudio.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
a10_sramc.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
a10_sramc.h
a10_timer.c arm: allwinner: a23 timer functions are only used for arm64 2020-11-26 17:19:47 +00:00
a31_dmac.c Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
a33_codec.c arm64: allwinner: Add i2s and codec support 2021-06-11 21:06:08 +02:00
allwinner_pinctrl.h arm: allwinner: Fix padconf for interrupts information 2020-01-19 19:14:49 +00:00
aw_ccu.c Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
aw_cir.c aw_cir: in the pulse encoding the actual length is one greater than value 2020-08-12 09:57:28 +00:00
aw_dwc3.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
aw_gmacclk.c Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
aw_gpio.c Remove the pre-ARMv6 and pre-INTRNG code. 2020-11-29 08:40:12 +00:00
aw_i2s.c arm64: allwinner: Add i2s and codec support 2021-06-11 21:06:08 +02:00
aw_if_dwc.c Finish renaming in if_dwc. 2020-06-19 18:34:27 +00:00
aw_machdep.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
aw_machdep.h Remove "all rights reserved" from copyright for the file I own. 2019-12-03 21:00:45 +00:00
aw_mmc.c arm: allwinner: Add mmc_pwrseq support 2021-06-14 20:47:37 +02:00
aw_mmc.h aw_mmc: Rename clock register defines consistently 2018-05-31 15:36:26 +00:00
aw_mp.c
aw_mp.h Remove "all rights reserved" from copyright for the file I own. 2019-12-03 21:00:45 +00:00
aw_nmi.c arm: allwinner: aw_nmi: Fix wrong logic when we disable the nmi 2020-09-20 16:11:38 +00:00
aw_pwm.c aw_pwm: add a check and some comments related to long periods 2020-09-25 07:41:51 +00:00
aw_reset.c Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
aw_rsb.c Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
aw_rtc.c arm: allwinner: aw_rtc: Add H6 compatible 2020-11-25 11:20:04 +00:00
aw_sid.c arm: allwinner: aw_sid: Fix thermal calibration size for A64 2020-04-15 13:35:28 +00:00
aw_sid.h Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
aw_spi.c arm: allwinner: aw_spi: Call bus_generic_attach 2020-01-02 17:39:21 +00:00
aw_syscon.c allwinner: Rework the BUS_PASS on drivers 2019-08-10 17:58:30 +00:00
aw_thermal.c allwinner: aw_thermal: Cope with DTS changes 2020-04-14 19:05:17 +00:00
aw_ts.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (13 of many) 2020-02-24 10:45:22 +00:00
aw_usb3phy.c arm64: allwinner: Add support for the usb3 phy 2019-10-14 21:58:46 +00:00
aw_usbphy.c aw_usbphy: add support for device mode operation 2020-09-21 10:02:11 +00:00
aw_wdog.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
aw_wdog.h arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
axp81x.c arm64: allwinner: axp81x: Add support for regnode_status 2021-05-21 17:37:37 +02:00
axp209.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
axp209reg.h arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
files.allwinner arm: allwinner: Add clock driver for Display Engine to the build 2021-06-02 10:17:16 +02:00
files.allwinner_up
if_awg.c if_awg: Add a awg_dma_start_tx function that trigger dma engine 2020-11-20 11:30:44 +00:00
if_awgreg.h Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
if_emac.c arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
if_emacreg.h
std.allwinner Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
std.allwinner_up Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
sunxi_dma_if.m