mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-02 21:30:40 +00:00
bandit: Fix regression in non-Aspen PCI bridge
Refactor from e7da98b6bd
accidentally
made the non-Aspen PCI code path for CONFIG_ADDR writes by a no-op.
This commit is contained in:
parent
bdd441b1b6
commit
cf4913deb0
@ -193,10 +193,7 @@ void BanditHost::write(uint32_t rgn_start, uint32_t offset, uint32_t value, int
|
||||
break;
|
||||
|
||||
case 2: // CONFIG_ADDR
|
||||
if (this->is_aspen)
|
||||
this->config_addr = value;
|
||||
else
|
||||
BYTESWAP_32(value);
|
||||
this->config_addr = (this->is_aspen) ? value : BYTESWAP_32(value);
|
||||
break;
|
||||
|
||||
default: // I/O space
|
||||
|
Loading…
Reference in New Issue
Block a user