printk(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n"); 
dev_printk(KERN_DEBUG, &pdev->dev, "version " DRV_VERSION "\n"); 
static int adma_ata_init_one(struct pci_dev *pdev,				const struct pci_device_id *ent){	static int printed_version;	struct ata_probe_ent *probe_ent = NULL;	void __iomem *mmio_base;	unsigned int board_idx = (unsigned int) ent->driver_data;	int rc, port_no;	if (!printed_version++)		printk(KERN_DEBUG DRV_NAME " version " DRV_VERSION "\n");	rc = pci_enable_device(pdev);	if (rc)		return rc;	rc = pci_request_regions(pdev, DRV_NAME);	if (rc)		goto err_out;	if ((pci_resource_flags(pdev, 4) & IORESOURCE_MEM) == 0) {		rc = -ENODEV;		goto err_out_regions;	}	mmio_base = pci_iomap(pdev, 4, 0);	if (mmio_base == NULL) {		rc = -ENOMEM;		goto err_out_regions;	}	rc = adma_set_dma_masks(pdev, mmio_base);	if (rc)		goto err_out_iounmap;	probe_ent = kcalloc(1, sizeof(*probe_ent), GFP_KERNEL);	if (probe_ent == NULL) {		rc = -ENOMEM;		goto err_out_iounmap;	}	probe_ent->dev = pci_dev_to_dev(pdev);	INIT_LIST_HEAD(&probe_ent->node);	probe_ent->sht		= adma_port_info[board_idx].sht;	probe_ent->host_flags	= adma_port_info[board_idx].host_flags;	probe_ent->pio_mask	= adma_port_info[board_idx].pio_mask;	probe_ent->mwdma_mask	= adma_port_info[board_idx].mwdma_mask;	probe_ent->udma_mask	= adma_port_info[board_idx].udma_mask;	probe_ent->port_ops	= adma_port_info[board_idx].port_ops;	probe_ent->irq		= pdev->irq;	probe_ent->irq_flags	= SA_SHIRQ;	probe_ent->mmio_base	= mmio_base;	probe_ent->n_ports	= ADMA_PORTS;	for (port_no = 0; port_no < probe_ent->n_ports; ++port_no) {		adma_ata_setup_port(&probe_ent->port[port_no],			ADMA_ATA_REGS((unsigned long)mmio_base, port_no));	}	pci_set_master(pdev);	/* initialize adapter */	adma_host_init(board_idx, probe_ent);	rc = ata_device_add(probe_ent);	kfree(probe_ent);	if (rc != ADMA_PORTS)		goto err_out_iounmap;	return 0;err_out_iounmap:	pci_iounmap(pdev, mmio_base);err_out_regions:	pci_release_regions(pdev);err_out:	pci_disable_device(pdev);	return rc;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a9524a76f70f3343e4be27f95a7e92a8ba5f9009/pdc_adma.c/clean/drivers/scsi/pdc_adma.c