printk(KERN_INFO "PInS memtype = %u\n", (ACCESS_FBINFO(values).reg.opt & 0x1C00) >> 10); 
void matroxfb_read_pins(WPMINFO2) {	u32 opt;	u32 biosbase;	u32 fbbase;	struct pci_dev* pdev = ACCESS_FBINFO(pcidev);		memset(&ACCESS_FBINFO(bios), 0, sizeof(ACCESS_FBINFO(bios)));	pci_read_config_dword(pdev, PCI_OPTION_REG, &opt);	pci_write_config_dword(pdev, PCI_OPTION_REG, opt | PCI_OPTION_ENABLE_ROM);	pci_read_config_dword(pdev, PCI_ROM_ADDRESS, &biosbase);	pci_read_config_dword(pdev, ACCESS_FBINFO(devflags.fbResource), &fbbase);	pci_write_config_dword(pdev, PCI_ROM_ADDRESS, (fbbase & PCI_ROM_ADDRESS_MASK) | PCI_ROM_ADDRESS_ENABLE);	parse_bios(vaddr_va(ACCESS_FBINFO(video).vbase), &ACCESS_FBINFO(bios));	pci_write_config_dword(pdev, PCI_ROM_ADDRESS, biosbase);	pci_write_config_dword(pdev, PCI_OPTION_REG, opt);#ifdef CONFIG_X86	if (!ACCESS_FBINFO(bios).bios_valid) {		unsigned char __iomem* b;		b = ioremap(0x000C0000, 65536);		if (!b) {			printk(KERN_INFO "matroxfb: Unable to map legacy BIOS\n");		} else {			unsigned int ven = readb(b+0x64+0) | (readb(b+0x64+1) << 8);			unsigned int dev = readb(b+0x64+2) | (readb(b+0x64+3) << 8);						if (ven != pdev->vendor || dev != pdev->device) {				printk(KERN_INFO "matroxfb: Legacy BIOS is for %04X:%04X, while this device is %04X:%04X\n",					ven, dev, pdev->vendor, pdev->device);			} else {				parse_bios(b, &ACCESS_FBINFO(bios));			}			iounmap(b);		}	}#endif	matroxfb_set_limits(PMINFO &ACCESS_FBINFO(bios));}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/5c06e2aa6339112befdc87b350b8bf712890d7a7/matroxfb_misc.c/clean/drivers/video/matrox/matroxfb_misc.c