/shark/trunk/drivers/grx/gd.c |
---|
88,17 → 88,17 |
} |
/* VESA driver needs the V86 Mode... */ |
//vm86_init(); |
vm86_init(); |
/* First, check VESA... */ |
if (vbe_getinfo() == 1) { |
type = VESA; |
if (flags & NOLINEAR) { |
trylinear = 0; |
} else { |
trylinear = 1; |
} |
return 1; |
} |
/* Then, the other graph cards... Override VESA!!! */ |
120,9 → 120,7 |
if (type == UNKNOWN) { |
return -1; |
} |
if (type == VESA) { |
return vbe_check_id(); |
} |
return -2; |
} |
196,9 → 194,10 |
} |
if (type == VESA) { |
if (vbe_getmodeinfo(&vbemi, mode) < 0) { |
return -1; |
} |
return -1; |
} |
app = mode; |
if (trylinear) { |