pci_mapreg_map() will assign an address to the BAR if it doesn't have one
authorjmatthew <jmatthew@openbsd.org>
Mon, 20 Sep 2021 01:18:00 +0000 (01:18 +0000)
committerjmatthew <jmatthew@openbsd.org>
Mon, 20 Sep 2021 01:18:00 +0000 (01:18 +0000)
commit7bebb76e9334ca8a7966e8cb2d2be89204feac05
tree9f70ccdbc1438c531412d0b3432abbf26e090c16
parent8bdfd8a91ff6dc115fcaa2dee4c7ac84aa706714
pci_mapreg_map() will assign an address to the BAR if it doesn't have one
already, so we shouldn't refuse to attach in that case.

noticed by kevlo@ on arm64
ok dlg@ deraadt@
sys/dev/pci/if_aq_pci.c