Resurrected incomplete Intel graphics driver in case anyone wants to
[cake.git] / arch / common / hidd.intelG33 / intelG33_hardware.c
blob8865c649f2e8ea37b9aae604687becd2f0610fd2
1 /*
2 Copyright � 2009-2010, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: intelG33_hardware.c
6 Lang: English
7 */
9 #define DEBUG 1
10 #include <aros/debug.h>
11 #include <aros/libcall.h>
12 #include <aros/asmcall.h>
13 #include <aros/symbolsets.h>
15 #include "intelG33_intern.h"
16 #include "intelG33_regs.h"
18 void init_GMBus(struct staticdata *sd) {
21 UWORD status_GMBus(struct staticdata *sd) {
23 return G33_RD_REGW(MMADR, GMBUS2);
27 BOOL read_DDC2(struct staticdata *sd) {
29 G33_WR_REGW(MMADR, GMBUS0, GMBUSRate400KHz);
31 return TRUE;