static void sis_scr_write (struct ata_port *ap, unsigned int sc_reg, u32 val){	struct pci_dev *pdev = to_pci_dev(ap->host_set->dev);	u8 pmr;	if (sc_reg > SCR_CONTROL)		return;	pci_read_config_byte(pdev, SIS_PMR, &pmr);		if (ap->flags & SIS_FLAG_CFGSCR)		sis_scr_cfg_write(ap, sc_reg, val);	else {		outl(val, ap->ioaddr.scr_addr + (sc_reg * 4));		if ((pdev->device == 0x182) || (pmr & SIS_PMR_COMBINED))			outl(val, ap->ioaddr.scr_addr + (sc_reg * 4)+0x10);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/8add788574694c5aed04fcb281a5c999e40cd8f6/sata_sis.c/buggy/drivers/scsi/sata_sis.c