]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 306359
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Oct 2016 02:36:51 +0000 (02:36 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 14 Oct 2016 02:36:51 +0000 (02:36 +0000)
commitb3a55057f88b348fd8be76c88fe0c6593cbac206
tree100fb447923f7e8274ed5de962803146320076a5
parente6e36a3ecec02951a20007e0020eb202ff0b5496
MFC 306359

    pci: Clear the MEM/PORT_EN bit when updating PCI BAR

    It's unsafe to update the BAR when the related EN bit is set.

    Submitted by:   Dexuan Cui <decui microsoft com>
    Reviewed by:    jhb
    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D7914

git-svn-id: svn://svn.freebsd.org/base/stable/10@307248 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/pci/pci.c