How to add a uart driver for ACPI probe

Rajesh Kumar rajfbsd at gmail.com
Fri Jul 13 09:54:58 UTC 2018


Hi,

Assuming I have a device driver in FreeBSD, how to make it visible during
ACPI probe.  For Eg: In sys/dev/uart -> I see uart_bus_acpi.c, which has
the list of device which I believe, will be visible during ACPI probe(if it
exists)

Likewise, is there any generic framework to add the devices for ACPI probe
for all types of devices (uart, i2c, gpio etc.,).  What is the purpose of
device list in sys/contrib/dev/acpica/common/ahids.c file?

Also, Is there any good reading material for understanding the ACPI code
design in FreeBSD? I see directories like sys/dev/acpi_support,
sys/dev/acpica and sys/contrib/dev/acpica. So, any good read to understand
how they are connected and placed  in FreeBSD?

Thanks,
Rajesh.


More information about the freebsd-acpi mailing list