port_info[1] = NULL; 
port_info[1] = &piix_port_info[ent->driver_data]; 
static int piix_init_one (struct pci_dev *pdev, const struct pci_device_id *ent){	static int printed_version;	struct ata_port_info *port_info[2];	unsigned int combined = 0, n_ports = 1;	unsigned int pata_chan = 0, sata_chan = 0;	if (!printed_version++)		dev_printk(KERN_DEBUG, &pdev->dev,			   "version " DRV_VERSION "\n");	/* no hotplugging support (FIXME) */	if (!in_module_init)		return -ENODEV;	port_info[0] = &piix_port_info[ent->driver_data];	port_info[1] = NULL;	if (port_info[0]->host_flags & PIIX_FLAG_AHCI) {		u8 tmp;		pci_read_config_byte(pdev, PIIX_SCC, &tmp);		if (tmp == PIIX_AHCI_DEVICE) {			int rc = piix_disable_ahci(pdev);			if (rc)				return rc;		}	}	if (port_info[0]->host_flags & PIIX_FLAG_COMBINED) {		u8 tmp;		pci_read_config_byte(pdev, ICH5_PMR, &tmp);		if (tmp & PIIX_COMB) {			combined = 1;			if (tmp & PIIX_COMB_PATA_P0)				sata_chan = 1;			else				pata_chan = 1;		}	}	/* On ICH5, some BIOSen disable the interrupt using the	 * PCI_COMMAND_INTX_DISABLE bit added in PCI 2.3.	 * On ICH6, this bit has the same effect, but only when	 * MSI is disabled (and it is disabled, as we don't use	 * message-signalled interrupts currently).	 */	if (port_info[0]->host_flags & PIIX_FLAG_CHECKINTR)		pci_intx(pdev, 1);	if (combined) {		port_info[sata_chan] = &piix_port_info[ent->driver_data];		port_info[sata_chan]->host_flags |= ATA_FLAG_SLAVE_POSS;		port_info[pata_chan] = &piix_port_info[ich5_pata];		n_ports++;		dev_printk(KERN_WARNING, &pdev->dev,			   "combined mode detected (p=%u, s=%u)\n",			   pata_chan, sata_chan);	}	return ata_pci_init_one(pdev, port_info, n_ports);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/fbf30fbaa61595e9026f628f3913888b0df2b288/ata_piix.c/buggy/drivers/scsi/ata_piix.c