patch-2.3.17 linux/include/asm-m68k/sbus.h
Next file: linux/include/asm-m68k/setup.h
Previous file: linux/include/asm-m68k/processor.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat Sep 4 13:06:41 1999
- Orig file:
v2.3.16/linux/include/asm-m68k/sbus.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.16/linux/include/asm-m68k/sbus.h linux/include/asm-m68k/sbus.h
@@ -0,0 +1,20 @@
+/*
+ * some sbus structures and macros to make usage of sbus drivers possible
+ */
+
+#ifndef __M68K_SBUS_H
+#define __M68K_SBUS_H
+
+struct linux_sbus_device {
+ struct {
+ unsigned int which_io;
+ unsigned int phys_addr;
+ } reg_addrs[1];
+};
+
+extern void *sparc_alloc_io (u32, void *, int, char *, u32, int);
+#define sparc_alloc_io(a,b,c,d,e,f) (a)
+
+#define ARCH_SUN4 0
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)