printk(KERN_INFO DRV_NAME "(%s): routed to hard irq line %d\n", pci_name(pdev), 
dev_printk(KERN_INFO, &pdev->dev, "routed to hard irq line %d\n", 
static void svia_configure(struct pci_dev *pdev){	u8 tmp8;	pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &tmp8);	printk(KERN_INFO DRV_NAME "(%s): routed to hard irq line %d\n",	       pci_name(pdev),	       (int) (tmp8 & 0xf0) == 0xf0 ? 0 : tmp8 & 0x0f);	/* make sure SATA channels are enabled */	pci_read_config_byte(pdev, SATA_CHAN_ENAB, &tmp8);	if ((tmp8 & ALL_PORTS) != ALL_PORTS) {		printk(KERN_DEBUG DRV_NAME "(%s): enabling SATA channels (0x%x)\n",		       pci_name(pdev), (int) tmp8);		tmp8 |= ALL_PORTS;		pci_write_config_byte(pdev, SATA_CHAN_ENAB, tmp8);	}	/* make sure interrupts for each channel sent to us */	pci_read_config_byte(pdev, SATA_INT_GATE, &tmp8);	if ((tmp8 & ALL_PORTS) != ALL_PORTS) {		printk(KERN_DEBUG DRV_NAME "(%s): enabling SATA channel interrupts (0x%x)\n",		       pci_name(pdev), (int) tmp8);		tmp8 |= ALL_PORTS;		pci_write_config_byte(pdev, SATA_INT_GATE, tmp8);	}	/* make sure native mode is enabled */	pci_read_config_byte(pdev, SATA_NATIVE_MODE, &tmp8);	if ((tmp8 & NATIVE_MODE_ALL) != NATIVE_MODE_ALL) {		printk(KERN_DEBUG DRV_NAME "(%s): enabling SATA channel native mode (0x%x)\n",		       pci_name(pdev), (int) tmp8);		tmp8 |= NATIVE_MODE_ALL;		pci_write_config_byte(pdev, SATA_NATIVE_MODE, tmp8);	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a9524a76f70f3343e4be27f95a7e92a8ba5f9009/sata_via.c/buggy/drivers/scsi/sata_via.c