aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/pci/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/pci/pci.c')
-rw-r--r--arch/s390/pci/pci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c
index 01478f63c8a8..2b21749cc2b3 100644
--- a/arch/s390/pci/pci.c
+++ b/arch/s390/pci/pci.c
@@ -176,7 +176,7 @@ static int zpci_register_airq(struct zpci_dev *zdev, unsigned int aisb,
176 fib->aisb = (u64) bucket->aisb + aisb / 8; 176 fib->aisb = (u64) bucket->aisb + aisb / 8;
177 fib->aisbo = aisb & ZPCI_MSI_MASK; 177 fib->aisbo = aisb & ZPCI_MSI_MASK;
178 178
179 rc = mpcifc_instr(req, fib); 179 rc = s390pci_mod_fc(req, fib);
180 pr_debug("%s mpcifc returned noi: %d\n", __func__, fib->noi); 180 pr_debug("%s mpcifc returned noi: %d\n", __func__, fib->noi);
181 181
182 free_page((unsigned long) fib); 182 free_page((unsigned long) fib);
@@ -206,7 +206,7 @@ static int mod_pci(struct zpci_dev *zdev, int fn, u8 dmaas, struct mod_pci_args
206 fib->iota = args->iota; 206 fib->iota = args->iota;
207 fib->fmb_addr = args->fmb_addr; 207 fib->fmb_addr = args->fmb_addr;
208 208
209 rc = mpcifc_instr(req, fib); 209 rc = s390pci_mod_fc(req, fib);
210 free_page((unsigned long) fib); 210 free_page((unsigned long) fib);
211 return rc; 211 return rc;
212} 212}
@@ -280,7 +280,7 @@ static int zpci_cfg_load(struct zpci_dev *zdev, int offset, u32 *val, u8 len)
280 u64 data; 280 u64 data;
281 int rc; 281 int rc;
282 282
283 rc = pcilg_instr(&data, req, offset); 283 rc = s390pci_load(&data, req, offset);
284 data = data << ((8 - len) * 8); 284 data = data << ((8 - len) * 8);
285 data = le64_to_cpu(data); 285 data = le64_to_cpu(data);
286 if (!rc) 286 if (!rc)
@@ -298,7 +298,7 @@ static int zpci_cfg_store(struct zpci_dev *zdev, int offset, u32 val, u8 len)
298 298
299 data = cpu_to_le64(data); 299 data = cpu_to_le64(data);
300 data = data >> ((8 - len) * 8); 300 data = data >> ((8 - len) * 8);
301 rc = pcistg_instr(data, req, offset); 301 rc = s390pci_store(data, req, offset);
302 return rc; 302 return rc;
303} 303}
304 304
@@ -470,7 +470,7 @@ scan:
470 } 470 }
471 471
472 /* enable interrupts again */ 472 /* enable interrupts again */
473 sic_instr(SIC_IRQ_MODE_SINGLE, NULL, PCI_ISC); 473 set_irq_ctrl(SIC_IRQ_MODE_SINGLE, NULL, PCI_ISC);
474 474
475 /* check again to not lose initiative */ 475 /* check again to not lose initiative */
476 rmb(); 476 rmb();
@@ -785,7 +785,7 @@ static int __init zpci_irq_init(void)
785 spin_lock_init(&bucket->lock); 785 spin_lock_init(&bucket->lock);
786 /* set summary to 1 to be called every time for the ISC */ 786 /* set summary to 1 to be called every time for the ISC */
787 *zpci_irq_si = 1; 787 *zpci_irq_si = 1;
788 sic_instr(SIC_IRQ_MODE_SINGLE, NULL, PCI_ISC); 788 set_irq_ctrl(SIC_IRQ_MODE_SINGLE, NULL, PCI_ISC);
789 return 0; 789 return 0;
790 790
791out_ai: 791out_ai: