Add support for BCM4378 as implemented on the Apple M1. This chip seems
authorpatrick <patrick@openbsd.org>
Fri, 26 Feb 2021 12:28:45 +0000 (12:28 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 26 Feb 2021 12:28:45 +0000 (12:28 +0000)
commitbb813cf8559abb3de3a1a8bf6a8caa6d67294e5f
tree5bf41bdcce7b362cb98d5fc12b29c799599a0067
parentb340c001fd20dd0b2386357ce6a3a3b82cf8574b
Add support for BCM4378 as implemented on the Apple M1.  This chip seems
to use a different set of PCIE2REG registers.  Accessing the "old" ones
even leads to faults.  There are two surprises though.  One is that it
seems that the interrupt status register always returns 0, and the other
one is that we receive the interrupts way too early, but both can be
worked around for now.
sys/dev/pci/if_bwfm_pci.c
sys/dev/pci/if_bwfm_pci.h