patch-2.1.97 linux/drivers/block/ide-proc.c

Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/ide-pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/drivers/block/ide-proc.c linux/drivers/block/ide-proc.c
@@ -226,7 +226,7 @@
 						restore_flags(flags);
 						printk("proc_ide_write_config: error writing %s at bus %02x dev %02x reg 0x%x value 0x%x\n",
 							msg, dev->bus->number, dev->devfn, reg, val);
-						printk("proc_ide_write_config: %s\n", pcibios_strerror(rc));
+						printk("proc_ide_write_config: error %d\n", rc);
 						return -EIO;
 					}
 #endif	/* CONFIG_BLK_DEV_IDEPCI */
@@ -271,7 +271,7 @@
 		if (rc) {
 			printk("proc_ide_read_config: error reading bus %02x dev %02x reg 0x%02x\n",
 				dev->bus->number, dev->devfn, reg);
-			printk("proc_ide_read_config: %s\n", pcibios_strerror(rc));
+			printk("proc_ide_read_config: error %d\n", rc);
 			return -EIO;
 			out += sprintf(out, "??%c", (++reg & 0xf) ? ' ' : '\n');
 		} else

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov