Re: [PATCH v3 1/3] via-ide: Fix legacy mode emulation

2023-10-15 Thread Mark Cave-Ayland
On 14/10/2023 20:37, BALATON Zoltan wrote: The initial value for BARs were set in reset method for emulating legacy mode at start but this does not work because PCI code resets BARs after calling device reset method. Remove this ineffective default to avoid confusion. Instead move setting the B

[PATCH v3 1/3] via-ide: Fix legacy mode emulation

2023-10-14 Thread BALATON Zoltan
The initial value for BARs were set in reset method for emulating legacy mode at start but this does not work because PCI code resets BARs after calling device reset method. Remove this ineffective default to avoid confusion. Instead move setting the BARs to a callback on writing the PCI config re