aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hisax/avm_pci.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/isdn/hisax/avm_pci.c b/drivers/isdn/hisax/avm_pci.c
index 035d158779df..0f1db1f669b2 100644
--- a/drivers/isdn/hisax/avm_pci.c
+++ b/drivers/isdn/hisax/avm_pci.c
@@ -263,11 +263,7 @@ hdlc_empty_fifo(struct BCState *bcs, int count)
263 outl(idx, cs->hw.avm.cfg_reg + 4); 263 outl(idx, cs->hw.avm.cfg_reg + 4);
264 while (cnt < count) { 264 while (cnt < count) {
265#ifdef __powerpc__ 265#ifdef __powerpc__
266#ifdef CONFIG_APUS
267 *ptr++ = in_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE));
268#else
269 *ptr++ = in_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE)); 266 *ptr++ = in_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE));
270#endif /* CONFIG_APUS */
271#else 267#else
272 *ptr++ = inl(cs->hw.avm.isac); 268 *ptr++ = inl(cs->hw.avm.isac);
273#endif /* __powerpc__ */ 269#endif /* __powerpc__ */
@@ -328,11 +324,7 @@ hdlc_fill_fifo(struct BCState *bcs)
328 if (cs->subtyp == AVM_FRITZ_PCI) { 324 if (cs->subtyp == AVM_FRITZ_PCI) {
329 while (cnt<count) { 325 while (cnt<count) {
330#ifdef __powerpc__ 326#ifdef __powerpc__
331#ifdef CONFIG_APUS
332 out_le32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++);
333#else
334 out_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++); 327 out_be32((unsigned *)(cs->hw.avm.isac +_IO_BASE), *ptr++);
335#endif /* CONFIG_APUS */
336#else 328#else
337 outl(*ptr++, cs->hw.avm.isac); 329 outl(*ptr++, cs->hw.avm.isac);
338#endif /* __powerpc__ */ 330#endif /* __powerpc__ */