Can we have acpi_intr_establish() accept the xname? It's very useful to have the driver name registered for "intrctl list".
Jaromir 2017-12-10 17:51 GMT+01:00 Manuel Bouyer <bou...@netbsd.org>: > Module Name: src > Committed By: bouyer > Date: Sun Dec 10 16:51:30 UTC 2017 > > Modified Files: > src/sys/dev/acpi: acpi_util.c files.acpi > Added Files: > src/sys/dev/acpi: acpi_i2c.c acpi_i2c.h acpi_intr.h > > Log Message: > Implement a ACPI helper to fill the property array expected from our I2C > framework from the ACPI tables. > Also implement acpi_intr_establish(), acpi_intr_disestablish() and > acpi_intr_string(). > Needed for the upcoming HID over I2C support, proposed on tech-kern@ > on Dec, 1. > > > To generate a diff of this commit: > cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/acpi_i2c.c \ > src/sys/dev/acpi/acpi_i2c.h src/sys/dev/acpi/acpi_intr.h > cvs rdiff -u -r1.8 -r1.9 src/sys/dev/acpi/acpi_util.c > cvs rdiff -u -r1.99 -r1.100 src/sys/dev/acpi/files.acpi > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > >