svn commit: r287403 - head/sys/dev/ioat

Conrad Meyer cem at FreeBSD.org
Wed Sep 2 19:52:00 UTC 2015


https://reviews.freebsd.org/D3552

On Wed, Sep 2, 2015 at 12:15 PM, Conrad Meyer <cem at freebsd.org> wrote:
> On Wed, Sep 2, 2015 at 10:26 AM, John Baldwin <jhb at freebsd.org> wrote:
>> Alternatively you could use pci_restore_state() (before reset) and
>> pci_save_state() (after reset) to restore standard PCI config registers
>> (including MSI/MSI-X) after a reset.
>>
>> This might be more scalable if you want to ensure other PCI config
>> registers (e.g. PCI-e capabilities) are restored after a reset.
>
>
> Hi John,
>
> Do you mean pci_save_state() before reset and pci_restore_state()
> afterwards? Seems reasonable to me.
>
> Thanks,
> Conrad


More information about the svn-src-head mailing list