fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / sbus / dvma.c
index c095308..57e1526 100644 (file)
@@ -3,7 +3,6 @@
  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
  */
 
-#include <linux/config.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
 #include <linux/slab.h>
 
 struct sbus_dma *dma_chain;
 
-/* Print out the current values in the DMA control registers */
-extern __inline__ void dump_dma_regs(unsigned long dregs)
-{
-       printk("DMA CONTROL<%08x> ADDR<%08x> CNT<%08x> TEST<%08x>\n",
-              sbus_readl(dregs + DMA_CSR), sbus_readl(dregs + DMA_ADDR),
-              sbus_readl(dregs + DMA_COUNT), sbus_readl(dregs + DMA_TEST));
-}
-
 void __init init_one_dvma(struct sbus_dma *dma, int num_dma)
 {
        printk("dma%d: ", num_dma);
@@ -64,9 +55,6 @@ void __init init_one_dvma(struct sbus_dma *dma, int num_dma)
                break;
        }
        printk("\n");
-#if 0 /* Clutters up the screen */
-       dump_dma_regs(dma->regs);
-#endif
 }
 
 /* Probe this SBus DMA module(s) */