patch-2.4.0-test2 linux/drivers/parport/parport_pc.c

Next file: linux/drivers/parport/procfs.c
Previous file: linux/drivers/parport/parport_amiga.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/parport/parport_pc.c linux/drivers/parport/parport_pc.c
@@ -2430,8 +2430,9 @@
                                         def.) */
 		/* TODO: test if sharing interrupts works */
 		printk (KERN_DEBUG "PCI parallel port detected: %04x:%04x, "
-			"I/O at %#lx(%#lx)\n", parport_pc_pci_tbl[i].vendor,
-			parport_pc_pci_tbl[i].device, io_lo, io_hi);
+			"I/O at %#lx(%#lx)\n",
+			parport_pc_pci_tbl[i + last_sio].vendor,
+			parport_pc_pci_tbl[i + last_sio].device, io_lo, io_hi);
 		if (parport_pc_probe_port (io_lo, io_hi, PARPORT_IRQ_NONE,
 					   PARPORT_DMA_NONE, dev))
 			count++;

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