pci_read_config_word(ha->pdev, PCI_ROM_ADDRESS, &w); w &= ~PCI_ROM_ADDRESS_ENABLE; pci_write_config_word(ha->pdev, PCI_ROM_ADDRESS, w); 
pci_read_config_dword(ha->pdev, PCI_ROM_ADDRESS, &d); d &= ~PCI_ROM_ADDRESS_ENABLE; pci_write_config_dword(ha->pdev, PCI_ROM_ADDRESS, d); 
qla2100_pci_config(scsi_qla_host_t *ha){	uint16_t w, mwi;	unsigned long flags;	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;	pci_set_master(ha->pdev);	mwi = 0;	if (pci_set_mwi(ha->pdev))		mwi = PCI_COMMAND_INVALIDATE;	pci_read_config_word(ha->pdev, PCI_REVISION_ID, &ha->revision);	pci_read_config_word(ha->pdev, PCI_COMMAND, &w);	w |= mwi | (PCI_COMMAND_PARITY | PCI_COMMAND_SERR);	pci_write_config_word(ha->pdev, PCI_COMMAND, w);	/* Reset expansion ROM address decode enable */	pci_read_config_word(ha->pdev, PCI_ROM_ADDRESS, &w);	w &= ~PCI_ROM_ADDRESS_ENABLE;	pci_write_config_word(ha->pdev, PCI_ROM_ADDRESS, w);	/* Get PCI bus information. */	spin_lock_irqsave(&ha->hardware_lock, flags);	ha->pci_attr = RD_REG_WORD(&reg->ctrl_status);	spin_unlock_irqrestore(&ha->hardware_lock, flags);	return QLA_SUCCESS;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/27b2f6792f3b482e4636818c7efaf4c43fef32a3/qla_init.c/buggy/drivers/scsi/qla2xxx/qla_init.c