- Set a default PCM volume so that something can be heard when driver is
[AROS.git] / arch / ppc-sam440 / i2c / i2c-amcc440.h
blob21d813d8f23e31ccfdc9c3a853793b3b26d187f2
1 /*
2 * i2c-sam440.h
4 * Created on: Feb 1, 2010
5 * Author: misc
6 */
8 #ifndef I2CSAM440_H_
9 #define I2CSAM440_H_
11 #include <exec/types.h>
12 #include <exec/libraries.h>
13 #include <exec/execbase.h>
14 #include <exec/nodes.h>
15 #include <exec/lists.h>
17 #include <dos/bptr.h>
19 #include <oop/oop.h>
21 #include <aros/arossupportbase.h>
22 #include <exec/execbase.h>
24 #include <asm/amcc440.h>
26 struct i2c440base {
27 struct Library i2c_LibNode;
28 OOP_Class * i2c_DrvClass;
31 #define METHOD(base, id, name) \
32 base ## __ ## id ## __ ## name (OOP_Class *cl, OOP_Object *o, struct p ## id ## _ ## name *msg)
34 #define METHOD_NAME(base, id, name) \
35 base ## __ ## id ## __ ## name
37 #define METHOD_NAME_S(base, id, name) \
38 # base "__" # id "__" # name
40 #define BASE(lib) ((struct pcibase*)(lib))
42 #endif /* I2CSAM440_H_ */