printk(KERN_WARNING "i2o: I2O controller found but could not be" " enabled.\n"); 
printk(KERN_WARNING "i2o: couldn't enable device %s\n", pci_name(pdev)); 
static int __devinit i2o_pci_probe(struct pci_dev *pdev,				   const struct pci_device_id *id){	struct i2o_controller *c;	int rc;	printk(KERN_INFO "i2o: Checking for PCI I2O controllers...\n");	if ((pdev->class & 0xff) > 1) {		printk(KERN_WARNING "i2o: I2O controller found but does not "		       "support I2O 1.5 (skipping).\n");		return -ENODEV;	}	if ((rc = pci_enable_device(pdev))) {		printk(KERN_WARNING "i2o: I2O controller found but could not be"		       " enabled.\n");		return rc;	}	printk(KERN_INFO "i2o: I2O controller found on bus %d at %d.\n",	       pdev->bus->number, pdev->devfn);	if (pci_set_dma_mask(pdev, DMA_32BIT_MASK)) {		printk(KERN_WARNING "i2o: I2O controller on bus %d at %d: No "		       "suitable DMA available!\n", pdev->bus->number,		       pdev->devfn);		rc = -ENODEV;		goto disable;	}	pci_set_master(pdev);	c = i2o_iop_alloc();	if (IS_ERR(c)) {		printk(KERN_ERR "i2o: memory for I2O controller could not be "		       "allocated\n");		rc = PTR_ERR(c);		goto disable;	}	c->pdev = pdev;	c->device = pdev->dev;	/* Cards that fall apart if you hit them with large I/O loads... */	if (pdev->vendor == PCI_VENDOR_ID_NCR && pdev->device == 0x0630) {		c->short_req = 1;		printk(KERN_INFO "%s: Symbios FC920 workarounds activated.\n",		       c->name);	}	if (pdev->subsystem_vendor == PCI_VENDOR_ID_PROMISE) {		c->promise = 1;		printk(KERN_INFO "%s: Promise workarounds activated.\n",		       c->name);	}	/* Cards that go bananas if you quiesce them before you reset them. */	if (pdev->vendor == PCI_VENDOR_ID_DPT) {		c->no_quiesce = 1;		if (pdev->device == 0xa511)			c->raptor = 1;	}	if ((rc = i2o_pci_alloc(c))) {		printk(KERN_ERR "%s: DMA / IO allocation for I2O controller "		       " failed\n", c->name);		goto free_controller;	}	if (i2o_pci_irq_enable(c)) {		printk(KERN_ERR "%s: unable to enable interrupts for I2O "		       "controller\n", c->name);		goto free_pci;	}	if ((rc = i2o_iop_add(c)))		goto uninstall;	return 0;      uninstall:	i2o_pci_irq_disable(c);      free_pci:	i2o_pci_free(c);      free_controller:	i2o_iop_free(c);      disable:	pci_disable_device(pdev);	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/61fbfa8129c1771061a0e9f47747854293081c5b/pci.c/buggy/drivers/message/i2o/pci.c