case PCI_DEVICE_ID_INTEL_915GM: *name = "Intel(R) 915GM"; *chipset = INTEL_915GM; *mobile = 1; return 0; 
intelfbhw_get_chipset(struct pci_dev *pdev, const char **name, int *chipset,		      int *mobile){	u32 tmp;	if (!pdev || !name || !chipset || !mobile)		return 1;	switch (pdev->device) {	case PCI_DEVICE_ID_INTEL_830M:		*name = "Intel(R) 830M";		*chipset = INTEL_830M;		*mobile = 1;		return 0;	case PCI_DEVICE_ID_INTEL_845G:		*name = "Intel(R) 845G";		*chipset = INTEL_845G;		*mobile = 0;		return 0;	case PCI_DEVICE_ID_INTEL_85XGM:		tmp = 0;		*mobile = 1;		pci_read_config_dword(pdev, INTEL_85X_CAPID, &tmp);		switch ((tmp >> INTEL_85X_VARIANT_SHIFT) &			INTEL_85X_VARIANT_MASK) {		case INTEL_VAR_855GME:			*name = "Intel(R) 855GME";			*chipset = INTEL_855GME;			return 0;		case INTEL_VAR_855GM:			*name = "Intel(R) 855GM";			*chipset = INTEL_855GM;			return 0;		case INTEL_VAR_852GME:			*name = "Intel(R) 852GME";			*chipset = INTEL_852GME;			return 0;		case INTEL_VAR_852GM:			*name = "Intel(R) 852GM";			*chipset = INTEL_852GM;			return 0;		default:			*name = "Intel(R) 852GM/855GM";			*chipset = INTEL_85XGM;			return 0;		}		break;	case PCI_DEVICE_ID_INTEL_865G:		*name = "Intel(R) 865G";		*chipset = INTEL_865G;		*mobile = 0;		return 0;	case PCI_DEVICE_ID_INTEL_915G:		*name = "Intel(R) 915G";		*chipset = INTEL_915G;		*mobile = 0;		return 0;	default:		return 1;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3a59026ba111d85b1a86af0f1c4e5a8ef1242d82/intelfbhw.c/buggy/drivers/video/intelfb/intelfbhw.c