Lines Matching refs:PIIX4_dev
130 static int __devinit piix4_setup(struct pci_dev *PIIX4_dev,
135 if ((PIIX4_dev->vendor == PCI_VENDOR_ID_SERVERWORKS) &&
136 (PIIX4_dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB5))
142 dev_err(&PIIX4_dev->dev,
149 PIIX4_dev->vendor == PCI_VENDOR_ID_INTEL) {
150 dev_err(&PIIX4_dev->dev, "IBM system detected; this module "
161 pci_read_config_word(PIIX4_dev, SMBBA, &piix4_smba);
164 dev_err(&PIIX4_dev->dev, "SMBus base address "
175 dev_err(&PIIX4_dev->dev, "SMBus region 0x%x already in use!\n",
180 pci_read_config_byte(PIIX4_dev, SMBHSTCFG, &temp);
185 pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp & 0xfe);
186 pci_write_config_word(PIIX4_dev, SMBBA, piix4_smba);
187 pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp | 0x01);
188 dev_info(&PIIX4_dev->dev, "WARNING: SMBus interface set to "
200 pci_write_config_byte(PIIX4_dev, SMBHSTCFG,
202 dev_printk(KERN_NOTICE, &PIIX4_dev->dev,
206 dev_err(&PIIX4_dev->dev,
215 dev_dbg(&PIIX4_dev->dev, "Using Interrupt 9 for SMBus.\n");
217 dev_dbg(&PIIX4_dev->dev, "Using Interrupt SMI# for SMBus.\n");
219 dev_err(&PIIX4_dev->dev, "Illegal Interrupt configuration "
222 pci_read_config_byte(PIIX4_dev, SMBREV, &temp);
223 dev_info(&PIIX4_dev->dev,
230 static int __devinit piix4_setup_sb800(struct pci_dev *PIIX4_dev,
238 dev_err(&PIIX4_dev->dev, "SMBus does not support "
245 dev_err(&PIIX4_dev->dev, "SMBus base address index region "
256 dev_err(&PIIX4_dev->dev,
266 dev_err(&PIIX4_dev->dev, "SMBus region 0x%x already in use!\n",
273 dev_err(&PIIX4_dev->dev, "SMBus I2C bus config region "
283 dev_dbg(&PIIX4_dev->dev, "Using IRQ for SMBus.\n");
285 dev_dbg(&PIIX4_dev->dev, "Using SMI# for SMBus.\n");
287 dev_info(&PIIX4_dev->dev,