On Wednesday, September 02, 2015 04:48:04 PM Conrad E. Meyer wrote: > Author: cem > Date: Wed Sep 2 16:48:03 2015 > New Revision: 287403 > URL: https://svnweb.freebsd.org/changeset/base/287403 > > Log: > ioat: re-initialize interrupts after resetting hw on BDXDE > > Resetting some generations of the I/OAT hardware (just BDXDE for now) > resets the corresponding MSI-X registers. So, teardown and > re-initialize interrupts after resetting the hardware. > > Reviewed by: jimharris > Approved by: markj (mentor) > Sponsored by: EMC / Isilon Storage Division > Differential Revision: https://reviews.freebsd.org/D3549
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. -- John Baldwin _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"