commit | 1ed6743918abbec69c0f0b725fa56e3c3248bbab | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 29 17:24:59 2009 +0200 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Wed Nov 04 08:59:40 2009 -0800 |
tree | 01ea3d9aaf84746e42c4852c7e3c5295e1b42ce0 | |
parent | af5a8ee05404112f38fb2904747c688bdc31a746 [diff] |
PCI: fix nit in ROM BAR size probing When probing for ROM BAR size, we should not change bits 1:10 in this BAR, because these bits are marked as "reserved for future use" in PCI spec, so changing them might have side effects. No such issue for I/O or memory, as there is an implementation note in PCI spec which explicitly allows writing 0xfffffffff there. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>