1c46e02997
c450c13615f7af0673230041da4216b3de5bc4d3.patch This patch fixes 2 issues in AccessWidth/BitOffset support and adds comments to justify the BitOffset/BitWidth style macro usages. Lv Zheng. This patch introduces ACPI_IS_ALIGNED() macro. Lv Zheng. The old register descriptors are translated in AcpiTbInitGenericAddress() with AccessWidth being filled with 0. This breaks code in AcpiHwGetAccessBitWidth() when the registers are 16-bit IO ports and their BitWidth fields are filled with 16. The rapid fix is meant to make code written for AcpiHwGetAccessBitWidth() regression safer before the issue is correctly fixed from AcpiTbInitGenericAddress(). Reported by John Baldwin <jhb@freebsd.org>, Fixed by Lv Zheng <lv.zheng@intel.com>, Tested by Jung-uk Kim <jkim@freebsd.org>. |
||
---|---|---|
.. | ||
bsd | ||
isc/atheros_hal |