diff options
| author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-10-30 21:21:01 +0900 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-09 08:43:05 -0600 |
| commit | 74c01823badbf4637c18ac4cad5967b4f9669514 (patch) | |
| tree | 786de17b6665aacbdd28061a1ad1b74d267eb397 /hw/macio.c | |
| parent | b0ff8eb2d0c1b22b65a6c11b864dd85eb0294cdb (diff) | |
| download | focaccia-qemu-74c01823badbf4637c18ac4cad5967b4f9669514.tar.gz focaccia-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/macio.c')
0 files changed, 0 insertions, 0 deletions