diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-10-20 17:18:51 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-10-20 12:05:10 +0200 |
commit | 0208def1cadd4f72f862e62548c2af268a543b20 (patch) | |
tree | ead3f1ff630bb7befced3d273b819b68ddedb639 /hw/pcie_port.c | |
parent | 6da6d29fa63ab7adcc2959355497a44654f3703e (diff) |
pci/bridge: fix pci_bridge_reset()
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: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pcie_port.c')
0 files changed, 0 insertions, 0 deletions