diff options
author | Isaku Yamahata | 2009-10-30 13:21:01 +0100 |
---|---|---|
committer | Anthony Liguori | 2009-11-09 15:43:05 +0100 |
commit | 74c01823badbf4637c18ac4cad5967b4f9669514 (patch) | |
tree | 786de17b6665aacbdd28061a1ad1b74d267eb397 /hw/openpic.c | |
parent | pci: use helper functions to access pci config space. (diff) | |
download | qemu-74c01823badbf4637c18ac4cad5967b4f9669514.tar.gz qemu-74c01823badbf4637c18ac4cad5967b4f9669514.tar.xz qemu-74c01823badbf4637c18ac4cad5967b4f9669514.zip |
pci/bridge: clean up of pci_bridge_initfn()
- use symbolic constant
- use helper function pci_set_xxx()
- removed lines which initializes to 0.
It is unnecessary because it is already zeroed.
- add some comments on command registers.
Some initial values are suspicious because they seems to
be specific to apb_pci.c which is the only user of pci bridge right now.
For now don't touch those values to avoid breakage.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/openpic.c')
0 files changed, 0 insertions, 0 deletions