diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2013-02-23 00:40:39 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-28 12:59:23 -0500 |
commit | c9721215126a8ef46abd2e762efd6aa5ff6b92b9 (patch) | |
tree | 5515e439659354c6150a05228de0079bdd17158a /hw/piix_pci.c | |
parent | d93a8a435cbd7f874ef71d4da5677c5f88d8435a (diff) |
piix_pci: Fix C99 comments
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Message-id: 1361580039-4459-4-git-send-email-dwmw2@infradead.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r-- | hw/piix_pci.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 1e05d499cd..83fcfa497c 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -425,10 +425,10 @@ static void piix3_reset(void *opaque) PIIX3State *d = opaque; uint8_t *pci_conf = d->dev.config; - pci_conf[0x04] = 0x07; // master, memory and I/O + pci_conf[0x04] = 0x07; /* master, memory and I/O */ pci_conf[0x05] = 0x00; pci_conf[0x06] = 0x00; - pci_conf[0x07] = 0x02; // PCI_status_devsel_medium + pci_conf[0x07] = 0x02; /* PCI_status_devsel_medium */ pci_conf[0x4c] = 0x4d; pci_conf[0x4e] = 0x03; pci_conf[0x4f] = 0x00; @@ -569,7 +569,8 @@ static void piix3_class_init(ObjectClass *klass, void *data) k->init = piix3_initfn; k->config_write = piix3_write_config; k->vendor_id = PCI_VENDOR_ID_INTEL; - k->device_id = PCI_DEVICE_ID_INTEL_82371SB_0; // 82371SB PIIX3 PCI-to-ISA bridge (Step A1) + /* 82371SB PIIX3 PCI-to-ISA bridge (Step A1) */ + k->device_id = PCI_DEVICE_ID_INTEL_82371SB_0; k->class_id = PCI_CLASS_BRIDGE_ISA; } @@ -592,7 +593,8 @@ static void piix3_xen_class_init(ObjectClass *klass, void *data) k->init = piix3_initfn; k->config_write = piix3_write_config_xen; k->vendor_id = PCI_VENDOR_ID_INTEL; - k->device_id = PCI_DEVICE_ID_INTEL_82371SB_0; // 82371SB PIIX3 PCI-to-ISA bridge (Step A1) + /* 82371SB PIIX3 PCI-to-ISA bridge (Step A1) */ + k->device_id = PCI_DEVICE_ID_INTEL_82371SB_0; k->class_id = PCI_CLASS_BRIDGE_ISA; }; |