summaryrefslogtreecommitdiffstats
path: root/lib_i386/pci_type1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_i386/pci_type1.c')
-rw-r--r--lib_i386/pci_type1.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib_i386/pci_type1.c b/lib_i386/pci_type1.c
index 5dfa8ab4fd..8da8c1ced7 100644
--- a/lib_i386/pci_type1.c
+++ b/lib_i386/pci_type1.c
@@ -20,14 +20,14 @@
#define cfg_read(val, addr, op) *val = op((int)(addr))
#define cfg_write(val, addr, op) op((val), (int)(addr))
-#define TYPE1_PCI_OP(rw, size, type, op, mask) \
-static int \
-type1_##rw##_config_##size(struct pci_controller *hose, \
- pci_dev_t dev, int offset, type val) \
-{ \
- outl(dev | (offset & 0xfc) | 0x80000000, (int)hose->cfg_addr); \
- cfg_##rw(val, hose->cfg_data + (offset & mask), op); \
- return 0; \
+#define TYPE1_PCI_OP(rw, size, type, op, mask) \
+static int \
+type1_##rw##_config_##size(struct pci_controller *hose, \
+ pci_dev_t dev, int offset, type val) \
+{ \
+ outl(dev | (offset & 0xfc) | 0x80000000, (int)hose->cfg_addr); \
+ cfg_##rw(val, hose->cfg_data + (offset & mask), op); \
+ return 0; \
}
OpenPOWER on IntegriCloud