patch-2.4.20 linux-2.4.20/include/asm-mips/ddb5xxx/ddb5xxx.h

Next file: linux-2.4.20/include/asm-mips/debug.h
Previous file: linux-2.4.20/include/asm-mips/ddb5xxx/ddb5477.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-mips/ddb5xxx/ddb5xxx.h linux-2.4.20/include/asm-mips/ddb5xxx/ddb5xxx.h
@@ -31,7 +31,7 @@
  *
  *	uPD31577(VRC5477) VR5432-SDRAM/PCI Bridge (Luke)
  *	Preliminary Specification Decoment, Rev 1.1, 27 Dec, 2000
- *  
+ *
  */
 
 
@@ -174,8 +174,13 @@
 
 static inline void ddb_sync(void)
 {
+/* The DDB5074 doesn't seem to like these accesses. They kill the board on
+ * interrupt load
+ */
+#ifndef CONFIG_DDB5074
     volatile u32 *p = (volatile u32 *)0xbfc00000;
     (void)(*p);
+#endif
 }
 
 static inline void ddb_out32(u32 offset, u32 val)
@@ -222,9 +227,9 @@
  *  Physical Device Address Registers
  */
 
-extern u32 
+extern u32
 ddb_calc_pdar(u32 phys, u32 size, int width, int on_memory_bus, int pci_visible);
-extern void 
+extern void
 ddb_set_pdar(u32 pdar, u32 phys, u32 size, int width,
 	     int on_memory_bus, int pci_visible);
 

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