patch-2.1.59 linux/drivers/block/ide-probe.c
Next file: linux/drivers/net/8390.h
Previous file: linux/arch/i386/kernel/i386_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Oct 17 15:51:08 1997
- Orig file:
v2.1.58/linux/drivers/block/ide-probe.c
- Orig date:
Tue Sep 23 16:48:47 1997
diff -u --recursive --new-file v2.1.58/linux/drivers/block/ide-probe.c linux/drivers/block/ide-probe.c
@@ -176,7 +176,7 @@
int rc;
ide_ioreg_t hd_status;
unsigned long timeout;
- int irqs = 0;
+ unsigned long irqs = 0;
if (!HWIF(drive)->irq) { /* already got an IRQ? */
probe_irq_off(probe_irq_on()); /* clear dangling irqs */
@@ -235,7 +235,7 @@
(void) GET_STAT(); /* clear drive IRQ */
} else { /* Mmmm.. multiple IRQs.. don't know which was ours */
- printk("%s: IRQ probe failed (%d)\n", drive->name, irqs);
+ printk("%s: IRQ probe failed (%ld)\n", drive->name, irqs);
#ifdef CONFIG_BLK_DEV_CMD640
#ifdef CMD640_DUMP_REGS
if (HWIF(drive)->chipset == ide_cmd640) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov