X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=vgasrc%2Fclext.c;h=afab5820633b931e06dc5b3f453a097099040fc4;hb=d4398adab635f10a55717e2472ecf651b1edab3c;hp=f468002c712a1a7fcaae4b57c6fe46d165ecf0de;hpb=5108c69c47e18244206593c0c7918711311d8ef3;p=seabios.git diff --git a/vgasrc/clext.c b/vgasrc/clext.c index f468002..afab582 100644 --- a/vgasrc/clext.c +++ b/vgasrc/clext.c @@ -932,12 +932,16 @@ cirrus_vesa(struct bregs *regs) * init ****************************************************************/ -void +int clext_init(void) { + int ret = stdvga_init(); + if (ret) + return ret; + dprintf(1, "cirrus init\n"); if (! cirrus_check()) - return; + return -1; dprintf(1, "cirrus init 2\n"); // memory setup @@ -949,4 +953,6 @@ clext_init(void) // reset bitblt outw(0x0431, VGAREG_GRDC_ADDRESS); outw(0x0031, VGAREG_GRDC_ADDRESS); + + return 0; }