commit | 4793b2841559003eab79ee77cf4b688a195c62e1 | [log] [tgz] |
---|---|---|
author | Jason Thorpe <thorpej@me.com> | Sat Jun 05 17:36:16 2021 -0700 |
committer | Richard Henderson <richard.henderson@linaro.org> | Sat Jun 05 17:44:34 2021 -0700 |
tree | 5e22cee0c73a5cbdc2be1d5f1152a9daa1d05022 | |
parent | 0cbd87c2c426c7fd8a27f4d0dc8bd878d488dac0 [diff] |
Fix incorrect initialization of PCI BARs Only program a BAR as a 64-bit MEM BAR if it really is a 64-bit MEM BAR. Fixes an issue with the CMD646 IDE controller under NetBSD. Signed-off-by: Jason Thorpe <thorpej@me.com> Message-Id: <20210603035317.6814-6-thorpej@me.com> [rth: Combine the two tests.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>