1 #include <lib/driver/avswitch.h>
7 #include <lib/base/init.h>
8 #include <lib/base/init_num.h>
9 #include <lib/base/econfig.h>
10 #include <lib/base/eerror.h>
12 eAVSwitch *eAVSwitch::instance = 0;
14 eAVSwitch::eAVSwitch()
19 avsfd = open("/dev/dbox/avs0", O_RDWR);
22 eAVSwitch::~eAVSwitch()
28 eAVSwitch *eAVSwitch::getInstance()
33 void eAVSwitch::setColorFormat(int format)
35 printf("eAVSwitch::setColorFormat(%d)\n",format);
36 /*there are no ioctl for controling this in avs - scart api needed
37 no, not the gillem one */
40 //FIXME: correct "run/startlevel"
41 eAutoInitP0<eAVSwitch> init_avswitch(eAutoInitNumbers::rc, "AVSwitch Driver");