patch-2.4.6 linux/drivers/scsi/dmx3191d.c

Next file: linux/drivers/scsi/dmx3191d.h
Previous file: linux/drivers/scsi/cpqfcTSinit.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/drivers/scsi/dmx3191d.c linux/drivers/scsi/dmx3191d.c
@@ -59,7 +59,7 @@
 	struct pci_dev *pdev = NULL;
 
 	if (!pci_present()) {
-		dmx3191d_printk("PCI support not enabled\n");
+		printk(KERN_WARNING "dmx3191: PCI support not enabled\n");
 		return 0;
 	}
 
@@ -75,7 +75,7 @@
 		port = pci_resource_start (pdev, 0);
 		
 		if (!request_region(port, DMX3191D_REGION, DMX3191D_DRIVER_NAME)) {
-			dmx3191d_printk("region 0x%lx-0x%lx already reserved\n",
+			printk(KERN_ERR "dmx3191: region 0x%lx-0x%lx already reserved\n",
 				port, port + DMX3191D_REGION);
 			continue;
 		}
@@ -93,7 +93,7 @@
 
 		if (request_irq(pdev->irq, dmx3191d_do_intr, SA_SHIRQ,
 				DMX3191D_DRIVER_NAME, instance)) {
-			dmx3191d_printk("irq %d not available\n", pdev->irq);
+			printk(KERN_WARNING "dmx3191: IRQ %d not available - switching to polled mode.\n", pdev->irq);
 			/* Steam powered scsi controllers run without an IRQ
 			   anyway */
 			instance->irq = IRQ_NONE;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)