From 0f147388c0c23a2f7267ee0bf58333939d7a5d84 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 24 Jul 2019 12:14:56 +0200 Subject: do not mix tabs and spaces in a single file --- pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pci.c') diff --git a/pci.c b/pci.c index f03ff6d..65c9e81 100644 --- a/pci.c +++ b/pci.c @@ -70,7 +70,7 @@ static void do_setup_pci(uint32_t bdf, uint32_t id, uint8_t type) uint8_t pin; pin = pci_config_readb(bdf, PCI_INTERRUPT_PIN); - if (pin != 0) + if (pin != 0) do_setup_pci_irq(bdf, pin); if (type & PCI_HEADER_TYPE_BRIDGE) { @@ -164,8 +164,8 @@ void setup_pci(void) { const int bdf = 0; - uint32_t id = pci_config_readl(bdf, 0); - if (id == (PCI_VENDOR_ID_INTEL | (PCI_DEVICE_ID_INTEL_82441 << 16))) + uint32_t id = pci_config_readl(bdf, 0); + if (id == (PCI_VENDOR_ID_INTEL | (PCI_DEVICE_ID_INTEL_82441 << 16))) use_i440fx_routing = true; else if (id == (PCI_VENDOR_ID_INTEL | (PCI_DEVICE_ID_INTEL_Q35_MCH << 16))) use_i440fx_routing = false; -- cgit v1.1