kernels/linux-2.4.0/drivers/video/cyber2000fb.c
/*
 * Re-initialise the CyberPro hardware
 */
Re-initialise the CyberPro hardware
Re - initialise the CyberPro hardware
static void cyberpro_resume(struct pci_dev *dev)
{
	struct cfb_info *cfb = (struct cfb_info *)dev->driver_data;
	if (cfb) {
		cyberpro_init_hw(cfb, 0);
		cfb->fb.var.activate = FB_ACTIVATE_NOW;
		cyber2000fb_set_var(&cfb->fb.var, -1, &cfb->fb);
	}
}
static void cyberpro_resume ( struct pci_dev * dev ) { struct cfb_info * cfb = ( struct cfb_info * ) dev -> driver_data ; if ( cfb ) { cyberpro_init_hw ( cfb , 0 ) ; cfb -> fb . var . activate = FB_ACTIVATE_NOW ; cyber2000fb_set_var ( & cfb -> fb . var , -1 , & cfb -> fb ) ; } }
Re-initialise the CyberPro hardware
Re - initialise the CyberPro hardware
/*
		 * Restore the old video mode and the palette.
		 * We also need to tell fbcon to redraw the console.
		 */