patch-2.4.19 linux-2.4.19/arch/mips/ddb5xxx/common/nile4.c

Next file: linux-2.4.19/arch/mips/ddb5xxx/common/pci.c
Previous file: linux-2.4.19/arch/mips/ddb5xxx/common/irq_cpu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips/ddb5xxx/common/nile4.c linux-2.4.19/arch/mips/ddb5xxx/common/nile4.c
@@ -21,7 +21,6 @@
 #include <linux/kernel.h>
 
 #include <asm/ddb5xxx/ddb5xxx.h>
-#include <asm/ddb5xxx/debug.h>
 
 u32
 ddb_calc_pdar(u32 phys, u32 size, int width, 
@@ -73,7 +72,7 @@
                 maskbits = 0;
                 break;
         default:
-                panic("nile4_set_pdar: unsupported size %p\n", (void *) size);
+                panic("nile4_set_pdar: unsupported size %p", (void *) size);
         }
         switch (width) {
         case 8:
@@ -89,7 +88,7 @@
                 widthbits = 3;
                 break;
         default:
-                panic("nile4_set_pdar: unsupported width %d\n", width);
+                panic("nile4_set_pdar: unsupported width %d", width);
         }
 
 	return maskbits | (on_memory_bus ? 0x10 : 0) |
@@ -128,7 +127,7 @@
         case DDB_PCICMD_CFG:  /* PCI Configuration Space */
                 break;
         default:
-                panic("nile4_set_pmr: invalid type %d\n", type);
+                panic("nile4_set_pmr: invalid type %d", type);
         }
         ddb_out32(pmr, (type << 1) | (addr & 0xffe00000) | options );
         ddb_out32(pmr + 4, 0);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)