ig4 - Relabel as generic Designware I2c, add IDs

Operating Systems / DragonFlyBSD - Matthew Dillon [backplane.com] - 18 November 2019 23:18 EST

- This controller is actually third-party IP, not Intel-specific, and is apparently also used on AMD SOCs.

- Bring in PCI ids and ACPI ids from FreeBSD.

- Bring in a few bug fixes from FreeBSD as well.

- Now attaches on Lenovo ideapad 14 AMD-version (untested).

39bca54513 ig4 - Relabel as generic Designware I2c, add IDs
sys/bus/smbus/ichiic/ig4_acpi.c | 9 ++-
sys/bus/smbus/ichiic/ig4_iic.c | 38 +++++++-----
sys/bus/smbus/ichiic/ig4_pci.c | 132 ++++++++++++++++++++++++++--------------
sys/bus/smbus/ichiic/ig4_var.h | 2 +
4 files changed, 117 insertions(+), 64 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share