Linux 2.3.1pre3
[davej-history.git] / arch / m68k / sun3x / sbus.c
blobf1a89df659efe5bb896a34731540c8685e4374d1
1 /*
2 * SBus helper functions
4 * Sun3x don't have a sbus, but many of the used devices are also
5 * used on Sparc machines with sbus. To avoid having a lot of
6 * duplicate code, we provide necessary glue stuff to make using
7 * of the sbus driver code possible.
9 * (C) 1999 Thomas Bogendoerfer (tsbogend@alpha.franken.de)
12 #include <linux/types.h>
13 #include <linux/init.h>
15 __initfunc(void sbus_init(void))
20 void *sparc_alloc_io (u32 address, void *virtual, int len, char *name,
21 u32 bus_type, int rdonly)
23 return (void *)address;
26 int prom_getintdefault(int node, char *property, int deflt)
28 return deflt;
31 int prom_getbool (int node, char *prop)
33 return 1;
36 void prom_printf(char *fmt, ...)
41 void prom_halt (void)