patch-2.4.6 linux/include/asm-m68k/openprom.h

Next file: linux/include/asm-m68k/parport.h
Previous file: linux/include/asm-m68k/motorola_pgalloc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/include/asm-m68k/openprom.h linux/include/asm-m68k/openprom.h
@@ -89,7 +89,7 @@
 	int *fd_stdout;
 };
 
-#ifdef CONFIG_SUN3
+#if defined(CONFIG_SUN3) || defined(CONFIG_SUN3X)
 struct linux_romvec {
 	char		*pv_initsp;		
 	int		(*pv_startmon)(void);
@@ -173,12 +173,15 @@
 						
 	void		(*pv_halt)(void);	
 	unsigned char	*pv_memorybitmap;	
+
+#ifdef CONFIG_SUN3
 	void		(*pv_setctxt)(int ctxt, char *va, int pmeg);
 	void		(*pv_vector_cmd)(void);	
 	int		dummy1z;
 	int		dummy2z;
 	int		dummy3z;
 	int		dummy4z;
+#endif
 };
 #else
 /* The top level PROM vector. */

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