/*static int XGIfb_useoem = -1; */
/* global flags */
-static int XGIfb_registered;
static int XGIfb_tvmode;
static int XGIfb_pdc;
static int enable_dstn;
/* PR: Tv plug type (for overriding autodetection) */
static int XGIfb_tvplug = -1;
-static unsigned char XGIfb_detectedpdc;
-
-static unsigned char XGIfb_detectedlcda = 0xff;
-
-
-
-
/* TW: For ioctl XGIFB_GET_INFO */
/* XGIfb_info XGIfbinfo; */
if (XGIfb_off)
return -ENXIO;
- XGIfb_registered = 0;
-
memset(&XGIhw_ext, 0, sizeof(struct xgi_hw_device_info));
fb_info = framebuffer_alloc(sizeof(struct fb_info), &pdev->dev);
if (!fb_info)
}
}
- XGIfb_detectedpdc = 0;
-
- XGIfb_detectedlcda = 0xff;
-
- /* TW: Try to find about LCDA */
-
if ((XGIhw_ext.ujVBChipID == VB_CHIP_302B) ||
(XGIhw_ext.ujVBChipID == VB_CHIP_301LV) ||
(XGIhw_ext.ujVBChipID == VB_CHIP_302LV)) {
goto error_1;
}
- XGIfb_registered = 1;
-
printk(KERN_INFO "fb%d: %s frame buffer device, Version %d.%d.%02d\n",
fb_info->node, myid, VER_MAJOR, VER_MINOR, VER_LEVEL);