if (!strcmp(rinfo->of_node->name, "ATY,JasperParent")) { 
if (!strcmp(rinfo->of_node->name, "ATY,JasperParent") || !strcmp(rinfo->of_node->name, "ATY,SnowyParent")) { 
void radeonfb_pm_init(struct radeonfb_info *rinfo, int dynclk){	/* Find PM registers in config space if any*/	rinfo->pm_reg = pci_find_capability(rinfo->pdev, PCI_CAP_ID_PM);	/* Enable/Disable dynamic clocks: TODO add sysfs access */	rinfo->dynclk = dynclk;	if (dynclk == 1) {		radeon_pm_enable_dynamic_mode(rinfo);		printk("radeonfb: Dynamic Clock Power Management enabled\n");	} else if (dynclk == 0) {		radeon_pm_disable_dynamic_mode(rinfo);		printk("radeonfb: Dynamic Clock Power Management disabled\n");	}	/* Check if we can power manage on suspend/resume. We can do	 * D2 on M6, M7 and M9, and we can resume from D3 cold a few other	 * "Mac" cards, but that's all. We need more infos about what the	 * BIOS does tho. Right now, all this PM stuff is pmac-only for that	 * reason. --BenH	 */#if defined(CONFIG_PM) && defined(CONFIG_PPC_OF)	if (_machine == _MACH_Pmac && rinfo->of_node) {		if (rinfo->is_mobility && rinfo->pm_reg &&		    rinfo->family <= CHIP_FAMILY_RV250)			rinfo->pm_mode |= radeon_pm_d2;		/* We can restart Jasper (M10 chip in albooks), BlueStone (7500 chip		 * in some desktop G4s), and Via (M9+ chip on iBook G4)		 */		if (!strcmp(rinfo->of_node->name, "ATY,JasperParent")) {			rinfo->reinit_func = radeon_reinitialize_M10;			rinfo->pm_mode |= radeon_pm_off;		}#if 0 /* Not ready yet */		if (!strcmp(rinfo->of_node->name, "ATY,BlueStoneParent")) {			rinfo->reinit_func = radeon_reinitialize_QW;			rinfo->pm_mode |= radeon_pm_off;		}#endif		if (!strcmp(rinfo->of_node->name, "ATY,ViaParent")) {			rinfo->reinit_func = radeon_reinitialize_M9P;			rinfo->pm_mode |= radeon_pm_off;		}		/* If any of the above is set, we assume the machine can sleep/resume.		 * It's a bit of a "shortcut" but will work fine. Ideally, we need infos		 * from the platform about what happens to the chip...		 * Now we tell the platform about our capability		 */		if (rinfo->pm_mode != radeon_pm_none) {			pmac_call_feature(PMAC_FTR_DEVICE_CAN_WAKE, rinfo->of_node, 0, 1);			pmac_set_early_video_resume(radeonfb_early_resume, rinfo);		}#if 0		/* Power down TV DAC, taht saves a significant amount of power,		 * we'll have something better once we actually have some TVOut		 * support		 */		OUTREG(TV_DAC_CNTL, INREG(TV_DAC_CNTL) | 0x07000000);#endif	}#endif /* defined(CONFIG_PM) && defined(CONFIG_PPC_OF) */}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/14bfd1ff94f519a59b1e88e682819332d7e98171/radeon_pm.c/buggy/drivers/video/aty/radeon_pm.c