Skip to content
  • Isaku Yamahata's avatar
    pci/bridge: fix pci_bridge_reset() · 0208def1
    Isaku Yamahata authored
    
    
    The lower bits of base/limit registers is RO and shouldn't be zero
    cleared on reset. This patch fixes it.
    In fact, the default value of base/limit registers aren't specified
    in the spec. And some bridges disable forwarding on reset instead of
    zeroing base/limit registers.
    So introduce one function to disable bridge forwarding so that
    such bridges can use it. It will be used later.
    
    Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
    Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
    0208def1